mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
additional functions
This commit is contained in:
parent
97a00699b7
commit
91688324ce
10 changed files with 27 additions and 11 deletions
|
@ -25,7 +25,6 @@
|
|||
tags: [ 'digitalocean', 'ec2', 'gce' ]
|
||||
|
||||
roles:
|
||||
- { role: common, tags: [ 'vpn' ] }
|
||||
- { role: security, tags: [ 'security' ] }
|
||||
- { role: proxy, tags: [ 'proxy', 'adblock' ] }
|
||||
- { role: dns_adblocking, tags: ['dns', 'adblock' ] }
|
||||
|
|
|
@ -69,11 +69,6 @@
|
|||
groupname: vpn-host
|
||||
ansible_ssh_user: ubuntu
|
||||
ansible_python_interpreter: "/usr/bin/python2.7"
|
||||
dns_enabled: "{{ dns_enabled }}"
|
||||
proxy_enabled: "{{ proxy_enabled }}"
|
||||
ssh_tunneling_enabled: "{{ ssh_tunneling_enabled }}"
|
||||
security_enabled: "{{ security_enabled }}"
|
||||
auditd_enabled: " {{ auditd_enabled }}"
|
||||
easyrsa_p12_export_password: "{{ easyrsa_p12_export_password }}"
|
||||
cloud_provider: ec2
|
||||
ipv6_support: no
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
groups: vpn-host
|
||||
ansible_ssh_user: ubuntu
|
||||
ansible_python_interpreter: "/usr/bin/python2.7"
|
||||
dns_enabled: "{{ dns_enabled }}"
|
||||
proxy_enabled: "{{ proxy_enabled }}"
|
||||
ssh_tunneling_enabled: "{{ ssh_tunneling_enabled }}"
|
||||
auditd_enabled: " {{ auditd_enabled }}"
|
||||
security_enabled: "{{ security_enabled }}"
|
||||
easyrsa_p12_export_password: "{{ easyrsa_p12_export_password }}"
|
||||
cloud_provider: gce
|
||||
ipv6_support: no
|
||||
|
|
4
roles/dns_adblocking/meta/main.yml
Normal file
4
roles/dns_adblocking/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
4
roles/logging/meta/main.yml
Normal file
4
roles/logging/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
4
roles/proxy/meta/main.yml
Normal file
4
roles/proxy/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
4
roles/security/meta/main.yml
Normal file
4
roles/security/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
4
roles/ssh_tunneling/meta/main.yml
Normal file
4
roles/ssh_tunneling/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
|
@ -6,6 +6,9 @@
|
|||
|
||||
- name: restart apparmor
|
||||
service: name=apparmor state=restarted
|
||||
|
||||
- name: save iptables
|
||||
shell: service netfilter-persistent save
|
||||
|
||||
- name: congrats
|
||||
debug:
|
||||
|
|
4
roles/vpn/meta/main.yml
Normal file
4
roles/vpn/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- { role: common }
|
Loading…
Add table
Reference in a new issue