diff options
author | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2019-05-02 17:34:44 +0200 |
---|---|---|
committer | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2019-05-02 17:34:44 +0200 |
commit | 29f3186f165565e03b3b091523f8b682be99404a (patch) | |
tree | 214db2306ef4a929da043d0209ca70bde78ee28b /defaults | |
parent | 0c83dd00b4110d55b1602ca8d732a8cb414cfd0a (diff) | |
download | ansible-postgresql-role-29f3186f165565e03b3b091523f8b682be99404a.tar.gz ansible-postgresql-role-29f3186f165565e03b3b091523f8b682be99404a.tar.zst ansible-postgresql-role-29f3186f165565e03b3b091523f8b682be99404a.zip |
Allow to use any ansible become method
The variable can be set to 'sudo' if ansible uses sudo
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 190ce5f..5876e94 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -7,6 +7,8 @@ postgres_clusters: [] | |||
7 | # postgres_pgbadger_server: ~ | 7 | # postgres_pgbadger_server: ~ |
8 | postgres_backup_enabled: false | 8 | postgres_backup_enabled: false |
9 | postgres_barman_rsync_enabled: false | 9 | postgres_barman_rsync_enabled: false |
10 | |||
11 | postgres_become_method: su | ||
10 | #------------------------------------------------------------# | 12 | #------------------------------------------------------------# |
11 | #------------ Postgresql Configuration defaults -------------# | 13 | #------------ Postgresql Configuration defaults -------------# |
12 | #- WARNING: defaults can change with major version upgrades -# | 14 | #- WARNING: defaults can change with major version upgrades -# |