From 2013899ce249fd316d7b3df9a4d79b8936bf0b1c Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Wed, 3 Oct 2018 15:33:14 +0200 Subject: raspbian: add basic Raspbian role ..which just extends the Debian role with a bit of cleanup and config to save on sd-card writes --- roles/raspbian/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/raspbian/tasks/main.yml (limited to 'roles/raspbian/tasks/main.yml') diff --git a/roles/raspbian/tasks/main.yml b/roles/raspbian/tasks/main.yml new file mode 100644 index 0000000..3200277 --- /dev/null +++ b/roles/raspbian/tasks/main.yml @@ -0,0 +1,10 @@ +--- +- import_tasks: networkd.yml + tags: networkd +- import_tasks: remove_pi.yml + when: > + (ansible_user is not defined or ansible_user != 'pi') and + (ansible_ssh_user is not defined or ansible_ssh_user != 'pi') + tags: remove_pi + +# vim: set ts=2 sw=2 et: -- cgit v1.2.1