completed tailscale

This commit is contained in:
Matthew Stobbs
2025-02-07 14:16:52 -07:00
parent 6fd2fee66a
commit f52ebe093e
4 changed files with 74 additions and 9 deletions

View File

@@ -16,7 +16,7 @@
ansible.builtin.command:
creates: /etc/yum.repos.d/hashicorp.repo
cmd: "dnf config-manager addrepo --from-repofile={{ pkgconfig_hashicorp.Linux.Fedora.repo }}"
- name: enable hashicorp repo for fedora <41
become: true
when:
@@ -25,7 +25,7 @@
ansible.builtin.command:
creates: /etc/yum.repos.d/hashicorp.repo
cmd: "dnf config-manager --add-repo {{ pkgconfig_hashicorp.Linux.Fedora.repo }}"
- name: enable hashicorp repo for RHEL like distribution
become: true
when:
@@ -41,12 +41,12 @@
state: directory
prefix: hashicorp.
register: d_hashicorp_tmp
- name: get hashicorp archive gpg key
ansible.builtin.get_url:
dest: "{{ d_hashicorp_tmp.path }}/gpg"
url: https://apt.releases.hashicorp.com/gpg
- name: install hashicorp archive gpg key
become: true
ansible.builtin.command:
@@ -56,7 +56,7 @@
- -o
- /usr/share/keyrings/hashicorp-archive-keyring.gpg
- "{{ d_hashicorp_tmp.path }}/gpg"
- name: enable hasicorp repo for debian
ansible.builtin.apt_repository:
repo: "{{ pkgconfig_hashicorp.Linux.Debian.repo }}"