Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Łukasz Nowak
slapos.package
Commits
c212c491
Commit
c212c491
authored
9 years ago
by
Alain Takoudjou
Browse files
Options
Download
Email Patches
Plain Diff
re6st playbook: fix re6st-node service installation path for CentOS 7
parent
8f16b9c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
playbook/roles/re6stnet/tasks/main.yml
playbook/roles/re6stnet/tasks/main.yml
+13
-1
No files found.
playbook/roles/re6stnet/tasks/main.yml
View file @
c212c491
...
...
@@ -11,6 +11,18 @@
stat
:
path=/etc/re6stnet/re6stnet.conf
register
:
recheck_re6stnet_conf
-
name
:
stat re6stnet.service
stat
:
path=/etc/systemd/re6stnet.service
register
:
re6stnet
-
name
:
stat re6st-node.service
stat
:
path=/etc/systemd/system/re6st-node.service
register
:
re6stnode
-
name
:
set re6st-node.service file
copy
:
src=/etc/systemd/re6stnet.service dest=/etc/systemd/system/re6st-node.service
when
:
ansible_distribution == 'CentOS' and ansible_distribution_version >= '7' and re6stnet.stat.exists == True and re6stnode.stat.exists == False
-
name
:
Start re6st-node service
service
:
name=re6st-node state=started enabled=yes
when
:
recheck_re6stnet_conf.stat.exists == True
\ No newline at end of file
when
:
recheck_re6stnet_conf.stat.exists == True
This diff is collapsed.
Click to expand it.
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