summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-management
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-11-22 12:55:18 -0500
committerGitHub <noreply@github.com>2017-11-22 12:55:18 -0500
commit6cde29151f922127c7ea45a8949a015998739945 (patch)
treedca09f88a9482701241da92c798c8abe71b649e0 /playbooks/byo/openshift-management
parentdf81cfca01b7633a95359ed6097a9dd2f7b72f84 (diff)
parent3d20df36ec19c6401eef0789aaa2e0d352e6db25 (diff)
downloadopenshift-6cde29151f922127c7ea45a8949a015998739945.tar.gz
openshift-6cde29151f922127c7ea45a8949a015998739945.tar.bz2
openshift-6cde29151f922127c7ea45a8949a015998739945.tar.xz
openshift-6cde29151f922127c7ea45a8949a015998739945.zip
Merge pull request #6220 from mtnbikenc/consolidate-openshift-management
Playbook Consolidation - openshift-management
Diffstat (limited to 'playbooks/byo/openshift-management')
-rw-r--r--playbooks/byo/openshift-management/add_container_provider.yml4
-rw-r--r--playbooks/byo/openshift-management/add_many_container_providers.yml36
-rw-r--r--playbooks/byo/openshift-management/config.yml4
l---------playbooks/byo/openshift-management/roles1
-rw-r--r--playbooks/byo/openshift-management/uninstall.yml2
5 files changed, 0 insertions, 47 deletions
diff --git a/playbooks/byo/openshift-management/add_container_provider.yml b/playbooks/byo/openshift-management/add_container_provider.yml
deleted file mode 100644
index e2f558550..000000000
--- a/playbooks/byo/openshift-management/add_container_provider.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- include: ../../init/evaluate_groups.yml
-
-- include: ../../common/openshift-management/add_container_provider.yml
diff --git a/playbooks/byo/openshift-management/add_many_container_providers.yml b/playbooks/byo/openshift-management/add_many_container_providers.yml
deleted file mode 100644
index 62fdb11c5..000000000
--- a/playbooks/byo/openshift-management/add_many_container_providers.yml
+++ /dev/null
@@ -1,36 +0,0 @@
----
-- hosts: localhost
- tasks:
- - name: Ensure the container provider configuration is defined
- assert:
- that: container_providers_config is defined
- msg: |
- Error: Must provide providers config path. Fix: Add '-e container_providers_config=/path/to/your/config' to the ansible-playbook command
-
- - name: Include providers/management configuration
- include_vars:
- file: "{{ container_providers_config }}"
-
- - name: Ensure this cluster is a container provider
- uri:
- url: "https://{{ management_server['hostname'] }}/api/providers"
- body_format: json
- method: POST
- user: "{{ management_server['user'] }}"
- password: "{{ management_server['password'] }}"
- validate_certs: no
- # Docs on formatting the BODY of the POST request:
- # http://manageiq.org/docs/reference/latest/api/reference/providers.html#specifying-connection-configurations
- body: "{{ item }}"
- failed_when: false
- with_items: "{{ container_providers }}"
- register: results
-
- # Include openshift_management for access to filter_plugins.
- - include_role:
- name: openshift_management
- tasks_from: noop
-
- - name: print each result
- debug:
- msg: "{{ results.results | oo_filter_container_providers }}"
diff --git a/playbooks/byo/openshift-management/config.yml b/playbooks/byo/openshift-management/config.yml
deleted file mode 100644
index e699fd014..000000000
--- a/playbooks/byo/openshift-management/config.yml
+++ /dev/null
@@ -1,4 +0,0 @@
----
-- include: ../../init/main.yml
-
-- include: ../../common/openshift-management/config.yml
diff --git a/playbooks/byo/openshift-management/roles b/playbooks/byo/openshift-management/roles
deleted file mode 120000
index 20c4c58cf..000000000
--- a/playbooks/byo/openshift-management/roles
+++ /dev/null
@@ -1 +0,0 @@
-../../../roles \ No newline at end of file
diff --git a/playbooks/byo/openshift-management/uninstall.yml b/playbooks/byo/openshift-management/uninstall.yml
deleted file mode 100644
index e95c1c88a..000000000
--- a/playbooks/byo/openshift-management/uninstall.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- include: ../../common/openshift-management/uninstall.yml