18 lines
493 B
YAML
18 lines
493 B
YAML
---
|
|
- name: Installation
|
|
ansible.builtin.include_tasks: installation.yaml
|
|
|
|
- name: Configure
|
|
ansible.builtin.include_tasks: configuration.yaml
|
|
|
|
- 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: "k3s"
|
|
type: "A"
|
|
value: "{{ hostvars['k3s-loadbalancer'].ansible_default_ipv4.address }}"
|
|
delegate_to: localhost
|