restore sudo
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
hosts: lxc
|
hosts: lxc
|
||||||
connection: "{{ ansible_connection_type | default('local') }}"
|
connection: "{{ ansible_connection_type | default('local') }}"
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
become: true
|
||||||
vars_files:
|
vars_files:
|
||||||
- ./vault.yaml
|
- ./vault.yaml
|
||||||
|
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
--vault-password-file /root/vault.pass
|
--vault-password-file /root/vault.pass
|
||||||
-e confirm_restore=true
|
-e confirm_restore=true
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
become: false
|
||||||
when: not apps_docker_dir.stat.exists or not apps_data_dir.stat.exists
|
when: not apps_docker_dir.stat.exists or not apps_data_dir.stat.exists
|
||||||
|
|
||||||
- name: Copy docker-compose.yml from repo
|
- name: Copy docker-compose.yml from repo
|
||||||
|
|||||||
Reference in New Issue
Block a user