mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
service fixes
This commit is contained in:
parent
50f43dc601
commit
468d5af23d
3 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,7 @@ Algo (short for "Al Gore", the **V**ice **P**resident of **N**etworks everywhere
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
* ansible >= 2.2
|
* ansible >= 2.1
|
||||||
* python >= 2.6
|
* python >= 2.6
|
||||||
* [dopy=0.3.5](https://github.com/Wiredcraft/dopy)
|
* [dopy=0.3.5](https://github.com/Wiredcraft/dopy)
|
||||||
* [boto](https://github.com/boto/boto)
|
* [boto](https://github.com/boto/boto)
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
- name: restart strongswan
|
- name: restart strongswan
|
||||||
service: name=strongswan state=restarted daemon_reload=yes
|
service: name=strongswan state=restarted daemon_reload=yes
|
||||||
|
|
||||||
|
- name: daemon-reload
|
||||||
|
shell: systemctl systemctl daemon-reload
|
||||||
|
|
||||||
- name: restart apparmor
|
- name: restart apparmor
|
||||||
service: name=apparmor state=restarted
|
service: name=apparmor state=restarted
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
- name: Setup the cgroup limitations for the ipsec daemon
|
- name: Setup the cgroup limitations for the ipsec daemon
|
||||||
template: src=100-CustomLimitations.conf.j2 dest=/etc/systemd/system/strongswan.service.d/100-CustomLimitations.conf
|
template: src=100-CustomLimitations.conf.j2 dest=/etc/systemd/system/strongswan.service.d/100-CustomLimitations.conf
|
||||||
notify:
|
notify:
|
||||||
|
- daemon-reload
|
||||||
- restart strongswan
|
- restart strongswan
|
||||||
|
|
||||||
- name: Setup the strongswan.conf file from our template
|
- name: Setup the strongswan.conf file from our template
|
||||||
|
|
Loading…
Add table
Reference in a new issue