add fc42 to hashicorp config
This commit is contained in:
@@ -1,11 +1,27 @@
|
|||||||
# vim: set filetype=yaml.ansible :
|
# 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
|
- name: Set local path prefix
|
||||||
when:
|
when:
|
||||||
- use_local
|
- use_local
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
path:
|
path:
|
||||||
prefix: "{{ lookup('ansible.builtin.env', 'HOME') ~ '/.local' }}"
|
prefix: "{{ package_home_base }}/{{ ansible_ssh_user }}/.local"
|
||||||
|
|
||||||
- name: Set non-local path prefix
|
- name: Set non-local path prefix
|
||||||
when:
|
when:
|
||||||
|
|||||||
@@ -8,5 +8,7 @@ hashicorp:
|
|||||||
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
||||||
".fc41":
|
".fc41":
|
||||||
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
||||||
|
".fc42":
|
||||||
|
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
|
||||||
debian:
|
debian:
|
||||||
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
||||||
|
|||||||
Reference in New Issue
Block a user