This commit is contained in:
2026-05-12 17:48:29 +02:00
parent 0ef9103ec3
commit 52e636b8e5
4 changed files with 11 additions and 3 deletions

View File

@@ -15,4 +15,4 @@
become: true become: true
tasks: tasks:
- name: reiniciar apache - name: reiniciar apache
service: name=apache2 state=restarted service: name=apache2 state=restarted

View File

@@ -15,4 +15,4 @@
become: true become: true
tasks: tasks:
- name: parar apache - name: parar apache
service: name=apache2 state=stopped service: name=apache2 state=stopped

View File

@@ -0,0 +1,8 @@
[database]
192.168.11.20
[loadbalancer]
192.168.11.30
[webserver]
192.168.11.40

View File

@@ -7,7 +7,7 @@
with_items: with_items:
- apache2 - apache2
- libapache2-mod-wsgi-py3 - libapache2-mod-wsgi-py3
- python-pip-whl - python3-pip-whl
- python3-virtualenv - python3-virtualenv
- name: ensure apache2 started - name: ensure apache2 started