ansible-buildsys-management/adhoc-compose-sync-producti...

15 lines
343 B
YAML

---
# This playbook is meant to be used with callable variables, like adhoc or AWX.
- name: Sync a compose to staging
hosts: srpmproc
become: true
vars_files:
- "vars/common.yml"
environment:
RLVER: "{{ release_ver }}"
tasks:
- name: "Sync from staging to production"
import_tasks: tasks/sync/sync_to_prod.yml
...