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

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

View file

@ -2,14 +2,18 @@
hosts: copr_back_dev_aws
user: root
gather_facts: True
become: false
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
vars:
ansible_become: false
ansible_become_user: root
ansible_become_method: sudo
tasks:
- name: try become with potsgres ansible plugin
postgresql_db: name="coprdb" encoding='UTF-8'