Make roles to fetch and backup stratums to reduce duplicate code
This commit is contained in:
9
roles/fetch-strata/tasks/main.yaml
Normal file
9
roles/fetch-strata/tasks/main.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
- name: Backup and remove old {{ strata }} strata
|
||||
include_role:
|
||||
name: backup-remove-strata
|
||||
|
||||
- name: Fetch {{ strata }} strata
|
||||
ansible.builtin.shell:
|
||||
cmd: brl fetch {{ strata }}
|
||||
|
Reference in New Issue
Block a user