batcave: adjust the way the mirror_pagure_ansible role is called

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-04-30 21:20:54 +02:00
parent 051592f1cd
commit 3d0b04feb5

View file

@ -43,7 +43,7 @@
- batcave
- { role: nfs/client, when: inventory_hostname.startswith('batcave'), mnt_dir: '/srv/web/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave01'), mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
- mirror_pagure_ansible
- { role: mirror_pagure_ansible, tags: ['mirror_pagure_ansible'] }
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"