Initial commit

This commit is contained in:
Frédéric CAMPO 2026-04-25 20:00:25 +02:00
commit 3d0d6c61ec
Signed by: llowin
GPG key ID: 19EACF0560706F99
10 changed files with 246 additions and 0 deletions

30
README.md Normal file
View 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