feat: Make LXC CPU cores and memory configurable during creation and refine inventory group insertion regex.
This commit is contained in:
@@ -76,6 +76,6 @@
|
||||
path: /opt/ansible/inventory/hosts.ini
|
||||
block: |
|
||||
{{ item }} ansible_host={{ hostvars[item]['ansible_host'] }}
|
||||
insertafter: "[lxc]"
|
||||
insertafter: "^\\[lxc\\]"
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK FOR LXC"
|
||||
loop: "{{ groups['new'] }}" # Loop over all hosts in the 'new' group
|
||||
Reference in New Issue
Block a user