mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 14:02:38 +00:00
Fixes tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
- name: Create project
|
- name: Create project
|
||||||
k8s_v1_project:
|
openshift_v1_project:
|
||||||
name: test-resource-defn
|
name: test-resource-defn
|
||||||
display_name: Resource Defn
|
display_name: Resource Defn
|
||||||
description: Load resources
|
description: Load resources
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
- debug: var=create_service
|
- debug: var=create_service
|
||||||
|
|
||||||
- name: Create deployment from resource file
|
- name: Create deployment from resource file
|
||||||
k8s_v1_deployment_config:
|
openshift_v1_deployment_config:
|
||||||
state: present
|
state: present
|
||||||
debug: yes
|
debug: yes
|
||||||
src: "{{ role_path }}/files/deployment.yml"
|
src: "{{ role_path }}/files/deployment.yml"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
- name: Delete project
|
- name: Delete project
|
||||||
k8s_v1_project:
|
openshift_v1_project:
|
||||||
name: hello
|
name: hello
|
||||||
state: absent
|
state: absent
|
||||||
debug: yes
|
debug: yes
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
- debug: var=delete_project
|
- debug: var=delete_project
|
||||||
|
|
||||||
- name: Create project
|
- name: Create project
|
||||||
k8s_v1_project:
|
openshift_v1_project:
|
||||||
name: hello
|
name: hello
|
||||||
state: present
|
state: present
|
||||||
display_name: Hello World
|
display_name: Hello World
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
- debug: var=create_service
|
- debug: var=create_service
|
||||||
|
|
||||||
- name: Create deployment config
|
- name: Create deployment config
|
||||||
k8s_v1_deployment_config:
|
openshift_v1_deployment_config:
|
||||||
name: hello-deploy
|
name: hello-deploy
|
||||||
namespace: hello
|
namespace: hello
|
||||||
state: present
|
state: present
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
- debug: var=create_deployment
|
- debug: var=create_deployment
|
||||||
|
|
||||||
- name: Create route
|
- name: Create route
|
||||||
k8s_v1_route:
|
openshift_v1_route:
|
||||||
name: hello-route
|
name: hello-route
|
||||||
namespace: hello
|
namespace: hello
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
Reference in New Issue
Block a user