Files
ansible_role_package/tasks/pkgs/consul.yml
Matthew Stobbs 2f3690aded clean up, refactor, documentation
- reducing amount of splitting in configs
- documenting configuration
2025-01-24 23:23:24 -07:00

15 lines
421 B
YAML

# load hashicorp configuration
---
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "pkgs/hashicorp_repo.yml"
- 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'