From efc8dc7620bc8692c8bd27f3b79fa8cd18d1bdaf Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Sun, 14 Oct 2018 10:22:45 +0300 Subject: [PATCH] add tags for the wireguard qr code task. variables fix (#1147) --- roles/vpn/tasks/openssl.yml | 2 ++ roles/wireguard/tasks/main.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/roles/vpn/tasks/openssl.yml b/roles/vpn/tasks/openssl.yml index a817597..3a286be 100644 --- a/roles/vpn/tasks/openssl.yml +++ b/roles/vpn/tasks/openssl.yml @@ -196,6 +196,8 @@ executable: bash delegate_to: localhost become: no + vars: + ansible_python_interpreter: "{{ ansible_playbook_python }}" - name: Copy the CRL to the vpn server copy: diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml index dacedb5..f52183d 100644 --- a/roles/wireguard/tasks/main.yml +++ b/roles/wireguard/tasks/main.yml @@ -52,6 +52,9 @@ with_indexed_items: "{{ users }}" delegate_to: localhost become: false + tags: update-users + vars: + ansible_python_interpreter: "{{ ansible_playbook_python }}" args: chdir: "{{ wireguard_config_path }}" executable: bash