Skip to content

Commit

Permalink
Fix build-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 20, 2024
1 parent e360a68 commit f9291d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roles/diagnostic/tasks/setup_btop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@
not btop_installed.stat.exists | bool
or not btop_static_source_file_exists.stat.exists
block:
- name: Be sure build-essential package is installed
ansible.builtin.apt:
name: build-essential
state: present

- name: Remove previous btop source directory
ansible.builtin.file:
path: "{{ btop_source_path }}"
Expand Down Expand Up @@ -99,6 +94,11 @@
- name: Install from source
when: btop_install_type == 'source'
block:
- name: Be sure build-essential package is installed
ansible.builtin.apt:
name: build-essential
state: present

- name: Get btop sources
ansible.builtin.git:
repo: '{{ btop_source_repo }}'
Expand Down

0 comments on commit f9291d8

Please sign in to comment.