Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
poc_irods
poc-irods
Commits
8fc73879
Commit
8fc73879
authored
Nov 10, 2020
by
viscapi
Browse files
Added name to lineinfile action
parent
4f6edb20
Changes
1
Hide whitespace changes
Inline
Side-by-side
postgresql/tasks/systemd.yml
View file @
8fc73879
...
...
@@ -12,13 +12,15 @@
name
:
postgresql
when
:
(ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "8")
-
lineinfile
:
-
name
:
Set PGDATA environment variable on CentOS
7
lineinfile
:
path
:
/usr/lib/systemd/system/postgresql-9.6.service
regexp
:
'
^Environment=PGDATA='
line
:
'
Environment=PGDATA={{path_to_icat}}'
when
:
(ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "7")
-
lineinfile
:
-
name
:
Set PGDATA environment variable on CentOS
8
lineinfile
:
path
:
/usr/lib/systemd/system/postgresql.service
regexp
:
'
^Environment=PGDATA='
line
:
'
Environment=PGDATA={{path_to_icat}}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment