Skip to content

Commit

Permalink
Merge pull request #191 from joshavant/respect-ipv6_disable-mechanism
Browse files Browse the repository at this point in the history
Respect ipv6_disable mechanism
  • Loading branch information
uk-bolly authored Jan 26, 2024
2 parents 71ac3d9 + 504eb15 commit 6328cf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tasks/section_3/cis_3.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
state: present
reload: true
ignoreerrors: true
when: ubtu22cis_ipv6_disable == 'sysctl'
notify:
- Flush ipv6 route table

Expand Down
2 changes: 2 additions & 0 deletions tasks/section_3/cis_3.3.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
state: present
reload: true
ignoreerrors: true
when: ubtu22cis_ipv6_disable == 'sysctl'
with_items:
- net.ipv6.conf.all.accept_source_route
- net.ipv6.conf.default.accept_source_route
Expand Down Expand Up @@ -66,6 +67,7 @@
state: present
reload: true
ignoreerrors: true
when: ubtu22cis_ipv6_disable == 'sysctl'
with_items:
- net.ipv6.conf.all.accept_redirects
- net.ipv6.conf.default.accept_redirects
Expand Down

0 comments on commit 6328cf2

Please sign in to comment.