Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
c212c491
Commit
c212c491
authored
Sep 30, 2015
by
Alain Takoudjou
Browse files
Options
Browse Files
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 @@
...
@@ -11,6 +11,18 @@
stat
:
path=/etc/re6stnet/re6stnet.conf
stat
:
path=/etc/re6stnet/re6stnet.conf
register
:
recheck_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
-
name
:
Start re6st-node service
service
:
name=re6st-node state=started enabled=yes
service
:
name=re6st-node state=started enabled=yes
when
:
recheck_re6stnet_conf.stat.exists == True
when
:
recheck_re6stnet_conf.stat.exists == True
\ No newline at end of file
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