Moved package changes until wifi is set up.
--- a/roles/rpi-base/tasks/main.yml Mon Feb 05 20:56:12 2018 -0600
+++ b/roles/rpi-base/tasks/main.yml Tue Feb 20 20:17:53 2018 -0600
@@ -5,10 +5,6 @@
command: "swapoff -a"
changed_when: false
-- name: remove swap apt package
- become: yes
- apt: state="absent" name="dphys-swapfile"
-
- name: setup wifi
become: yes
template:
@@ -28,3 +24,7 @@
- name: authorize admin ssh keys
become: yes
authorized_key: user="pi" key="https://github.com/{{github_user}}.keys"
+
+- name: remove swap apt package
+ become: yes
+ apt: state="absent" name="dphys-swapfile"