copr-be-dev-aws: test ansible PG plugin #5

Relates: https://pagure.io/fedora-infrastructure/issue/8675
This commit is contained in:
Pavel Raiskup 2020-02-22 10:43:45 +01:00 committed by Pierre-Yves Chibon
parent 67cb33d299
commit 30633a0f69

View file

@ -2,6 +2,7 @@
hosts: copr_back_dev_aws
user: root
gather_facts: True
become: false
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -10,9 +11,9 @@
- /srv/private/ansible/files/openstack/passwords.yml
tasks:
- name: touch something in homedir
shell: touch ~/test.touch
become: yes
- name: try become with potsgres ansible plugin
postgresql_db: name="coprdb" encoding='UTF-8'
become: true
become_user: postgres
- name: check/create instance