Renamed base role to rpi-base.
--- a/hap.yaml Fri Jan 19 12:26:10 2018 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
----
-
-- hosts: raspberrypi
- roles:
- - base
- # - automationhat
- - hap-nodejs
--- a/roles/base/defaults/main.yaml Fri Jan 19 12:26:10 2018 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
----
-
-ubuntu_base_apt_packages:
- - emacs-nox
- - python3
- - htop
--- a/roles/base/tasks/main.yml Fri Jan 19 12:26:10 2018 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
----
-
-- name: setup wifi
- become: yes
- template:
- src: "wpa_supplicant.conf.j2"
- dest: "/etc/wpa_supplicant/wpa_supplicant.conf"
- mode: 0644
-
-- 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="{{item}}"
- with_items: "{{ubuntu_base_apt_packages}}"
-
-- name: authorize admin ssh keys
- become: yes
- authorized_key: "user=pi key=https://github.com/{{github_user}}.keys"
--- a/roles/base/templates/wpa_supplicant.conf.j2 Fri Jan 19 12:26:10 2018 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# {{ansible_managed}}
-
-country=US
-ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
-update_config=1
-{% for network in wpa_networks %}
-
-network={
- ssid="{{network.ssid}}"
- psk="{{network.psk}}"
-}
-{% endfor %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/rpi-base/defaults/main.yaml Mon Jan 29 20:31:46 2018 -0600
@@ -0,0 +1,7 @@
+---
+
+ubuntu_base_apt_packages:
+ - emacs-nox
+ - python3
+ - htop
+ - jq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/rpi-base/tasks/main.yml Mon Jan 29 20:31:46 2018 -0600
@@ -0,0 +1,21 @@
+---
+
+- name: setup wifi
+ become: yes
+ template:
+ src: "wpa_supplicant.conf.j2"
+ dest: "/etc/wpa_supplicant/wpa_supplicant.conf"
+ mode: 0644
+
+- 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="{{item}}"
+ with_items: "{{ubuntu_base_apt_packages}}"
+
+- name: authorize admin ssh keys
+ become: yes
+ authorized_key: "user=pi key=https://github.com/{{github_user}}.keys"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/rpi-base/templates/wpa_supplicant.conf.j2 Mon Jan 29 20:31:46 2018 -0600
@@ -0,0 +1,12 @@
+# {{ansible_managed}}
+
+country=US
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+{% for network in wpa_networks %}
+
+network={
+ ssid="{{network.ssid}}"
+ psk="{{network.psk}}"
+}
+{% endfor %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rpi-door.yaml Mon Jan 29 20:31:46 2018 -0600
@@ -0,0 +1,7 @@
+---
+
+- hosts: raspberrypi
+ roles:
+ - rpi-base
+ # - automationhat
+ - hap-nodejs