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
|
@ -2,6 +2,7 @@
|
||||||
ansible_ssh_user: fedora
|
ansible_ssh_user: fedora
|
||||||
ansible_become_user: root
|
ansible_become_user: root
|
||||||
ansible_become: yes
|
ansible_become: yes
|
||||||
|
datacenter: aws
|
||||||
#instance_type: t3a.small
|
#instance_type: t3a.small
|
||||||
#image: "{{ fedora31_x86_64 }}"
|
#image: "{{ fedora31_x86_64 }}"
|
||||||
#keypair: fedora-admin-20130801
|
#keypair: fedora-admin-20130801
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
- fedora.repo
|
- fedora.repo
|
||||||
- fedora-updates.repo
|
- fedora-updates.repo
|
||||||
- fedora-updates-testing.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:
|
tags:
|
||||||
- config
|
- config
|
||||||
- packages
|
- packages
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
- fedora-modular.repo
|
- fedora-modular.repo
|
||||||
- fedora-updates-modular.repo
|
- fedora-updates-modular.repo
|
||||||
- fedora-updates-testing-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:
|
tags:
|
||||||
- config
|
- config
|
||||||
- packages
|
- packages
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
- fedora.repo
|
- fedora.repo
|
||||||
- fedora-updates.repo
|
- fedora-updates.repo
|
||||||
- fedora-updates-testing.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:
|
tags:
|
||||||
- config
|
- config
|
||||||
- packages
|
- packages
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
- fedora-modular.repo
|
- fedora-modular.repo
|
||||||
- fedora-updates-modular.repo
|
- fedora-updates-modular.repo
|
||||||
- fedora-updates-testing-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:
|
tags:
|
||||||
- config
|
- config
|
||||||
- packages
|
- packages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue