roles/rpi-base/tasks/main.yml
changeset 14 1d79e73c881f
parent 9 511e97bd5566
child 22 00185499ed12
--- 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"