--- ### tags: # TODO remove static ip configuration - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-elastic-stack server: dev-elastic-stack-01 ip: 10.0.0.2 state: present delegate_to: 127.0.0.1 # TODO remove static ip configuration - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-elastic-stack server: dev-elastic-stack-02 ip: 10.0.0.3 state: present delegate_to: 127.0.0.1 # TODO remove static ip configuration - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-elastic-stack server: dev-elastic-stack-03 ip: 10.0.0.4 state: present delegate_to: 127.0.0.1 - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-elastic-stack server: "{{ item }}" state: present with_items: "{{ groups['hcloud'] | difference(groups['elastic']) }}" delegate_to: 127.0.0.1 # TODO remove static ip configuration - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-keycloak server: dev-keycloak-01 ip: 10.1.0.2 state: present delegate_to: 127.0.0.1 - name: Create a server network and specify the ip address hcloud_server_network: api_token: "{{ hetzner_authentication_token }}" network: dev-keycloak server: "{{ item }}" state: present with_items: "{{ groups['connect'] }}" delegate_to: 127.0.0.1