Skip to content

Commit

Permalink
Removing dependencies for openshift_repos and setting them up early i…
Browse files Browse the repository at this point in the history
…n the cluster build.
  • Loading branch information
Kenny Woodson committed Jul 17, 2017
1 parent a82f0c2 commit 2464804
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 12 deletions.
8 changes: 8 additions & 0 deletions playbooks/common/openshift-cluster/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
---
# Setup openshift repositories
- name: Setup openshift repositories before we start
hosts: oo_all_hosts
tasks:
- name: Lay down openshift repositories
include_role:
name: openshift_repos

# TODO: refactor this into its own include
# and pass a variable for ctx
- name: Verify Requirements
Expand Down
3 changes: 1 addition & 2 deletions roles/etcd_common/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ galaxy_info:
categories:
- cloud
- system
dependencies:
- { role: openshift_repos }
dependencies: []
1 change: 0 additions & 1 deletion roles/openshift_ca/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ galaxy_info:
- cloud
- system
dependencies:
- role: openshift_repos
- role: openshift_cli
- role: openshift_named_certificates
2 changes: 0 additions & 2 deletions roles/openshift_common/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ galaxy_info:
categories:
- cloud
dependencies:
- role: openshift_facts
- role: openshift_repos
- role: openshift_version
1 change: 0 additions & 1 deletion roles/openshift_health_checker/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
dependencies:
- role: openshift_facts
- role: openshift_repos
- role: openshift_version
1 change: 0 additions & 1 deletion roles/openshift_loadbalancer/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ dependencies:
- service: nuage mon
port: "{{ nuage_mon_rest_server_port | default(9443) }}/tcp"
when: openshift_use_nuage | default(false) | bool
- role: openshift_repos
3 changes: 1 addition & 2 deletions roles/openshift_master_cluster/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ galaxy_info:
categories:
- cloud
- system
dependencies:
- { role: openshift_repos }
dependencies: []
1 change: 0 additions & 1 deletion roles/openshift_storage_glusterfs/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ galaxy_info:
- 7
dependencies:
- role: openshift_hosted_facts
- role: openshift_repos
- role: lib_openshift
1 change: 0 additions & 1 deletion roles/openshift_storage_nfs/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ dependencies:
- service: nfs
port: "2049/tcp"
- role: openshift_hosted_facts
- role: openshift_repos
1 change: 0 additions & 1 deletion roles/openshift_version/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ galaxy_info:
categories:
- cloud
dependencies:
- role: openshift_repos
- role: openshift_docker_facts
- role: docker
when: openshift.common.is_containerized | default(False) | bool and not skip_docker_role | default(False) | bool
Expand Down

0 comments on commit 2464804

Please sign in to comment.