mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
remove first_run from 1-prep main.yml
This commit is contained in:
parent
bd7d1dded5
commit
38fb39ad2b
1 changed files with 3 additions and 5 deletions
|
@ -50,13 +50,13 @@
|
||||||
|
|
||||||
- name: Disable AppArmor -- on by default in Ubuntu
|
- name: Disable AppArmor -- on by default in Ubuntu
|
||||||
service: name=apparmor enabled=False state=stopped
|
service: name=apparmor enabled=False state=stopped
|
||||||
when: first_run and is_ubuntu
|
when: is_ubuntu
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: Disable SELinux on next boot
|
- name: Disable SELinux on next boot
|
||||||
selinux: state=disabled
|
selinux: state=disabled
|
||||||
register: selinux_disabled
|
register: selinux_disabled
|
||||||
when: first_run and not is_debuntu
|
when: not is_debuntu
|
||||||
|
|
||||||
- name: Disable SELinux for this session (if needed)
|
- name: Disable SELinux for this session (if needed)
|
||||||
command: setenforce Permissive
|
command: setenforce Permissive
|
||||||
|
@ -64,7 +64,6 @@
|
||||||
|
|
||||||
## DISCOVER PLATFORMS ######
|
## DISCOVER PLATFORMS ######
|
||||||
- include_tasks: prep.yml
|
- include_tasks: prep.yml
|
||||||
when: first_run
|
|
||||||
|
|
||||||
# Put conditional actions for hardware platforms here
|
# Put conditional actions for hardware platforms here
|
||||||
- include_tasks: raspberry_pi_2.yml
|
- include_tasks: raspberry_pi_2.yml
|
||||||
|
@ -74,12 +73,11 @@
|
||||||
shell: "lsusb | grep 8087:0a2b | wc |awk '{print $1}'"
|
shell: "lsusb | grep 8087:0a2b | wc |awk '{print $1}'"
|
||||||
register: usb_NUC6
|
register: usb_NUC6
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
when: first_run
|
|
||||||
|
|
||||||
- name: Download the firmware for built-in WiFi on NUC6
|
- name: Download the firmware for built-in WiFi on NUC6
|
||||||
get_url: dest=/lib/firmware
|
get_url: dest=/lib/firmware
|
||||||
url={{ iiab_download_url }}/iwlwifi-8000C-13.ucode
|
url={{ iiab_download_url }}/iwlwifi-8000C-13.ucode
|
||||||
when: first_run and usb_NUC6.stdout|int > 0
|
when: usb_NUC6.stdout|int > 0
|
||||||
|
|
||||||
# this script can be sourced to get IIAB location
|
# this script can be sourced to get IIAB location
|
||||||
- name: Recording STAGE 1 HAS COMPLETED ============================
|
- name: Recording STAGE 1 HAS COMPLETED ============================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue