Set up mass storage Pi, run it before k8s inits

This commit is contained in:
Salt 2021-02-28 19:50:49 -06:00
parent a771ddd16b
commit 51a1f63504
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,13 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
# vim:ft=ansible: # 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 # Multipurpose Pis running unbound
- hosts: pi-mp-1.desu.ltd,pi-mp-2.desu.ltd - hosts: pi-mp-1.desu.ltd,pi-mp-2.desu.ltd
vars: vars:

View File

@ -21,6 +21,6 @@
- import_playbook: playbooks/web.yml - import_playbook: playbooks/web.yml
- import_playbook: playbooks/game.yml - import_playbook: playbooks/game.yml
- import_playbook: playbooks/pis.yml - import_playbook: playbooks/pis.yml
- import_playbook: playbooks/pik8s.yml
- import_playbook: playbooks/pimp.yml - import_playbook: playbooks/pimp.yml
- import_playbook: playbooks/pik8s.yml
- import_playbook: playbooks/desktop.yml - import_playbook: playbooks/desktop.yml