Initial molecule WIP
This commit is contained in:
parent
4475c07bc2
commit
3e1b0473cc
86 changed files with 1904 additions and 0 deletions
1
molecule/mgt/tests/test_all.yml
Symbolic link
1
molecule/mgt/tests/test_all.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../generic_files/tests/test_all.yml
|
||||
1
molecule/mgt/tests/test_client.yml
Symbolic link
1
molecule/mgt/tests/test_client.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../generic_files/tests/test_client.yml
|
||||
1
molecule/mgt/tests/test_client_restore.yml
Symbolic link
1
molecule/mgt/tests/test_client_restore.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../generic_files/tests/test_client_restore.yml
|
||||
16
molecule/mgt/tests/test_mgt.yml
Normal file
16
molecule/mgt/tests/test_mgt.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Molecule managed
|
||||
|
||||
---
|
||||
file:
|
||||
/root/prune.sh:
|
||||
exists: true
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0700"
|
||||
contains:
|
||||
{% for host in groups.all|difference(groups.borgbackup_servers) %}
|
||||
- "Host: {{ host }}"
|
||||
- "export BORG_PASSPHRASE={{ borgbackup_passphrase }}"
|
||||
- ":/var/backup/repos/{{ host }}"
|
||||
{% endfor %}
|
||||
- "/usr/local/bin/borg prune"
|
||||
1
molecule/mgt/tests/test_server.yml
Symbolic link
1
molecule/mgt/tests/test_server.yml
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../generic_files/tests/test_server.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue