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
4596619aaf
commit
d39fb8201d
@ -7,8 +7,8 @@
|
|||||||
var: ansible_facts.interfaces
|
var: ansible_facts.interfaces
|
||||||
- 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','enp.*')"
|
||||||
with_items: "{{ ansible_facts.interfaces }}"
|
with_items: "{{ ansible_interfaces }}"
|
||||||
- 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