You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
272 B
12 lines
272 B
- name: update web servers
|
|
become: yes
|
|
hosts:
|
|
- 193.176.240.2
|
|
- 185.239.107.148
|
|
tasks:
|
|
- name: ensure apache is at the latest version
|
|
apt:
|
|
update_cache: y
|
|
dpkg_options: 'force-confnew,force-confdef'
|
|
name: apache2
|
|
state: latest
|