put distribution release as host variable to accomodate linux mint
This commit is contained in:
parent
65307e24fb
commit
6dc05a945c
7 changed files with 7 additions and 6 deletions
|
@ -40,7 +40,7 @@
|
|||
- name: Install Hashicorp repository
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
||||
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ distribution_release }} main"
|
||||
register: apt_repository
|
||||
- name: Update APT cache
|
||||
become: true
|
||||
|
|
Reference in a new issue