1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #10415 from dagwieers/patch-4

Make the example somewhat more feature complete
This commit is contained in:
Brian Coca 2015-03-09 11:40:51 -04:00
commit d5164e9e88

View file

@ -67,8 +67,8 @@ For starters, here's a playbook that contains just one play::
template: src=/srv/httpd.j2 dest=/etc/httpd.conf template: src=/srv/httpd.j2 dest=/etc/httpd.conf
notify: notify:
- restart apache - restart apache
- name: ensure apache is running - name: ensure apache is running (and enable it at boot)
service: name=httpd state=started service: name=httpd state=started enabled=yes
handlers: handlers:
- name: restart apache - name: restart apache
service: name=httpd state=restarted service: name=httpd state=restarted