diff options
-rw-r--r-- | playbooks/byo/openshift-management/add_many_container_providers.yml (renamed from roles/openshift_management/tasks/add_many_container_providers.yml) | 5 | ||||
l--------- | playbooks/byo/openshift-management/roles | 1 | ||||
-rw-r--r-- | roles/openshift_management/README.md | 2 | ||||
-rw-r--r-- | roles/openshift_management/tasks/noop.yml | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/roles/openshift_management/tasks/add_many_container_providers.yml b/playbooks/byo/openshift-management/add_many_container_providers.yml index 10a1f4c83..3ab20b94c 100644 --- a/roles/openshift_management/tasks/add_many_container_providers.yml +++ b/playbooks/byo/openshift-management/add_many_container_providers.yml @@ -36,6 +36,11 @@ # var: item.item # with_items: "{{ results.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/roles b/playbooks/byo/openshift-management/roles new file mode 120000 index 000000000..20c4c58cf --- /dev/null +++ b/playbooks/byo/openshift-management/roles @@ -0,0 +1 @@ +../../../roles
\ No newline at end of file diff --git a/roles/openshift_management/README.md b/roles/openshift_management/README.md index 817ad4daa..05ca27913 100644 --- a/roles/openshift_management/README.md +++ b/roles/openshift_management/README.md @@ -549,7 +549,7 @@ the config file path. ``` $ ansible-playbook -v -e container_providers_config=/tmp/cp.yml \ - roles/openshift_management/tasks/add_many_container_providers.yml + playbooks/byo/openshift-management/add_many_container_providers.yml ``` Afterwards you will find two new container providers in your diff --git a/roles/openshift_management/tasks/noop.yml b/roles/openshift_management/tasks/noop.yml new file mode 100644 index 000000000..ed97d539c --- /dev/null +++ b/roles/openshift_management/tasks/noop.yml @@ -0,0 +1 @@ +--- |