Skip to content

Instantly share code, notes, and snippets.

@drybjed
Created August 1, 2014 11:01
Show Gist options
  • Save drybjed/0358d3027ba088dab90e to your computer and use it in GitHub Desktop.
Save drybjed/0358d3027ba088dab90e to your computer and use it in GitHub Desktop.
- name: Update default postgres password
postgresql_user:
name: 'postgres'
password: '{{ item.postgres_password | default(postgresql_default_postgres_password) }}'
encrypted: False
port: '{{ item.port }}'
state: 'present'
with_items: postgresql_default_cluster + postgresql_clusters
sudo_user: 'postgres'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment