ansible: make domotica create user task idempotent
authorKristof Provost <kp@FreeBSD.org>
Tue, 11 Feb 2025 21:02:26 +0000 (22:02 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 11 Feb 2025 21:02:26 +0000 (22:02 +0100)
commit3b0a4ccabb4ea2ec6afda0b5cd360dfb65e00324
tree77545432209e400448dfdc7cbd04a21ba63ae14b
parentc6649c284fc4aa7d9bac7be24e3b33f029d6a514
ansible: make domotica create user task idempotent

Only create the user if it doesn't already exist. We can now re-execute the
playbook.
ansible/roles/domotica/tasks/domotica.yaml