fix packages

This commit is contained in:
Matthew Stobbs
2025-02-22 14:59:18 -07:00
parent 2d825d855d
commit d1e8957f94
47 changed files with 166 additions and 129 deletions

View File

@@ -34,15 +34,9 @@
when:
- ansible_os_family == 'Debian'
block:
- name: Create temporary directory
ansible.builtin.tempfile:
state: directory
prefix: hashicorp.
register: d_hashicorp_tmp
- name: Get hashicorp archive gpg key
ansible.builtin.get_url:
dest: "{{ d_hashicorp_tmp.path }}/gpg"
dest: "{{ d_tempdir.path }}/hashicorp_gpg"
url: https://apt.releases.hashicorp.com/gpg
mode: '0644'
@@ -55,7 +49,7 @@
- --dearmor
- -o
- /usr/share/keyrings/hashicorp-archive-keyring.gpg
- "{{ d_hashicorp_tmp.path }}/gpg"
- "{{ d_tempdir.path }}/hashicorp_gpg"
- name: Enable hasicorp repo for debian
ansible.builtin.apt_repository:
@@ -66,8 +60,5 @@
- name: MacOS specific configuration
when:
- ansible_distribution == 'MacOSX'
block:
- name: Enable hashicorp homebrew tap
when: ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
brewtaps: "{{ brewtaps + ['hashicorp/tap'] }}"
ansible.builtin.set_fact:
brewtaps: "{{ brewtaps + ['hashicorp/tap'] }}"