Forcing quartz_scheduler roles to append to pgpass file

parent 15125bec
......@@ -6,6 +6,19 @@
encoding='UTF-8'
become_user: postgres
- name: create password file on vagrant box
become: true
become_user: postgres
lineinfile:
dest: ~/.pgpass
state: present
create: yes
line: "{{ item }}"
mode: 0600
with_items:
- "#hostname:port:database:username:password"
- "localhost:5432:{{ db_name }}:{{ db_user }}:{{ db_user_pw }}"
- name: Copy Quartz Table Creation Script
become: true
become_user: postgres
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment