From 51a1f63504fe8eec6183c620eb3aa24ad28f3204 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 28 Feb 2021 19:50:49 -0600 Subject: [PATCH] Set up mass storage Pi, run it before k8s inits --- playbooks/pimp.yml | 7 +++++++ site.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/pimp.yml b/playbooks/pimp.yml index a4ba3c2..50e1e71 100755 --- a/playbooks/pimp.yml +++ b/playbooks/pimp.yml @@ -1,6 +1,13 @@ #!/usr/bin/env ansible-playbook # vim:ft=ansible: --- +# Mass storage Pis +- hosts: pi-storage-1.desu.ltd + tasks: + - name: assure mount directory + file: path=/data state=directory + - name: assure mount + mount: path=/data src=LABEL=mass state=mounted # Multipurpose Pis running unbound - hosts: pi-mp-1.desu.ltd,pi-mp-2.desu.ltd vars: diff --git a/site.yml b/site.yml index 060a1b8..231ace7 100755 --- a/site.yml +++ b/site.yml @@ -21,6 +21,6 @@ - import_playbook: playbooks/web.yml - import_playbook: playbooks/game.yml - import_playbook: playbooks/pis.yml -- import_playbook: playbooks/pik8s.yml - import_playbook: playbooks/pimp.yml +- import_playbook: playbooks/pik8s.yml - import_playbook: playbooks/desktop.yml