Invoke cloud-pre.yml from localhost in update-users

This commit is contained in:
Jack Ivanov 2019-05-01 09:26:57 +02:00
parent 78a6a3e90a
commit 3815ca302a

View file

@ -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