1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00

fix dual when

This commit is contained in:
George Hunt 2018-10-01 18:16:51 +00:00
parent 25eb4acada
commit f91c67ad58

View file

@ -1,8 +1,11 @@
- name: Get python dateutil - name: Get python dateutil
package: package:
name: python-dateutil name: '(( item }}'
state: present state: present
when: py_captive_portal_install when: py_captive_portal_install
with_item:
- python-dateutil
- sqlite3
- name: Create directory for Captive Portal script - name: Create directory for Captive Portal script
file: file:
@ -46,7 +49,6 @@
shell: /usr/bin/iiab-uncatch shell: /usr/bin/iiab-uncatch
when: py_captive_portal_install when: py_captive_portal_install
when: py_captive_portal_install
- name: Copy Captive Portal service file - name: Copy Captive Portal service file
template: template:
src: roles/network/templates/captive-portal/captive-portal.service.j2 src: roles/network/templates/captive-portal/captive-portal.service.j2