diff --git a/roles/init-server/tasks/core@install-pkgs.yml b/roles/init-server/tasks/core@install-pkgs.yml index 21a8582..aa5e0ec 100644 --- a/roles/init-server/tasks/core@install-pkgs.yml +++ b/roles/init-server/tasks/core@install-pkgs.yml @@ -216,3 +216,18 @@ msg: Rebooting machine tags: - 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([])) }}" + diff --git a/roles/init-server/tasks/userspace@install-pkgs.yml b/roles/init-server/tasks/userspace@install-pkgs.yml index a823354..295899b 100644 --- a/roles/init-server/tasks/userspace@install-pkgs.yml +++ b/roles/init-server/tasks/userspace@install-pkgs.yml @@ -216,5 +216,17 @@ msg: Rebooting machine tags: - get_git_pkgs -# @TODO add a reboot either here or in any of the handlers potentially notified from here in -# order to update environment (unless found better solution) \ No newline at end of file + - 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.userspace | default([])) }}" \ No newline at end of file