mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
clean that up and see if this works
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('f28-test') and not inventory_hostname.startswith('wiki01.stg') and ansible_distribution_major_version|int < 28
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('wiki01.stg') and ansible_distribution_major_version < 28
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
@@ -47,9 +47,9 @@
|
||||
copy: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
||||
with_items:
|
||||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and not inventory_hostname.startswith('f28-test') and not inventory_hostname.startswith('wiki01.stg') and ansible_distribution_major_version|int => 28
|
||||
- fedora-updates.repo-28
|
||||
- fedora-updates-testing.repo-28
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'aarch64' or ansible_architecture == 'x86_64' or ansible_architecture == 'i386' or ansible_architecture == 'armv7l') and not inventory_hostname.startswith('arm03') and and ansible_distribution_major_version > 27
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
||||
Reference in New Issue
Block a user