use become for logdetective
This commit is contained in:
parent
c591394e66
commit
99c6d88b9d
1 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: logdetective
|
hosts: logdetective
|
||||||
user: root
|
become: True
|
||||||
|
become_user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -41,7 +42,8 @@
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: logdetective
|
hosts: logdetective
|
||||||
user: root
|
become: True
|
||||||
|
become_user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue