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 @@ ...@@ -134,7 +134,11 @@
- always - always
- name: Include Toolbox tasks - name: Include Toolbox tasks
ansible.builtin.import_tasks: ansible.builtin.include_tasks:
file: toolbox.yml file: toolbox.yml
apply:
tags:
- toolbox
- toolbx
tags: tags:
- always - always
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
value: "1" value: "1"
- name: Install Podman from the Kubic repository - 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: block:
- name: Add the Podman repo key - name: Add the Podman repo key
apt_key: apt_key:
...@@ -55,7 +56,7 @@ ...@@ -55,7 +56,7 @@
- name: Install Toolbx from toolbox-build - name: Install Toolbx from toolbox-build
# yamllint disable-line rule:line-length # 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: unarchive:
dest: /usr/local/ dest: /usr/local/
remote_src: true remote_src: true
...@@ -64,7 +65,7 @@ ...@@ -64,7 +65,7 @@
- name: APT install Toolbx - name: APT install Toolbx
# yamllint disable-line rule:line-length # 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: apt:
cache_valid_time: 3600 cache_valid_time: 3600
name: name:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment