2023-12-02 01:23:47 +01:00

9 lines
239 B
YAML

---
- name: change root user password in container
ansible.builtin.shell:
cmd: |-
lxc exec {{ lte_container_name }} -- \
bash -c \
'echo "root:{{ lte_container_root_pwd }}" | chpasswd'
changed_when: false