Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
fuss-server
Commits
25758b04
Verified
Commit
25758b04
authored
Dec 28, 2021
by
Marco Marinello
Browse files
Use template instead
parent
8ffb67aa
Pipeline
#160
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible/roles/common/tasks/main.yml
View file @
25758b04
...
...
@@ -18,21 +18,14 @@
---
-
name
:
Create file for sysctl rule to disable IPv6 (if required)
fil
e
:
path
:
/etc/sysctl.d/
99-fuss-disable-ipv6.conf
state
:
file
templat
e
:
src
:
99-fuss-disable-ipv6.conf
dest
:
/etc/sysctl.d/99-fuss-disable-ipv6.conf
owner
:
root
group
:
root
mode
:
'
0644'
when
:
disable_ipv6 is defined and disable_ipv6
-
name
:
Add a line in sysctl file to disable IPv6 (if required)
lineinfile
:
path
:
/etc/sysctl.d/99-fuss-disable-ipv6.conf
line
:
'
net.ipv6.conf.all.disable_ipv6
=
1'
state
:
present
when
:
disable_ipv6 is defined and disable_ipv6
-
name
:
Clean package list
debug
:
with_lines
:
...
...
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