diff --git a/examples/resources/haproxy.yml b/examples/resources/haproxy.yml index 02f2b7c..c77b357 100644 --- a/examples/resources/haproxy.yml +++ b/examples/resources/haproxy.yml @@ -16,7 +16,7 @@ input: - service_name: keystone-admin bind: '*:8080' backends: - 'with_items': '{{ with_tags("service/keystone") }}' + 'with_tags': ['service/keystone'] 'item': 'remote_name': '{{ item.name }}' 'remote_addr': '{{ item.node.ip }}:{{ item.admin_port }}' @@ -24,7 +24,7 @@ input: - service_name: keystone-pub bind: '*:8081' backends: - with_items: '{{ with_tags("service/keystone") }}' + with_tags: ["service/keystone"] item: remote_name: '{{ item.name }}' remote_addr: '{{ item.node.ip }}:{{ item.public_port }}' diff --git a/examples/resources/keystone.yml b/examples/resources/keystone.yml index 22dc625..4ff21b4 100644 --- a/examples/resources/keystone.yml +++ b/examples/resources/keystone.yml @@ -9,8 +9,12 @@ actions: remove: simple/keystone/remove.yml input: - db_root_password: '{{ first_with_tags("entrypoint/mariadb").root_password }}' - db_host: '{{ first_with_tags("entrypoint/mariadb").node.ip }}' + db_root_password: + first_with_tags: ["entrypoint/mariadb"] + item: '{{ item.root_password }}' + db_host: + first_with_tags: ["entrypoint/mariadb"] + item: '{{ item.node.ip }}' admin_port: 35357 public_port: 5000 name: keystone-test