From ee789bef1e1c8f1bbe50559aa6da0c986c88d821 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Tue, 18 Jun 2024 11:35:51 +0200 Subject: [PATCH] Include role_deploy_dovecot. --- deploy_ovh_instance.yml | 6 ++++++ roles/role_deploy_dovecot/tasks/main.yml | 1 - roles/role_deploy_openvpn-server/tasks/main.yml | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy_ovh_instance.yml b/deploy_ovh_instance.yml index 1096606..6ac373d 100644 --- a/deploy_ovh_instance.yml +++ b/deploy_ovh_instance.yml @@ -179,3 +179,9 @@ tags: deploy_onlyoffice tags: deploy_onlyoffice + - name: Include role_deploy_dovecot + ansible.builtin.include_role: + name: role_deploy_dovecot + apply: + tags: deploy_dovecot + tags: deploy_dovecot diff --git a/roles/role_deploy_dovecot/tasks/main.yml b/roles/role_deploy_dovecot/tasks/main.yml index f0fe551..3b3e47c 100644 --- a/roles/role_deploy_dovecot/tasks/main.yml +++ b/roles/role_deploy_dovecot/tasks/main.yml @@ -67,7 +67,6 @@ version: master force: true changed_when: false - become: true when: not dovecot_installed_flag.stat.exists - name: Copy config diff --git a/roles/role_deploy_openvpn-server/tasks/main.yml b/roles/role_deploy_openvpn-server/tasks/main.yml index 4b1ebbd..6109d2d 100644 --- a/roles/role_deploy_openvpn-server/tasks/main.yml +++ b/roles/role_deploy_openvpn-server/tasks/main.yml @@ -24,7 +24,6 @@ version: master force: true changed_when: false - become: true - name: Copy openvpn config ansible.builtin.copy: