diff options
author | Paul B <paul+gh@bonaud.fr> | 2019-05-03 10:59:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-03 10:59:19 +0200 |
commit | c6719a82860c7855fb749f98734fe17c38c2fe78 (patch) | |
tree | 214db2306ef4a929da043d0209ca70bde78ee28b /tasks/postgres-database-extensions.yml | |
parent | 0c83dd00b4110d55b1602ca8d732a8cb414cfd0a (diff) | |
parent | 29f3186f165565e03b3b091523f8b682be99404a (diff) | |
download | ansible-postgresql-role-c6719a82860c7855fb749f98734fe17c38c2fe78.tar.gz ansible-postgresql-role-c6719a82860c7855fb749f98734fe17c38c2fe78.tar.zst ansible-postgresql-role-c6719a82860c7855fb749f98734fe17c38c2fe78.zip |
Merge pull request #9 from chtitux/become-method
Allow to use any ansible become method
Diffstat (limited to 'tasks/postgres-database-extensions.yml')
-rw-r--r-- | tasks/postgres-database-extensions.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/postgres-database-extensions.yml b/tasks/postgres-database-extensions.yml index edc4e8d..58585c0 100644 --- a/tasks/postgres-database-extensions.yml +++ b/tasks/postgres-database-extensions.yml | |||
@@ -13,7 +13,7 @@ | |||
13 | - name: "CREATE EXTENSION on database {{ postgres_dbname }}" | 13 | - name: "CREATE EXTENSION on database {{ postgres_dbname }}" |
14 | become: true | 14 | become: true |
15 | become_user: postgres | 15 | become_user: postgres |
16 | become_method: su | 16 | become_method: "{{ postgres_become_method }}" |
17 | postgresql_ext: | 17 | postgresql_ext: |
18 | name: "{{ postgres_extension_name }}" | 18 | name: "{{ postgres_extension_name }}" |
19 | db: "{{ postgres_dbname }}" | 19 | db: "{{ postgres_dbname }}" |