1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

raspberry_pi_2.yml -> raspberry_pi.yml; indentation/syntax per new Ansible docs

This commit is contained in:
A Holt 2018-02-12 21:03:49 -05:00 committed by GitHub
parent 8b0252edc7
commit 68a61805be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
- name: ...IS BEGINNING ============================================
command: echo
- name: Get the uuidgen program
- name: Install uuidgen program (debuntu)
package:
name: uuid-runtime
state: present
@ -54,7 +54,7 @@
dest: /etc/chrony.conf
src: chrony.conf.j2
- name: Disable AppArmor -- on by default in Ubuntu
- name: Disable AppArmor -- override OS default (ubuntu)
service:
name: apparmor
enabled: False
@ -62,19 +62,19 @@
when: is_ubuntu
ignore_errors: true
- name: Disable SELinux on next boot
- name: Disable SELinux on next boot (OS's other than debuntu)
selinux:
state: disabled
register: selinux_disabled
when: not is_debuntu
- name: Disable SELinux for this session (if needed)
- name: Disable SELinux for this session (OS's other than debuntu, if needed)
command: setenforce Permissive
when: not is_debuntu and selinux_disabled is defined and selinux_disabled.changed
## DISCOVER PLATFORMS ######
# Put conditional actions for hardware platforms here
- include_tasks: raspberry_pi_2.yml
- include_tasks: raspberry_pi.yml
when: first_run and rpi_model != "none"
- name: Check if the identifier for Intel's NUC6 builtin WiFi is present