diff options
Diffstat (limited to 'dan/ele-helene.yml')
-rw-r--r-- | dan/ele-helene.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dan/ele-helene.yml b/dan/ele-helene.yml index ac2305f3..565dcfa2 100644 --- a/dan/ele-helene.yml +++ b/dan/ele-helene.yml @@ -21,3 +21,20 @@ iface {{ ansible_default_ipv4.interface }}.{{ network_zones.guest.vlan }} inet static address {{ network_zones.guest.prefix | ipaddr(network_zones.guest.offsets[inventory_hostname]) | ipaddr('address/prefix') }} dest: "/etc/network/interfaces.d/{{ ansible_default_ipv4.interface }}.{{ network_zones.guest.vlan }}" + + - name: prepare storage volume for recordings + vars: + storage_volume: + vg: "{{ host_name }}" + lv: recordings + size: 200g + fs: ext4 + dest: /srv/recordings + import_role: + name: storage/lvm/volume + + - name: set owner of recordings directory to app user + file: + path: /srv/recordings + owner: app + group: app |