diff options
author | Adam Miller <admiller@redhat.com> | 2024-03-25 20:33:37 +0100 |
---|---|---|
committer | Chris Meyers <chrismeyersfsu@users.noreply.github.com> | 2024-03-27 20:13:43 +0100 |
commit | 2034cca3a9f5cf8833fd476bd1a19f6f870fd709 (patch) | |
tree | 3b4b8668d041989c75eb00d001f0fc4de5fd3feb /tools/docker-compose-minikube | |
parent | Fix websocket relay. Set autocommit so conn.notifies() does not blocks foreve... (diff) | |
download | awx-2034cca3a9f5cf8833fd476bd1a19f6f870fd709.tar.xz awx-2034cca3a9f5cf8833fd476bd1a19f6f870fd709.zip |
update playbooks to use fqcn
Signed-off-by: Adam Miller <admiller@redhat.com>
Diffstat (limited to 'tools/docker-compose-minikube')
-rw-r--r-- | tools/docker-compose-minikube/minikube/tasks/main.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/docker-compose-minikube/minikube/tasks/main.yml b/tools/docker-compose-minikube/minikube/tasks/main.yml index ac29a721a1..ef6a44061b 100644 --- a/tools/docker-compose-minikube/minikube/tasks/main.yml +++ b/tools/docker-compose-minikube/minikube/tasks/main.yml @@ -1,27 +1,27 @@ --- - name: Include pre-flight checks - include_tasks: preflight.yml + ansible.builtin.include_tasks: preflight.yml - name: Create _sources directory - file: + ansible.builtin.file: path: "{{ sources_dest }}" state: 'directory' mode: '0700' - name: debug minikube_setup - debug: + ansible.builtin.debug: var: minikube_setup # Linux block - block: - name: Download Minikube - get_url: + ansible.builtin.get_url: url: "{{ minikube_url_linux }}" dest: "{{ sources_dest }}/minikube" mode: 0755 - name: Download Kubectl - get_url: + ansible.builtin.get_url: url: "{{ kubectl_url_linux }}" dest: "{{ sources_dest }}/kubectl" mode: 0755 @@ -33,13 +33,13 @@ # MacOS block - block: - name: Download Minikube - get_url: + ansible.builtin.get_url: url: "{{ minikube_url_macos }}" dest: "{{ sources_dest }}/minikube" mode: 0755 - name: Download Kubectl - get_url: + ansible.builtin.get_url: url: "{{ kubectl_url_macos }}" dest: "{{ sources_dest }}/kubectl" mode: 0755 @@ -50,18 +50,18 @@ - block: - name: Starting Minikube - shell: "{{ sources_dest }}/minikube start --driver={{ driver }} --install-addons=true --addons={{ addons | join(',') }}" + ansible.builtin.shell: "{{ sources_dest }}/minikube start --driver={{ driver }} --install-addons=true --addons={{ addons | join(',') }}" register: minikube_stdout - name: Enable Ingress Controller on Minikube - shell: "{{ sources_dest }}/minikube addons enable ingress" + ansible.builtin.shell: "{{ sources_dest }}/minikube addons enable ingress" when: - minikube_stdout.rc == 0 register: _minikube_ingress ignore_errors: true - name: Show Minikube Ingress known-issue 7332 warning - pause: + ansible.builtin.pause: seconds: 5 prompt: "The Minikube Ingress addon has been disabled since it looks like you are hitting https://github.com/kubernetes/minikube/issues/7332" when: @@ -90,13 +90,13 @@ register: _service_account_secret - name: Load Minikube Bearer Token - set_fact: + ansible.builtin.set_fact: service_account_token: '{{ _service_account_secret["resources"][0]["data"]["token"] | b64decode }}' when: - _service_account_secret["resources"][0]["data"] | length - name: Render minikube credential JSON template - template: + ansible.builtin.template: src: bootstrap_minikube.py.j2 dest: "{{ sources_dest }}/bootstrap_minikube.py" mode: '0600' |