Skip to content

Commit

Permalink
sysctl tags (#373)
Browse files Browse the repository at this point in the history
* sysctl tags

* lost tag

---------

Co-authored-by: Gianni <[email protected]>
Co-authored-by: Gianni Carabelli <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2023
1 parent 70ddf7b commit 38e7733
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/prereq/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@
value: "1"
state: present
reload: yes
tags: sysctl

- name: Enable IPv6 forwarding
ansible.posix.sysctl:
name: net.ipv6.conf.all.forwarding
value: "1"
state: present
reload: yes
tags: sysctl

- name: Enable IPv6 router advertisements
ansible.posix.sysctl:
name: net.ipv6.conf.all.accept_ra
value: "2"
state: present
reload: yes
tags: sysctl

- name: Add br_netfilter to /etc/modules-load.d/
copy:
Expand All @@ -53,6 +56,7 @@
loop:
- net.bridge.bridge-nf-call-iptables
- net.bridge.bridge-nf-call-ip6tables
tags: sysctl

- name: Add /usr/local/bin to sudo secure_path
lineinfile:
Expand Down

0 comments on commit 38e7733

Please sign in to comment.