Skip to content

Commit

Permalink
Merge pull request #336 from Akhil-Nair-ML/makefile
Browse files Browse the repository at this point in the history
Fixed issue due to make is not installed.
  • Loading branch information
Akhil-Nair-ML authored Feb 7, 2023
2 parents eaa04ab + 1a6fffc commit 412c9b2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions install_scaling_manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@
become: yes
command: dpkg-query -W -f='${Status}' make | grep 'install ok installed'
register: is_installed
- name: Install make only if installed
apt:
name: make
state: latest
update_cache: yes
when: is_installed.rc != 0
failed_when: no
changed_when: no
- name: Install make if not installed
become: yes
apt:
name: make
state: latest
update_cache: yes
when: is_installed.rc != 0
- name: Installing Scalling Manager
shell:
args:
Expand Down Expand Up @@ -82,4 +85,4 @@
cmd: make uninstall
chdir: /tmp
become: yes
tags: uninstall
tags: uninstall

0 comments on commit 412c9b2

Please sign in to comment.