mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
||||
service: name=apparmor enabled=False state=stopped
|
||||
when: first_run and is_ubuntu
|
||||
when: is_ubuntu
|
||||
ignore_errors: true
|
||||
|
||||
- name: Disable SELinux on next boot
|
||||
selinux: state=disabled
|
||||
register: selinux_disabled
|
||||
when: first_run and not is_debuntu
|
||||
when: not is_debuntu
|
||||
|
||||
- name: Disable SELinux for this session (if needed)
|
||||
command: setenforce Permissive
|
||||
|
@ -64,7 +64,6 @@
|
|||
|
||||
## DISCOVER PLATFORMS ######
|
||||
- include_tasks: prep.yml
|
||||
when: first_run
|
||||
|
||||
# Put conditional actions for hardware platforms here
|
||||
- include_tasks: raspberry_pi_2.yml
|
||||
|
@ -74,12 +73,11 @@
|
|||
shell: "lsusb | grep 8087:0a2b | wc |awk '{print $1}'"
|
||||
register: usb_NUC6
|
||||
ignore_errors: true
|
||||
when: first_run
|
||||
|
||||
- name: Download the firmware for built-in WiFi on NUC6
|
||||
get_url: dest=/lib/firmware
|
||||
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
|
||||
- name: Recording STAGE 1 HAS COMPLETED ============================
|
||||
|
|
Loading…
Reference in a new issue