commit 656d472735549645a2d760c0e3df7c4dfec72244 Author: akbarjimi Date: Wed May 5 15:07:26 2021 +0430 first commit diff --git a/playbook.yml b/playbook.yml new file mode 100644 index 0000000..5f71d6b --- /dev/null +++ b/playbook.yml @@ -0,0 +1,12 @@ +- 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