mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
remove copr all together from openshift install role
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# methods: copr, source
|
||||
install_openshift_method: copr
|
||||
# methods: copr, source, fedora
|
||||
install_openshift_method: fedora
|
||||
|
||||
# copr-specific variables
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
---
|
||||
- include: method_fedora.yml
|
||||
when: install_openshift_method == 'fedora'
|
||||
|
||||
- include: method_copr.yml
|
||||
when: install_openshift_method == 'copr'
|
||||
|
||||
|
||||
6
roles/osbs-install-openshift/tasks/method_fedora.yml
Normal file
6
roles/osbs-install-openshift/tasks/method_fedora.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install openshift
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state={{ osbs_update_packages | ternary('latest', 'present') }}"
|
||||
with_items:
|
||||
- origin-master
|
||||
- origin-node
|
||||
Reference in New Issue
Block a user