service fixes

pull/101/head
Evgeniy Ivanov 8 years ago
parent 50f43dc601
commit 468d5af23d

@ -27,7 +27,7 @@ Algo (short for "Al Gore", the **V**ice **P**resident of **N**etworks everywhere
### Requirements
* ansible >= 2.2
* ansible >= 2.1
* python >= 2.6
* [dopy=0.3.5](https://github.com/Wiredcraft/dopy)
* [boto](https://github.com/boto/boto)

@ -1,5 +1,8 @@
- name: restart strongswan
service: name=strongswan state=restarted daemon_reload=yes
- name: daemon-reload
shell: systemctl systemctl daemon-reload
- name: restart apparmor
service: name=apparmor state=restarted

@ -32,6 +32,7 @@
- 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
notify:
- daemon-reload
- restart strongswan
- name: Setup the strongswan.conf file from our template

Loading…
Cancel
Save