From fa649f5521df7ac48fec8c80870fcae9a10c98e6 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 27 Apr 2020 15:24:58 +0200 Subject: [PATCH] openvpn: add some tags. --- library/roles/openvpn/tasks/openvpn.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/roles/openvpn/tasks/openvpn.yml b/library/roles/openvpn/tasks/openvpn.yml index b16cd241..0f17e557 100644 --- a/library/roles/openvpn/tasks/openvpn.yml +++ b/library/roles/openvpn/tasks/openvpn.yml @@ -37,7 +37,7 @@ notify: Reload OpenVPN when: openvpn_ldap_auth - tags: [ 'openvpn', 'openvpn_ldap' ] + tags: [ 'openvpn', 'openvpn_ldap', 'openvpn_basic_conf' ] - block: - name: Remove the LDAP auth configuration file if LDAP is not used @@ -45,7 +45,7 @@ notify: Reload OpenVPN when: not openvpn_ldap_auth - tags: [ 'openvpn', 'openvpn_ldap' ] + tags: [ 'openvpn', 'openvpn_ldap', 'openvpn_basic_conf' ] - block: - name: Install the perl libraries needed by the LDAP client authentication script @@ -61,7 +61,7 @@ - name: Install the main OpenVPN configuration file on the servers template: src=server.conf.j2 dest={{ openvpn_conf_dir }}/{{ openvpn_conf_name }} owner=root group={{ openvpn_unprivileged_group }} mode=0440 notify: Restart OpenVPN - tags: [ 'openvpn', 'openvpn_conf', 'openvpn_conf_file' ] + tags: [ 'openvpn', 'openvpn_conf', 'openvpn_conf_file', 'openvpn_basic_conf' ] - name: Install the custom configuration for specific OpenVPN users in the servers template: src=user-ccd.conf.j2 dest={{ openvpn_conf_dir }}/ccd/{{ item.cn }} owner=root group={{ openvpn_unprivileged_group }} mode=0440