add the rest of the hypr tools

This commit is contained in:
Matthew Stobbs
2025-03-12 15:11:48 -06:00
parent 8478dbaf8f
commit f8d4fa869b
36 changed files with 858 additions and 25 deletions

View File

@@ -1,22 +1,31 @@
# vim: set filetype=yaml.ansible :
---
- name: Download pulumi archive
ansible.builtin.get_url:
dest: "{{ d_tempdir.path }}/{{ pulumi.archive }}"
url: "{{ pulumi.dlurl }}"
decompress: false
mode: '0644'
- name: Extract pulumi archive
become: "{{ ext_become }}"
ansible.builtin.unarchive:
dest: "{{ path.archive }}"
src: "{{ d_tempdir.path }}/{{ pulumi.archive }}"
remote_src: true
- name: Link pulumi executable
become: "{{ ext_become }}"
ansible.builtin.file:
state: link
src: "{{ path.archive }}/pulumi/pulumi"
- name: Check if pulumi is installed
register: stat_pulumi_inst
ansible.builtin.stat:
path: "{{ path.bin }}/pulumi"
- name: Install pulumi if not installed
when:
- not stat_pulumi_inst.stat.exists
block:
- name: Download pulumi archive
ansible.builtin.get_url:
dest: "{{ d_tempdir.path }}/{{ pulumi.archive }}"
url: "{{ pulumi.dlurl }}"
decompress: false
mode: '0644'
- name: Extract pulumi archive
become: "{{ ext_become }}"
ansible.builtin.unarchive:
dest: "{{ path.archive }}"
src: "{{ d_tempdir.path }}/{{ pulumi.archive }}"
remote_src: true
- name: Link pulumi executable
become: "{{ ext_become }}"
ansible.builtin.file:
state: link
src: "{{ path.archive }}/pulumi/pulumi"
path: "{{ path.bin }}/pulumi"