copr: load vars/all so we have defined FedoraBranched

addressing:
TASK [put fedora repos on primary architecture systems] *****************************************************************
Monday 16 December 2019  10:32:33 +0000 (0:00:00.059)       0:00:00.541 *******
failed: [copr-frontend01.stg.phx2.fedoraproject.org] (item=fedora.repo) => {"ansible_loop_var": "item", "changed": false, "item": "fedora.repo", "msg": "AnsibleUndefinedVariable: 'FedoraBranched' is undefined"}
failed: [copr-frontend02.stg.phx2.fedoraproject.org] (item=fedora.repo) => {"ansible_loop_var": "item", "changed": false, "item": "fedora.repo", "msg": "AnsibleUndefinedVariable: 'FedoraBranched' is undefined"}
ok: [copr-frontend01.stg.phx2.fedoraproject.org] => (item=fedora-updates.repo)
ok: [copr-frontend02.stg.phx2.fedoraproject.org] => (item=fedora-updates.repo)
ok: [copr-frontend01.stg.phx2.fedoraproject.org] => (item=fedora-updates-testing.repo)
ok: [copr-frontend02.stg.phx2.fedoraproject.org] => (item=fedora-updates-testing.repo)
This commit is contained in:
Miroslav Suchý 2019-12-16 11:45:38 +01:00 committed by Pierre-Yves Chibon
parent 58b7c91023
commit b7ac456535
4 changed files with 4 additions and 0 deletions

View file

@ -20,6 +20,7 @@
- /srv/private/ansible/vars.yml
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"

View file

@ -21,6 +21,7 @@
- "/srv/private/ansible/vars.yml"
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks:

View file

@ -12,6 +12,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:

View file

@ -27,6 +27,7 @@
- "/srv/private/ansible/vars.yml"
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks: