mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
do not modify fedora*.repo when deploying in AWS
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
2df32fbe0c
commit
d2ce8afd46
@@ -2,6 +2,7 @@
|
||||
ansible_ssh_user: fedora
|
||||
ansible_become_user: root
|
||||
ansible_become: yes
|
||||
datacenter: aws
|
||||
#instance_type: t3a.small
|
||||
#image: "{{ fedora31_x86_64 }}"
|
||||
#keypair: fedora-admin-20130801
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user