Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
4c4e7e45
Commit
4c4e7e45
authored
3 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
removing one changed on service IPtables restarted
parent
414c5b4f
No related branches found
No related tags found
1 merge request
!460
Upcoming maintenance
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/nat_server/tasks/main.yml
+4
-2
4 additions, 2 deletions
roles/nat_server/tasks/main.yml
with
4 additions
and
2 deletions
roles/nat_server/tasks/main.yml
+
4
−
2
View file @
4c4e7e45
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
when
:
sys_conf.changed
when
:
sys_conf.changed
-
name
:
Install keepalived
-
name
:
Install keepalived
yum
:
package
:
name
:
keepalived
name
:
keepalived
state
:
present
state
:
present
become
:
true
become
:
true
...
@@ -72,6 +72,7 @@
...
@@ -72,6 +72,7 @@
template
:
dest=/etc/systemd/system/keepalived.service src=keepalived.service.j2
template
:
dest=/etc/systemd/system/keepalived.service src=keepalived.service.j2
become
:
true
become
:
true
become_user
:
root
become_user
:
root
register
:
keepalivedconfig
-
name
:
Enable and start keepalived
-
name
:
Enable and start keepalived
service
:
service
:
...
@@ -80,6 +81,7 @@
...
@@ -80,6 +81,7 @@
enabled
:
yes
enabled
:
yes
become
:
true
become
:
true
become_user
:
root
become_user
:
root
when
:
keepalivedconfig.changed
-
name
:
Restart iptables service
-
name
:
Restart iptables service
service
:
service
:
...
@@ -87,4 +89,4 @@
...
@@ -87,4 +89,4 @@
state
:
restarted
state
:
restarted
become
:
true
become
:
true
become_user
:
root
become_user
:
root
when
:
keepalivedconfig.changed
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment