mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
8740a2f643
commit
8a98312799
@ -4,7 +4,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Display all interfaces name
|
- name: Display all interfaces name
|
||||||
debug:
|
debug:
|
||||||
var: ansible_facts.interfaces
|
var: "{{ ansible_interfaces | select('match','ens.*') | list | first }}"
|
||||||
- name: Creating config
|
- name: Creating config
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user