chore 📦: Update setupacdc.yml with new node configuration
Updated the hosts section to include a new node, and added variables for hostname and mac address. This change allows for more flexibility in the setup process.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
- hosts: localhost
|
||||
gather_facts: yes
|
||||
|
||||
vars:
|
||||
addc_hostname: "DC1"
|
||||
mac_address: "8E:90:31:DE:31:36"
|
||||
|
||||
tasks:
|
||||
- name: Install 'proxmoxer' and 'requests' Python libraries for the ansible controller
|
||||
ansible.builtin.pip:
|
||||
@@ -16,6 +12,10 @@
|
||||
|
||||
- hosts: node0
|
||||
|
||||
vars:
|
||||
addc_hostname: "DC1"
|
||||
mac_address: "8E:90:31:DE:31:36"
|
||||
|
||||
tasks:
|
||||
- name: Create lxc container
|
||||
community.proxmox.proxmox:
|
||||
|
||||
Reference in New Issue
Block a user