copr-fe: fix creation of postgresql history file
This commit is contained in:
parent
00c619b151
commit
5184a2d111
1 changed files with 5 additions and 1 deletions
|
@ -133,6 +133,10 @@
|
|||
group: copr-fe
|
||||
mode: 0400
|
||||
|
||||
- stat: path="{{ copr_fe_homedir }}/.psql_history"
|
||||
register: history_file
|
||||
|
||||
- name: install pghistory file
|
||||
file: path="{{ copr_fe_homedir }}/.psql_history" state=file
|
||||
file: path="{{ copr_fe_homedir }}/.psql_history" state=touch
|
||||
owner=copr-fe group=ćopr-fe mode=0600
|
||||
when: not history_file.stat.exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue