ansible microk8s additional cleanup (#1295)

follow-up to #1264: 
- microk8s: move default inventory vars role defaults
- microk8s: improve debugging of template output
- do: move teardown tasks to new role
This commit is contained in:
Ilya Kreymer 2023-10-16 18:55:35 -07:00 committed by GitHub
parent b3f530f8e6
commit a0def4f2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 9 deletions

View File

@ -2,8 +2,6 @@
- hosts: all
gather_facts: yes
become: yes
vars_files:
- inventory/microk8s/group_vars/main.yml
roles:
- microk8s/debian # Change to redhat if using a redhat distro
- microk8s/common

View File

@ -219,10 +219,6 @@
tags:
- helm_upgrade
- name: Debug Print
command: cat "{{ browsertrix_cloud_home }}/chart/{{ project_name }}-values.yaml"
register: command_output
- name: Debug Template
debug:
msg: "{{command_output.stdout}}"
- name: microk8s deploy | debug | show values yaml
ansible.builtin.debug:
msg: "{{ lookup('ansible.builtin.template', './btrix_values.j2') }}"