Skip to content
Snippets Groups Projects
Commit 12544517 authored by nimrod's avatar nimrod
Browse files

fixup! Toolbx refresh.

parent c2801f2d
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,11 @@
- always
- name: Include Toolbox tasks
ansible.builtin.import_tasks:
ansible.builtin.include_tasks:
file: toolbox.yml
apply:
tags:
- toolbox
- toolbx
tags:
- always
......@@ -20,7 +20,8 @@
value: "1"
- name: Install Podman from the Kubic repository
when: toolbox_podman_repo_base_url is defined
# yamllint disable-line rule:line-length
when: ansible_facts.distribution_release in toolbox_podman_repo_base_url_mapping
block:
- name: Add the Podman repo key
apt_key:
......@@ -55,7 +56,7 @@
- name: Install Toolbx from toolbox-build
# yamllint disable-line rule:line-length
when: ansible_facts.distribution_release is not in toolbox_distros_with_apt_package
when: ansible_facts.distribution_release is in toolbox_distros_without_apt_package
unarchive:
dest: /usr/local/
remote_src: true
......@@ -64,7 +65,7 @@
- name: APT install Toolbx
# yamllint disable-line rule:line-length
when: ansible_facts.distribution_release is in toolbox_distros_with_apt_package
when: ansible_facts.distribution_release is not in toolbox_distros_without_apt_package
apt:
cache_valid_time: 3600
name:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment