23 lines
879 B
YAML
23 lines
879 B
YAML
---
|
|
# Copyright (C) 2015-2020 Robin Schneider <ypid@riseup.net>
|
|
# Copyright (C) 2015-2020 DebOps <https://debops.org/>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
- name: Setup and manage encrypted filesystems and ensure persistence
|
|
collections: [ 'debops.debops', 'debops.roles01',
|
|
'debops.roles02', 'debops.roles03' ]
|
|
hosts: [ 'debops_service_cryptsetup_persistent_paths' ]
|
|
become: True
|
|
|
|
environment: '{{ inventory__environment | d({})
|
|
| combine(inventory__group_environment | d({}))
|
|
| combine(inventory__host_environment | d({})) }}'
|
|
|
|
roles:
|
|
|
|
- role: cryptsetup
|
|
tags: [ 'role::cryptsetup', 'skip::cryptsetup' ]
|
|
|
|
- role: persistent_paths
|
|
tags: [ 'role::persistent_paths', 'skip::persistent_paths' ]
|
|
persistent_paths__dependent_paths: '{{ cryptsetup__persistent_paths__dependent_paths }}'
|