mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
revert systemd changes (2.2 only), identation normalization;
This commit is contained in:
parent
3e9c712068
commit
50f43dc601
5 changed files with 11 additions and 11 deletions
|
@ -7,7 +7,7 @@
|
|||
- name: Dnsmasq profile for apparmor configured
|
||||
template: src=usr.sbin.dnsmasq.j2 dest=/etc/apparmor.d/usr.sbin.dnsmasq owner=root group=root mode=0600
|
||||
notify:
|
||||
- restart dnsmasq
|
||||
- restart dnsmasq
|
||||
|
||||
- name: The dnsmasq directory created
|
||||
file: dest=/var/lib/dnsmasq state=directory mode=755 owner=dnsmasq group=nogroup
|
||||
|
@ -18,7 +18,7 @@
|
|||
- name: Dnsmasq configured
|
||||
template: src=dnsmasq.conf.j2 dest=/etc/dnsmasq.conf
|
||||
notify:
|
||||
- restart dnsmasq
|
||||
- restart dnsmasq
|
||||
|
||||
- name: Adblock script created
|
||||
template: src=adblock.sh dest=/opt/adblock.sh owner=root group=root mode=0755
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
- name: Privoxy profile for apparmor configured
|
||||
template: src=usr.sbin.privoxy.j2 dest=/etc/apparmor.d/usr.sbin.privoxy owner=root group=root mode=0600
|
||||
notify:
|
||||
- restart privoxy
|
||||
- restart privoxy
|
||||
|
||||
- name: Enforce the privoxy AppArmor policy
|
||||
shell: aa-enforce usr.sbin.privoxy
|
||||
|
@ -36,7 +36,7 @@
|
|||
- name: PageSpeed configured
|
||||
template: src=pagespeed.conf.j2 dest=/etc/apache2/mods-available/pagespeed.conf
|
||||
notify:
|
||||
- restart apache2
|
||||
- restart apache2
|
||||
|
||||
- name: Modules enabled
|
||||
apache2_module: state=present name="{{ item }}"
|
||||
|
@ -48,14 +48,14 @@
|
|||
- proxy_html
|
||||
- rewrite
|
||||
notify:
|
||||
- restart apache2
|
||||
- restart apache2
|
||||
|
||||
- name: VirtualHost configured for the PageSpeed module
|
||||
template: src=000-default.conf.j2 dest=/etc/apache2/sites-enabled/000-default.conf
|
||||
notify:
|
||||
- restart apache2
|
||||
- restart apache2
|
||||
|
||||
- name: Apache ports configured
|
||||
template: src=ports.conf.j2 dest=/etc/apache2/ports.conf
|
||||
notify:
|
||||
- restart apache2
|
||||
- restart apache2
|
||||
|
|
|
@ -99,4 +99,4 @@
|
|||
- { src: rules.v4.j2, dest: /etc/iptables/rules.v4 }
|
||||
- { src: rules.v6.j2, dest: /etc/iptables/rules.v6 }
|
||||
notify:
|
||||
- restart iptables
|
||||
- restart iptables
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: restart strongswan
|
||||
systemd: name=strongswan state=restarted daemon_reload=yes
|
||||
service: name=strongswan state=restarted daemon_reload=yes
|
||||
|
||||
- name: restart apparmor
|
||||
service: name=apparmor state=restarted
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
chdir: '{{ easyrsa_dir }}/easyrsa3/'
|
||||
creates: '{{ easyrsa_dir }}/easyrsa3/pki/ca_initialized'
|
||||
notify:
|
||||
- restart strongswan
|
||||
- restart strongswan
|
||||
|
||||
- name: Build the server pair
|
||||
shell: >
|
||||
|
@ -85,7 +85,7 @@
|
|||
chdir: '{{ easyrsa_dir }}/easyrsa3/'
|
||||
creates: '{{ easyrsa_dir }}/easyrsa3/pki/server_initialized'
|
||||
notify:
|
||||
- restart strongswan
|
||||
- restart strongswan
|
||||
|
||||
- name: Build the client's pair
|
||||
shell: >
|
||||
|
|
Loading…
Add table
Reference in a new issue