FIX: Removed root user in orded to specify it in the command line
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
|
### Make sure to run this playbook with -u root
|
||||||
---
|
---
|
||||||
- name: Secure and Configure a New LXC Container
|
- name: Secure and Configure a New LXC Container
|
||||||
hosts: 'lxc' # Hosts or group defined in your inventory
|
hosts: 'lxc' # Hosts or group defined in your inventory
|
||||||
remote_user: root
|
# remote_user: root
|
||||||
tasks:
|
tasks:
|
||||||
- name: 1.0. Create group 'homelab'
|
- name: 1.0. Create group 'homelab'
|
||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
|
|||||||
Reference in New Issue
Block a user