add fc42 to hashicorp config

This commit is contained in:
Matthew Stobbs
2025-05-10 11:08:01 -06:00
parent 0ae915482b
commit cb199a3cbe
2 changed files with 19 additions and 1 deletions

View File

@@ -1,11 +1,27 @@
# vim: set filetype=yaml.ansible :
---
- name: Set package_home_base for Darwin
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
package_home_base: /Users
- name: Set package_home_base for Linux
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
package_home_base: /home
- name: Dump ansible user
debug:
var: ansible_ssh_user
- name: Set local path prefix
when:
- use_local
ansible.builtin.set_fact:
path:
prefix: "{{ lookup('ansible.builtin.env', 'HOME') ~ '/.local' }}"
prefix: "{{ package_home_base }}/{{ ansible_ssh_user }}/.local"
- name: Set non-local path prefix
when:

View File

@@ -8,5 +8,7 @@ hashicorp:
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
".fc41":
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
".fc42":
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
debian:
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"