ansible-buildsys-management/adhoc-compose-sync-production.yml

15 lines
343 B
YAML
Raw Normal View History

2023-02-20 03:54:48 +00:00
---
# 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
...