From 3815ca302abcab715960a62bd6d0c605eaa46250 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Wed, 1 May 2019 09:26:57 +0200 Subject: [PATCH] Invoke cloud-pre.yml from localhost in update-users --- users.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/users.yml b/users.yml index e33f04ec..9d2b21e3 100644 --- a/users.yml +++ b/users.yml @@ -40,6 +40,10 @@ {%- elif _ca_password.user_input %}{{ _ca_password.user_input }} {%- else %}omit{% endif %} + - name: Local pre-tasks + import_tasks: playbooks/cloud-pre.yml + become: false + - name: Add the server to the vpn-host group add_host: name: "{{ algo_server }}" @@ -61,10 +65,6 @@ tasks: - block: - - name: Local pre-tasks - import_tasks: playbooks/cloud-pre.yml - become: false - - import_role: name: common