upt playbook

This commit is contained in:
jaydee 2023-09-18 17:12:38 +02:00
parent 8740a2f643
commit 8a98312799

View File

@ -4,7 +4,7 @@
tasks:
- name: Display all interfaces name
debug:
var: ansible_facts.interfaces
var: "{{ ansible_interfaces | select('match','ens.*') | list | first }}"
- name: Creating config
become: yes
ansible.builtin.copy: