diff --git a/examples/004_services/playbooks/stack_restart.yml b/examples/004_services/playbooks/stack_restart.yml index fbfb979..1df6489 100644 --- a/examples/004_services/playbooks/stack_restart.yml +++ b/examples/004_services/playbooks/stack_restart.yml @@ -15,4 +15,4 @@ become: true tasks: - name: reiniciar apache - service: name=apache2 state=restarted + service: name=apache2 state=restarted \ No newline at end of file diff --git a/examples/004_services/playbooks/stack_stopped.yml b/examples/004_services/playbooks/stack_stopped.yml index 88e2354..36a4ec4 100644 --- a/examples/004_services/playbooks/stack_stopped.yml +++ b/examples/004_services/playbooks/stack_stopped.yml @@ -15,4 +15,4 @@ become: true tasks: - name: parar apache - service: name=apache2 state=stopped + service: name=apache2 state=stopped \ No newline at end of file diff --git a/examples/006_notify_handlers/hosts b/examples/006_notify_handlers/hosts new file mode 100644 index 0000000..0432cdd --- /dev/null +++ b/examples/006_notify_handlers/hosts @@ -0,0 +1,8 @@ +[database] +192.168.11.20 + +[loadbalancer] +192.168.11.30 + +[webserver] +192.168.11.40 \ No newline at end of file diff --git a/examples/006_notify_handlers/webserver.yml b/examples/006_notify_handlers/webserver.yml index 6c7f752..8e9328c 100644 --- a/examples/006_notify_handlers/webserver.yml +++ b/examples/006_notify_handlers/webserver.yml @@ -7,7 +7,7 @@ with_items: - apache2 - libapache2-mod-wsgi-py3 - - python-pip-whl + - python3-pip-whl - python3-virtualenv - name: ensure apache2 started