-
-
Save lordcirth/aeb81cb65d2d8a071ac5d06a8f04ba03 to your computer and use it in GitHub Desktop.
onlyif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Auth settings | |
postgres_pg_hba: | |
file.managed: | |
# TODO pillar | |
- name: '/etc/postgresql/12/test3/pg_hba.conf' | |
- source: 'salt://{{ tpldir }}/pg_hba.conf.jinja' | |
- mode: 0640 | |
- onlyif: | |
- 'stat /etc/postgresql/12/test3/' | |
- template: jinja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment