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:
parent
25eb4acada
commit
f91c67ad58
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue