暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

postgres.yml 372B

123456789101112131415
  1. ---
  2. # Defines tasks applicable for postgreSQL
  3. - name: Install Postgres
  4. apt: pkg={{ item }} state=installed
  5. with_items:
  6. - postgresql
  7. - python-psycopg2
  8. tags:
  9. - dependencies
  10. - name: Set password for PostgreSQL admin user
  11. become: true
  12. become_user: postgres
  13. postgresql_user: name={{ db_admin_username }} password={{ db_admin_password }} encrypted=yes