feature/generate-credentials #5

Merged
lanson merged 13 commits from feature/generate-credentials into main 2024-05-03 22:32:18 +00:00
2 changed files with 1 additions and 9 deletions
Showing only changes of commit b5614dfee0 - Show all commits

View File

@ -305,6 +305,3 @@
fail_msg: >-
The python sdk for docker is really out of date, you need to install
a more recent version of it in order to use this tool.
# - name: "Fail"
# fail:

View File

@ -12,14 +12,9 @@
- name: "Register haproxy services in consul"
when: enable_consul | bool
block:
- name: "Load consul cluster variables"
ansible.builtin.include_vars:
file: "{{ sub_configuration_directories.consul_servers }}/consul_config.yml"
name: _consul_cluster_config
- name: "Register haproxy services in consul"
community.general.consul:
token: "{{ _consul_cluster_config.root_token.secret_id }}"
token: "{{ _credentials.consul.root_token.secret_id }}"
service_name: haproxy
service_port: 80
interval: 20s