Add pi-storage-2
This commit is contained in:
parent
ab82a9038c
commit
da6dbd4748
@ -13,6 +13,8 @@ all:
|
||||
pistorage:
|
||||
hosts:
|
||||
pi-storage-1.desu.ltd:
|
||||
pi-storage-2.desu.ltd:
|
||||
ansible_host: 192.168.1.32
|
||||
pik8s:
|
||||
children:
|
||||
pik8s_masters:
|
||||
|
@ -2,7 +2,7 @@
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
# Mass storage Pis
|
||||
- hosts: pi-storage-1.desu.ltd
|
||||
- hosts: pistorage
|
||||
tasks:
|
||||
- name: assure mount directory
|
||||
file: path=/data state=directory
|
||||
@ -10,6 +10,8 @@
|
||||
- name: assure mount
|
||||
mount: path=/data src=LABEL=mass state=mounted fstype=ext4
|
||||
tags: [ pis, storage ]
|
||||
- hosts: pi-storage-1.desu.ltd
|
||||
tasks:
|
||||
- name: assure directories in mount
|
||||
file: path=/data/{{ item }} state=directory
|
||||
with_items:
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- hosts: pik8s_nodes,pi-storage-1.desu.ltd,pik8s_masters
|
||||
- hosts: pik8s_nodes,pistorage,pik8s_masters
|
||||
serial: 1
|
||||
tasks:
|
||||
- name: check for reboot-required
|
||||
|
2
site.yml
2
site.yml
@ -35,6 +35,6 @@
|
||||
- import_playbook: playbooks/web.yml
|
||||
- import_playbook: playbooks/game.yml
|
||||
- import_playbook: playbooks/pis.yml
|
||||
- import_playbook: playbooks/pimp.yml
|
||||
- import_playbook: playbooks/pistorage.yml
|
||||
- import_playbook: playbooks/pik8s.yml
|
||||
- import_playbook: playbooks/desktop.yml
|
||||
|
Loading…
Reference in New Issue
Block a user