roles/rpi-base/tasks/main.yml
changeset 23 a006c668055c
parent 22 00185499ed12
child 24 bba43c5fbf59
--- a/roles/rpi-base/tasks/main.yml	Mon Sep 23 18:25:33 2019 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
----
-
-- name: turn swap off
-  become: yes
-  command: "swapoff -a"
-  changed_when: false
-
-- name: setup wifi
-  become: yes
-  template:
-    src: "wpa_supplicant.conf.j2"
-    dest: "/etc/wpa_supplicant/wpa_supplicant.conf"
-    mode: 0644
-  when: rpi_enable_wifi
-
-- name: update apt package cache
-  become: yes
-  apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
-
-- name: install extra apt packages
-  become: yes
-  apt: name="{{rpi_base_apt_packages}}"
-
-- 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"