From 656d472735549645a2d760c0e3df7c4dfec72244 Mon Sep 17 00:00:00 2001 From: akbarjimi Date: Wed, 5 May 2021 15:07:26 +0430 Subject: [PATCH] first commit --- playbook.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 playbook.yml 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