Skip to content
Snippets Groups Projects
Commit 58acb88c authored by MUNIER Florian's avatar MUNIER Florian
Browse files

[upd] del role k8s ansible

parent 1bc5b56f
No related branches found
No related tags found
No related merge requests found
---
- name: Suppression du dossier vapormap
become: true
ansible.builtin.file:
path: "{{VAPORMAP_DIR}}"
state: absent
- name: Suppression utilisateur app-vapormap
become: true
ansible.builtin.user:
name: "{{VAPORMAP_USER}}"
state: absent
remove: true
- name: Suppression groupe app-vapormap
become: true
ansible.builtin.group:
name: "{{VAPORMAP_GROUP}}"
state: absent
---
- name: Create a k8s namespace
kubernetes.core.k8s:
name: testing
api_version: v1
kind: Namespace
state: present
- name: Create a Deployment by reading the definition from a local file
kubernetes.core.k8s:
state: present
src: /testing/deployment.yml
- name: Create a Deployment by reading the definition from a local file
kubernetes.core.k8s:
state: present
src: service.yml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment