From 44be43e528f3162c93e587e7a845162481e27cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoha=C3=AF-Eliel=20BERREBY?= Date: Thu, 7 May 2020 19:57:00 +0200 Subject: [PATCH] aurore-firewall: add config after cloning --- roles/aurore-firewall/tasks/main.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/roles/aurore-firewall/tasks/main.yml b/roles/aurore-firewall/tasks/main.yml index a6bb7e7..44d10d1 100644 --- a/roles/aurore-firewall/tasks/main.yml +++ b/roles/aurore-firewall/tasks/main.yml @@ -1,11 +1,5 @@ --- -- name: Configure aurore-firewall - template: - src: firewall_config.py - dest: /var/local/re2o-services/aurore-firewall/firewall_config.py - mode: 0644 - -- name: Install corresponding re2o service +- name: Install aurore-firewall (re2o-service) import_role: name: re2o-service vars: @@ -16,3 +10,10 @@ hostname: re2o.auro.re username: service-user password: "{{ vault_serviceuser_passwd }}" + + +- name: Configure aurore-firewall + template: + src: firewall_config.py + dest: /var/local/re2o-services/aurore-firewall/firewall_config.py + mode: 0644