| |
@@ -1,18 +1,17 @@
|
| |
# This playbook moves a branched version to a released version in MirrorManager's DB
|
| |
|
| |
- # Usage:
|
| |
- # --extra-vars="version='42'"
|
| |
- # version => The version that must be expired and updated.
|
| |
-
|
| |
---
|
| |
- name: Run the move-devel-to-release script
|
| |
hosts: os_control[0]:os_control_stg[0]
|
| |
user: root
|
| |
+ vars:
|
| |
+ version: "{{ FedoraCycleNumber }}"
|
| |
vars_files:
|
| |
- /srv/web/infra/ansible/vars/global.yml
|
| |
- /srv/private/ansible/vars.yml
|
| |
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
| |
- /srv/web/infra/ansible/vars/apps/mirrormanager.yml
|
| |
+ - /srv/web/infra/ansible/vars/all/00-FedoraCycleNumber.yaml
|
| |
handlers:
|
| |
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
| |
|
| |
Signed-off-by: Patrik Polakovič patrik@alphamail.org