[copr][dist-git] don't use sudo in playbook
This commit is contained in:
parent
a376457837
commit
9a00fd92a0
1 changed files with 9 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
|||
- name: check/create instance
|
||||
hosts: copr-dist-git-stg:copr-dist-git
|
||||
user: centos
|
||||
sudo: True
|
||||
user: root
|
||||
#user: centos
|
||||
#sudo: True
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
|
@ -17,9 +18,9 @@
|
|||
|
||||
- name: cloud basic setup
|
||||
hosts: copr-dist-git-stg:copr-dist-git
|
||||
# hosts: copr-keygen
|
||||
user: centos
|
||||
sudo: True
|
||||
user: root
|
||||
#user: centos
|
||||
#sudo: True
|
||||
gather_facts: True
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -32,8 +33,9 @@
|
|||
|
||||
- name: provision instance
|
||||
hosts: copr-dist-git-stg:copr-dist-git
|
||||
user: centos
|
||||
sudo: True
|
||||
user: root
|
||||
# user: centos
|
||||
# sudo: True
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue