mirror of
https://github.com/openshift/community.okd.git
synced 2026-07-28 18:34:32 +00:00
Add openshift_process module (#44)
* Initial pass at openshift_process module. Render-only * fix sanity test * Add ability to create/delete resources rendered by template * fix sanity tests * add more tests and fix .env parser * Add more tests * Make multiline parsing work properly * Add test for creating templates * Template APIs require namespace to be provided whether or not the template exists * add docs * Update plugins/modules/openshift_process.py Co-authored-by: Timothy Appnel <tima@ansible.com> Co-authored-by: Timothy Appnel <tima@ansible.com>
This commit is contained in:
committed by
GitHub
parent
308235e032
commit
74ac82e76d
@@ -62,3 +62,19 @@
|
||||
|
||||
- import_tasks: tasks/openshift_auth.yml
|
||||
- import_tasks: tasks/openshift_route.yml
|
||||
- block:
|
||||
- name: Create namespace
|
||||
community.okd.k8s:
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
name: process-test
|
||||
- import_tasks: tasks/openshift_process.yml
|
||||
vars:
|
||||
files_dir: '{{ playbook_dir }}/files'
|
||||
always:
|
||||
- name: Delete namespace
|
||||
community.okd.k8s:
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
name: process-test
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user