Files
ansible_role_package/tasks/pkgs/consul.yml
Matthew Stobbs 391e8ee226 fixing packages
2025-01-25 17:54:26 -07:00

16 lines
461 B
YAML

# load hashicorp configuration
---
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "pkgs/hashicorp_repo.yml"
when: pkgconfig_hashicorp not defined
- name: append to syspkgs
set_fact:
syspkgs: "{{ syspkgs + [ pkgconfig_hashicorp.consul[ansible_system] ] }}"
when: ansible_system == 'Linux'
- set_fact:
tappkgs: "{{ tappkgs + [ pkgconfig_hashicorp.consul[ansible_system] ] }}"
when: ansible_system == 'Darwin'