fix: various fixes to accomodate the new pre-generated credentials

This commit is contained in:
Bertrand Lanson 2024-05-03 22:31:38 +02:00
parent 01392e4db0
commit b5614dfee0
2 changed files with 1 additions and 9 deletions

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