[mod] role:postgresql:minor stuff
This commit is contained in:
parent
3a69c74dcf
commit
e49223e043
1 changed files with 4 additions and 4 deletions
|
@ -10,13 +10,13 @@
|
|||
},
|
||||
{
|
||||
"name": "get version",
|
||||
"ansible.builtin.command": {
|
||||
"cmd": "ls /etc/postgresql"
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "ls /etc/postgresql | sort -n | tail -n 1"
|
||||
},
|
||||
"register": "temp_version_output"
|
||||
},
|
||||
{
|
||||
"name": "set port",
|
||||
"name": "config",
|
||||
"become": true,
|
||||
"ansible.builtin.template": {
|
||||
"src": "postgresql.conf.j2",
|
||||
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "restart service",
|
||||
"name": "apply",
|
||||
"become": true,
|
||||
"ansible.builtin.systemd_service": {
|
||||
"state": "restarted",
|
||||
|
|
Loading…
Add table
Reference in a new issue