vars/main.yml in main_template.yml umbenannt
SSID ist jetzt eine eigene Variable.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
cmd: >
|
||||
nmcli connection modify "preconfigured"
|
||||
nmcli connection modify "{{ nm_connection_name }}"
|
||||
ipv4.dns "{{ dns_ip }}"
|
||||
ipv4.ignore-auto-dns yes
|
||||
tags: dns
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
- name: Aktiviere geänderte DNS-Einstellungen
|
||||
become: true
|
||||
ansible.builtin.command: nmcli connection up "preconfigured"
|
||||
ansible.builtin.command: nmcli connection up "{{ nm_connection_name }}"
|
||||
tags: dns
|
||||
when: ansible_facts.lsb.codename == "trixie"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user