Initial commit
This commit is contained in:
commit
3d0d6c61ec
10 changed files with 246 additions and 0 deletions
30
README.md
Normal file
30
README.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# ansible-scripts-home
|
||||
###### by Frédéric CAMPO <contact@hebergemoi.fr>
|
||||
|
||||
## TODO:
|
||||
- Setup the default reverse proxy virtual host (template is ready default-reverse.j2)
|
||||
- Idiotproofing the playbook (setting up default values everywhere)
|
||||
|
||||
## 1. Installation
|
||||
From the repository folder :
|
||||
```bash
|
||||
ansible-galaxy install -r requirements.yaml
|
||||
```
|
||||
|
||||
## 2. Create your hosts vars file.
|
||||
Example file:
|
||||
|
||||
playbooks/host_vars/webserver.yml
|
||||
```yaml
|
||||
site:
|
||||
(virtual host fqdn):
|
||||
enabled: true
|
||||
upstream: '127.0.0.1:8080'
|
||||
tls: true
|
||||
(other virtual host fqdn):
|
||||
enabled: true
|
||||
upstream: '127.0.0.1:12700'
|
||||
tls: true
|
||||
```
|
||||
|
||||
## 3. Launch the playbook
|
||||
Loading…
Add table
Add a link
Reference in a new issue