Replace nf_conntrack modules line instead of adding it

parent 6abaeb65
......@@ -38,6 +38,7 @@
lineinfile:
dest: /etc/modules
line: nf_conntrack
regexp: '^nf_conntrack'
- name: Copy sysctl file for conntrack
copy:
......
......@@ -9,6 +9,7 @@
lineinfile:
dest: /etc/modules
line: nf_conntrack
regexp: '^nf_conntrack'
- name: Setting hostname
hostname:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment