mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 14:02:38 +00:00
Removes *.log. Updates ansible.cfg
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,3 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
roles_path=../..
|
roles_path=../..
|
||||||
|
nocows=1
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
|
- name: Delete project
|
||||||
|
k8s_v1_project:
|
||||||
|
name: hello
|
||||||
|
state: absent
|
||||||
|
debug: yes
|
||||||
|
register: delete_project
|
||||||
|
|
||||||
|
- debug: var=delete_project
|
||||||
|
|
||||||
- name: Create project
|
- name: Create project
|
||||||
k8s_v1_project:
|
k8s_v1_project:
|
||||||
name: hello
|
name: hello
|
||||||
|
state: present
|
||||||
display_name: Hello World
|
display_name: Hello World
|
||||||
description: Hello.
|
description: Hello.
|
||||||
debug: yes
|
debug: yes
|
||||||
@@ -28,7 +38,7 @@
|
|||||||
|
|
||||||
- name: Create deployment config
|
- name: Create deployment config
|
||||||
k8s_v1_deployment_config:
|
k8s_v1_deployment_config:
|
||||||
name: hello-depoy
|
name: hello-deploy
|
||||||
namespace: hello
|
namespace: hello
|
||||||
state: present
|
state: present
|
||||||
debug: yes
|
debug: yes
|
||||||
@@ -42,6 +52,9 @@
|
|||||||
image: openshift/busybox-http-app
|
image: openshift/busybox-http-app
|
||||||
ports:
|
ports:
|
||||||
- container_port: 8080
|
- container_port: 8080
|
||||||
|
protocol: TCP
|
||||||
|
name: web-8080-tcp
|
||||||
|
- container_port: 8100
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: web-8100-tcp
|
name: web-8100-tcp
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -65,3 +78,4 @@
|
|||||||
register: create_route
|
register: create_route
|
||||||
|
|
||||||
- debug: var=create_route
|
- debug: var=create_route
|
||||||
|
|
||||||
|
|||||||
@@ -3,5 +3,7 @@
|
|||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- role: ansible-kubernetes-modules
|
- role: ansible-kubernetes-modules
|
||||||
install_python_requirements: no
|
install_python_requirements: no
|
||||||
|
- role: hello-world
|
||||||
- role: hello-templates
|
- role: hello-templates
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user