mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Enable default values if the role is skipped #313
This commit is contained in:
parent
578bb3344d
commit
c0f4b5fa41
3 changed files with 7 additions and 9 deletions
|
@ -10,9 +10,8 @@
|
|||
- bash
|
||||
- wget
|
||||
sysctl:
|
||||
forwarding:
|
||||
- net.inet.ip.forwarding
|
||||
- net.inet6.ip6.forwarding
|
||||
- net.inet.ip.forwarding
|
||||
- net.inet6.ip6.forwarding
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
- name: Install tools
|
||||
package: name="{{ item }}" state=present
|
||||
with_items:
|
||||
- "{{ tools }}"
|
||||
- "{{ tools|default([]) }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Enable packet forwarding for IPv4
|
||||
sysctl: name="{{ item }}" value=1
|
||||
with_items:
|
||||
- "{{ sysctl.forwarding }}"
|
||||
- "{{ sysctl|default([]) }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
|
@ -83,9 +83,8 @@
|
|||
- cgroup-tools
|
||||
- openssl
|
||||
sysctl:
|
||||
forwarding:
|
||||
- net.ipv4.ip_forward
|
||||
- net.ipv4.conf.all.forwarding
|
||||
- net.ipv6.conf.all.forwarding
|
||||
- net.ipv4.ip_forward
|
||||
- net.ipv4.conf.all.forwarding
|
||||
- net.ipv6.conf.all.forwarding
|
||||
tags:
|
||||
- always
|
||||
|
|
Loading…
Add table
Reference in a new issue