copr-be-dev-aws: test ansible PG plugin #5
Relates: https://pagure.io/fedora-infrastructure/issue/8675
This commit is contained in:
parent
67cb33d299
commit
30633a0f69
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
hosts: copr_back_dev_aws
|
hosts: copr_back_dev_aws
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
become: false
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -10,9 +11,9 @@
|
||||||
- /srv/private/ansible/files/openstack/passwords.yml
|
- /srv/private/ansible/files/openstack/passwords.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: touch something in homedir
|
- name: try become with potsgres ansible plugin
|
||||||
shell: touch ~/test.touch
|
postgresql_db: name="coprdb" encoding='UTF-8'
|
||||||
become: yes
|
become: true
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
|
|
||||||
- name: check/create instance
|
- name: check/create instance
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue