feat(docker): match services that moved to k3s
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
---
|
||||
- name: Setup DNS on Netcup
|
||||
community.general.netcup_dns:
|
||||
api_key: "{{ netcup_api_key }}"
|
||||
api_password: "{{ netcup_api_password }}"
|
||||
customer_id: "{{ netcup_customer_id }}"
|
||||
domain: "{{ domain }}"
|
||||
name: "{{ service.name }}"
|
||||
type: "A"
|
||||
value: "{{ hostvars['docker-lb'].ansible_default_ipv4.address }}"
|
||||
loop: "{{ services }}"
|
||||
loop_control:
|
||||
loop_var: service
|
||||
delegate_to: localhost
|
||||
# - name: Setup DNS on Netcup
|
||||
# community.general.netcup_dns:
|
||||
# api_key: "{{ netcup_api_key }}"
|
||||
# api_password: "{{ netcup_api_password }}"
|
||||
# customer_id: "{{ netcup_customer_id }}"
|
||||
# domain: "{{ domain }}"
|
||||
# name: "{{ service.name }}"
|
||||
# type: "A"
|
||||
# value: "{{ hostvars['docker-lb'].ansible_default_ipv4.address }}"
|
||||
# loop: "{{ services }}"
|
||||
# loop_control:
|
||||
# loop_var: service
|
||||
# delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user