feat: Add Proxmox LXC container provisioning playbook, related secrets, and documentation.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
tasks:
|
||||
- name: Remove host from the [new] group
|
||||
ansible.builtin.lineinfile:
|
||||
path: /opt/ansible/inventory/hosts.ini
|
||||
path: "{{ inventory_dir }}/hosts.ini"
|
||||
regexp: "^{{ item }}\\s" # Match the start of the line with the hostname
|
||||
state: absent
|
||||
loop: "{{ groups['new'] }}" # Loop over all hosts in the 'new' group
|
||||
|
||||
Reference in New Issue
Block a user