Add Fedora version variable to the playbook
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
This commit is contained in:
parent
3a9f0cbfbb
commit
bdc169d3c7
1 changed files with 3 additions and 4 deletions
|
@ -1,18 +1,17 @@
|
||||||
# This playbook moves a branched version to a released version in MirrorManager's DB
|
# 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
|
- name: Run the move-devel-to-release script
|
||||||
hosts: os_control[0]:os_control_stg[0]
|
hosts: os_control[0]:os_control_stg[0]
|
||||||
user: root
|
user: root
|
||||||
|
vars:
|
||||||
|
version: "{{ FedoraCycleNumber }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- /srv/private/ansible/vars.yml
|
- /srv/private/ansible/vars.yml
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
- /srv/web/infra/ansible/vars/apps/mirrormanager.yml
|
- /srv/web/infra/ansible/vars/apps/mirrormanager.yml
|
||||||
|
- /srv/web/infra/ansible/vars/all/00-FedoraCycleNumber.yaml
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue