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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.package
Commits
79aad680
Commit
79aad680
authored
Jan 14, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re6st-node.service has been renamed to re6stnet.service
parent
d6778722
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
playbook/imt-re6stnet.yml
playbook/imt-re6stnet.yml
+2
-2
playbook/roles/re6stnet/tasks/main.yml
playbook/roles/re6stnet/tasks/main.yml
+2
-14
No files found.
playbook/imt-re6stnet.yml
View file @
79aad680
...
...
@@ -36,8 +36,8 @@
lineinfile
:
dest=/etc/re6stnet/re6stnet.conf line="interface {{ lan_iface_name }}"
when
:
interface_name != "noname"
-
name
:
restart re6st
-node
service
service
:
name=re6st
-node
state=restarted enabled=yes
-
name
:
restart re6st
net
service
service
:
name=re6st
net
state=restarted enabled=yes
roles
:
-
re6stnet
playbook/roles/re6stnet/tasks/main.yml
View file @
79aad680
...
...
@@ -11,18 +11,6 @@
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
-
name
:
Start re6stnet service
service
:
name=re6stnet state=started enabled=yes
when
:
recheck_re6stnet_conf.stat.exists == True
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