You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
565 B
YAML
17 lines
565 B
YAML
2 weeks ago
|
---
|
||
|
- name: CHANGE MAC ETHERNET INTERFACE
|
||
|
hosts: "{{ lookup('env','ansible_docker{{ node }}_proxmoxNode') }}"
|
||
|
remote_user: "{{ lookup('env','ansible_docker{{ node }}_user') }}"
|
||
|
|
||
|
vars:
|
||
|
node: "{{node}}"
|
||
|
vm_name: "{{ lookup('env','ansible_docker{{ node }}_vmName') }}"
|
||
|
vm_id: "{{ lookup('env','ansible_docker{{ node }}_vmId') }}"
|
||
|
vm_mac: "{{ lookup('env','ansible_docker{{ node }}_vmMac') }}"
|
||
|
ansible_become_pass: "{{ lookup('env','ansible_docker{{ node }}_passwd') }}"
|
||
|
|
||
|
roles:
|
||
|
- CHECK_MANDATORY_VARIABLES
|
||
|
- SET_NEW_MAC_VM
|
||
|
tasks:
|