do not modify fedora*.repo when deploying in AWS
This commit is contained in:
parent
2df32fbe0c
commit
d2ce8afd46
2 changed files with 5 additions and 4 deletions
|
@ -54,7 +54,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and not inventory_hostname.startswith('rawhide-test')
|
||||
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and not inventory_hostname.startswith('rawhide-test') and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -66,7 +66,7 @@
|
|||
- fedora-modular.repo
|
||||
- fedora-updates-modular.repo
|
||||
- fedora-updates-testing-modular.repo
|
||||
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith('rawhide-test') and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le'))
|
||||
when: ansible_distribution == 'Fedora' and not inventory_hostname.startswith('rawhide-test') and not inventory_hostname.startswith(('buildvm-s390x', 'buildvm-ppc64le')) and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -78,7 +78,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' or ansible_architecture == 's390x')
|
||||
when: ansible_distribution == 'Fedora' and (ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' or ansible_architecture == 's390x') and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -90,7 +90,7 @@
|
|||
- fedora-modular.repo
|
||||
- fedora-updates-modular.repo
|
||||
- fedora-updates-testing-modular.repo
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version >= 29 and (ansible_architecture == 'ppc64le' or ansible_architecture == 's390x')
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version >= 29 and (ansible_architecture == 'ppc64le' or ansible_architecture == 's390x') and datacenter != "aws"
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue