Browse Source

Update 'playbook.yml'

main
Mohammad Akbari 4 years ago
parent
commit
7c5168c54c
  1. 5
      playbook.yml

5
playbook.yml

@ -1,12 +1,11 @@
- name: update web servers - name: update web servers
become: yes become: yes
hosts: hosts:
- 193.176.240.2
- 185.239.107.148
- 130.185.120.60
tasks: tasks:
- name: ensure apache is at the latest version - name: ensure apache is at the latest version
apt: apt:
update_cache: y update_cache: y
dpkg_options: 'force-confnew,force-confdef' dpkg_options: 'force-confnew,force-confdef'
name: apache2
name: firefox
state: latest state: latest
Loading…
Cancel
Save