From 3b9ad5c89da837fe92859aa0bc401473dd5738e5 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Wed, 16 Sep 2020 10:25:15 +0200 Subject: [PATCH] =?UTF-8?q?rajout=20d=C3=A9pendance=20-=20CentOS8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 10_premier_playbook/apache.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/10_premier_playbook/apache.yml b/10_premier_playbook/apache.yml index ab64b00..1491b57 100644 --- a/10_premier_playbook/apache.yml +++ b/10_premier_playbook/apache.yml @@ -1,6 +1,13 @@ --- - name: install apache via ansible playbook hosts: all + pre_tasks: + - name: install necessary packages + yum: + name: + - python3-firewalld + state: present + tasks: - name: install apache yum: