From 68a61805be1d403355a0f41e71761fdf21cb04b8 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 12 Feb 2018 21:03:49 -0500 Subject: [PATCH] raspberry_pi_2.yml -> raspberry_pi.yml; indentation/syntax per new Ansible docs --- roles/1-prep/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/1-prep/tasks/main.yml b/roles/1-prep/tasks/main.yml index 37df72fcf..c46bfe997 100644 --- a/roles/1-prep/tasks/main.yml +++ b/roles/1-prep/tasks/main.yml @@ -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