mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2023-07-19 18:00
This commit is contained in:
		| @@ -102,7 +102,7 @@ acl { | ||||
| {% endfor %} | ||||
|   default_policy = "{{ consul_conf.acl.default_policy }}" | ||||
|   tokens { | ||||
| {% for key in ['initial_management', 'default', 'agent', 'agent_recovery', 'replication'] %} | ||||
| {% for key in ['initial_management', 'default', 'agent', 'agent_recovery', 'replication', 'config_file_service_registration'] %} | ||||
| {% if consul_conf.acl.tokens[key] is defined %} | ||||
|     {{ key }} = "{{ consul_conf.acl.tokens[key] }}" | ||||
| {% endif %} | ||||
|   | ||||
| @@ -9,9 +9,12 @@ node_meta { | ||||
| {% for service in consul_catalog_services.keys() | list %} | ||||
| services { | ||||
|   id = "{{ service }}" | ||||
|   name = "{{ consul_extra_catalog_services[service].name }}" | ||||
|   address = "{{ consul_extra_catalog_services[service].address }}" | ||||
|   port = {{ consul_extra_catalog_services[service].port }} | ||||
|   name = "{{ consul_catalog_services[service].name }}" | ||||
|   address = "{{ consul_catalog_services[service].address }}" | ||||
|   port = {{ consul_catalog_services[service].port }} | ||||
| {% if consul_catalog_services[service].token is defined %} | ||||
|   token = "{{ consul_catalog_services[service].token }}" | ||||
| {% endif %} | ||||
| } | ||||
| {% endfor %} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud