From 1e3dd258cc4638c3f43d3b345e1f47c4c747ff8b Mon Sep 17 00:00:00 2001 From: staffadmin Date: Tue, 14 May 2024 21:21:09 +0200 Subject: [PATCH] [lalal] --- hardening.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/hardening.yml b/hardening.yml index a1eab5f..d27c3c4 100644 --- a/hardening.yml +++ b/hardening.yml @@ -131,21 +131,21 @@ # - name: Retrieve private IP address netbird # ansible.builtin.gather_facts: - - name: Set host_interfaces list - ansible.builtin.set_fact: - host_interfaces: "{{ host_interfaces + [item]}}" - vars: - host_interfaces: [] - when: ansible_facts[item].ipv4.address is defined - loop: "{{ ansible_facts.interfaces }}" + # - name: Set host_interfaces list + # ansible.builtin.set_fact: + # host_interfaces: "{{ host_interfaces + [item]}}" + # vars: + # host_interfaces: [] + # when: ansible_facts[item].ipv4.address is defined + # loop: "{{ ansible_facts.interfaces }}" - - name: Set host_private_address - ansible.builtin.set_fact: - host_private_address: "{{ ansible_facts[item].ipv4.address }}" - vars: - host_private_address: "" - when: ansible_facts[item].ipv4.address | ansible.utils.ipaddr('100.96.0.0/16') - loop: "{{ host_interfaces }}" + # - name: Set host_private_address + # ansible.builtin.set_fact: + # host_private_address: "{{ ansible_facts[item].ipv4.address }}" + # vars: + # host_private_address: "" + # when: ansible_facts[item].ipv4.address | ansible.utils.ipaddr('100.96.0.0/16') + # loop: "{{ host_interfaces }}"