[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
|
- name: check/create instance
|
||||||
hosts: copr-dist-git-stg:copr-dist-git
|
hosts: copr-dist-git-stg:copr-dist-git
|
||||||
user: centos
|
user: root
|
||||||
sudo: True
|
#user: centos
|
||||||
|
#sudo: True
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
@ -17,9 +18,9 @@
|
||||||
|
|
||||||
- name: cloud basic setup
|
- name: cloud basic setup
|
||||||
hosts: copr-dist-git-stg:copr-dist-git
|
hosts: copr-dist-git-stg:copr-dist-git
|
||||||
# hosts: copr-keygen
|
user: root
|
||||||
user: centos
|
#user: centos
|
||||||
sudo: True
|
#sudo: True
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -32,8 +33,9 @@
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: copr-dist-git-stg:copr-dist-git
|
hosts: copr-dist-git-stg:copr-dist-git
|
||||||
user: centos
|
user: root
|
||||||
sudo: True
|
# user: centos
|
||||||
|
# sudo: True
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue