copr-be-dev-aws: test ansible PG plugin #4
Seems like become doesn't work. Relates https://pagure.io/fedora-infrastructure/issue/8675
This commit is contained in:
parent
e0474a9857
commit
59d7020c0f
1 changed files with 7 additions and 6 deletions
|
@ -2,17 +2,18 @@
|
|||
hosts: copr_back_dev_aws
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- /srv/private/ansible/vars.yml
|
||||
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
- /srv/private/ansible/files/openstack/passwords.yml
|
||||
|
||||
tasks:
|
||||
- name: touch something in homedir
|
||||
shell: touch ~/test.touch
|
||||
become: yes
|
||||
become_user: praiskup
|
||||
|
||||
- name: Create db
|
||||
postgresql_db: name="coprdb" encoding='UTF-8'
|
||||
become: yes
|
||||
become_user: praiskup
|
||||
become_user: postgres
|
||||
|
||||
- name: check/create instance
|
||||
hosts: copr_back_dev:copr_back_stg:copr_back:copr_back_dev_aws:copr_back_aws
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue