From 9d1f56f39cd5d79dfd9778fcab2d07f3b2d0b47d Mon Sep 17 00:00:00 2001 From: Pedro Moura Date: Fri, 22 Sep 2023 15:51:49 -0300 Subject: [PATCH] add task to remove membership-map files in stg in proxies.yml Signed-off-by: Pedro Moura --- playbooks/groups/proxies.yml | 13 +++++++++++++ roles/membership-map/tasks/main.yml | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index 511c7b62c2..9a4febaf17 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -156,3 +156,16 @@ - name: make sure selinux contexts are right on srv command: restorecon -R /srv changed_when: false + +- name: Remove membership-map files + hosts: proxies_stg + user: root + gather_facts: True + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "/srv/private/ansible/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + roles: + - membership-map diff --git a/roles/membership-map/tasks/main.yml b/roles/membership-map/tasks/main.yml index 2456c0ac21..780ad692bc 100644 --- a/roles/membership-map/tasks/main.yml +++ b/roles/membership-map/tasks/main.yml @@ -41,6 +41,5 @@ - theme/default/style.css - mirrors.html - f-dot.png - - /var/www/mirrormanager-statistics/map tags: - cleanup \ No newline at end of file