From 0efd569d51299a220fe5b10f0a2964f3210f44cc Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 12 Dec 2023 08:21:15 +0100 Subject: [PATCH] 111 --- playbooks/00_initial_adjustments.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/00_initial_adjustments.yml b/playbooks/00_initial_adjustments.yml index ece1648..e2ed4f2 100644 --- a/playbooks/00_initial_adjustments.yml +++ b/playbooks/00_initial_adjustments.yml @@ -31,7 +31,7 @@ {%- elif ansible_eth0.macaddress == "00:1e:06:48:b3:0c" -%} odroidc4-5 {%- endif -%} - when: "{{ ansible_default_ipv4.interface }}" == "eth0" + when: ansible_default_ipv4.interface == "eth0" - name: Set a hostname ansible.builtin.hostname: name: >- @@ -46,7 +46,7 @@ {%- elif ansible_end0.macaddress == "00:1e:06:48:b3:0c" -%} odroidc4-5 {%- endif -%} - when: "{{ ansible_default_ipv4.interface }}" == "end0" + when: ansible_default_ipv4.interface == "end0" - name: Iptables 1 ansible.builtin.command: iptables -F