mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-03 00:03:05 +02:00
init
This commit is contained in:
11
playbooks/00_getmac.yml
Normal file
11
playbooks/00_getmac.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: datacenter
|
||||
name: Apt udate
|
||||
become: true
|
||||
tasks:
|
||||
- name: Debug
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ansible_eth0.macaddress }}"
|
||||
- name: Debug
|
||||
ansible.builtin.debug:
|
||||
msg: "olalalaaaa"
|
||||
when: ansible_eth0.macaddress == "b8:27:eb:29:cb:d41"
|
Reference in New Issue
Block a user