added task for grabbng software binary as software installation
This commit is contained in:
@@ -216,3 +216,18 @@
|
|||||||
msg: Rebooting machine
|
msg: Rebooting machine
|
||||||
tags:
|
tags:
|
||||||
- get_git_pkgs
|
- get_git_pkgs
|
||||||
|
- name: Installing software as pre-compiled binary
|
||||||
|
block:
|
||||||
|
- name: Grabbing software binary
|
||||||
|
become: true
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: "{{ item.src }}"
|
||||||
|
dest: "/usr/bin/{{ item.name }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "744"
|
||||||
|
force: true
|
||||||
|
backup: true
|
||||||
|
notify: "{{ item.handler }}"
|
||||||
|
loop: "{{ (pkgs.binaries.core | default([])) }}"
|
||||||
|
|
||||||
|
|||||||
@@ -216,5 +216,17 @@
|
|||||||
msg: Rebooting machine
|
msg: Rebooting machine
|
||||||
tags:
|
tags:
|
||||||
- get_git_pkgs
|
- get_git_pkgs
|
||||||
# @TODO add a reboot either here or in any of the handlers potentially notified from here in
|
- name: Installing software as pre-compiled binary
|
||||||
# order to update environment (unless found better solution)
|
block:
|
||||||
|
- name: Grabbing software binary
|
||||||
|
become: true
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: "{{ item.src }}"
|
||||||
|
dest: "/usr/bin/{{ item.name }}"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "744"
|
||||||
|
force: true
|
||||||
|
backup: true
|
||||||
|
notify: "{{ item.handler }}"
|
||||||
|
loop: "{{ (pkgs.binaries.userspace | default([])) }}"
|
||||||
Reference in New Issue
Block a user