mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
install python in 4-server-options and group related actions
This commit is contained in:
parent
9844db85cb
commit
27439bcd71
2 changed files with 16 additions and 10 deletions
|
@ -21,11 +21,6 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
when: not installing
|
when: not installing
|
||||||
|
|
||||||
- name: Create a Python interface to iiab.env
|
|
||||||
template:
|
|
||||||
src: roles/1-prep/templates/iiab_env.py.j2
|
|
||||||
dest: /etc/iiab/iiab_env.py
|
|
||||||
|
|
||||||
- name: Recording STAGE 3 HAS COMPLETED =====================
|
- name: Recording STAGE 3 HAS COMPLETED =====================
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_env_file }}"
|
dest: "{{ iiab_env_file }}"
|
||||||
|
|
|
@ -13,11 +13,6 @@
|
||||||
when: named_install | bool
|
when: named_install | bool
|
||||||
tags: base, named, network, domain
|
tags: base, named, network, domain
|
||||||
|
|
||||||
- name: Installing captive portal
|
|
||||||
include_tasks: roles/captive-portal/tasks/main.yml
|
|
||||||
when: captive_portal_install | bool
|
|
||||||
tags: base, captive-portal, network, domain
|
|
||||||
|
|
||||||
- name: Installing dhcpd
|
- name: Installing dhcpd
|
||||||
include_tasks: roles/network/tasks/dhcpd.yml
|
include_tasks: roles/network/tasks/dhcpd.yml
|
||||||
when: dhcpd_install | bool
|
when: dhcpd_install | bool
|
||||||
|
@ -28,6 +23,22 @@
|
||||||
when: squid_install | bool
|
when: squid_install | bool
|
||||||
tags: base, squid, network, domain
|
tags: base, squid, network, domain
|
||||||
|
|
||||||
|
# until porting is complete
|
||||||
|
- name: Install python2
|
||||||
|
package:
|
||||||
|
name: python2
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Create a Python interface to iiab.env
|
||||||
|
template:
|
||||||
|
src: roles/1-prep/templates/iiab_env.py.j2
|
||||||
|
dest: /etc/iiab/iiab_env.py
|
||||||
|
|
||||||
|
- name: Installing captive portal
|
||||||
|
include_tasks: roles/captive-portal/tasks/main.yml
|
||||||
|
when: captive_portal_install | bool
|
||||||
|
tags: base, captive-portal, network, domain
|
||||||
|
|
||||||
- name: Install Bluetooth - only on Raspberry Pi
|
- name: Install Bluetooth - only on Raspberry Pi
|
||||||
include_role:
|
include_role:
|
||||||
name: bluetooth
|
name: bluetooth
|
||||||
|
|
Loading…
Reference in a new issue