ansible-scripts-home/README.md
2026-04-25 20:29:01 +02:00

30 lines
652 B
Markdown

# 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