mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
- name: Display all interfaces name
|
- name: Display all interfaces name
|
||||||
debug: msg="{{ item }}"
|
debug: msg="{{ item }}"
|
||||||
when: "{{ item }} | map('match','ens.*')"
|
when: "{{ item }} | map('match','ens.*')"
|
||||||
with_items: "{{ ansible_interfaces }}"
|
with_items: "{{ ansible_facts.interfaces }}"
|
||||||
- name: Creating config
|
- name: Creating config
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
Reference in New Issue
Block a user