diff --git a/README.md b/README.md index 6c45e10..d5c878a 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/roles/vpn/handlers/main.yml b/roles/vpn/handlers/main.yml index 0a527a4..a9d4d72 100644 --- a/roles/vpn/handlers/main.yml +++ b/roles/vpn/handlers/main.yml @@ -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 diff --git a/roles/vpn/tasks/main.yml b/roles/vpn/tasks/main.yml index 7957e42..0dd10ea 100644 --- a/roles/vpn/tasks/main.yml +++ b/roles/vpn/tasks/main.yml @@ -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