---
- name: Configure PVE users
  template:
    src: user.cfg.j2
    dest: /etc/pve/user.cfg
    owner: root
    group: www-data
    mode: u=rw,g=r,o=

- name: Configure PVE passwords
  template:
    src: shadow.cfg.j2
    dest: /etc/pve/priv/shadow.cfg
    owner: root
    group: www-data
    mode: u=rw,g=,o=
...