updating netbird to use empheral host and dns
This commit is contained in:
@@ -49,7 +49,11 @@
|
|||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
- name: Start NetBird if needed
|
- name: Start NetBird if needed
|
||||||
ansible.builtin.command: netbird up --management-url https://api.netbird.io --setup-key "{{ netbird_setup_key }}"
|
ansible.builtin.command: >
|
||||||
|
netbird up
|
||||||
|
--management-url https://api.netbird.io
|
||||||
|
--setup-key "{{ netbird_setup_key }}"
|
||||||
|
--extra-dns-labels "{{ netbird_dns_label | default(inventory_hostname) }}"
|
||||||
when: netbird_status.stdout is search("NeedsLogin")
|
when: netbird_status.stdout is search("NeedsLogin")
|
||||||
vars:
|
vars:
|
||||||
ansible_command_timeout: 3600
|
ansible_command_timeout: 3600
|
||||||
Reference in New Issue
Block a user