--- - name: fail if win_obs_init__password is unset ansible.builtin.fail: msg: "Please define a password for 'win_obs_init__password'!" when: win_obs_init__password == 'changeME' - name: create OBS User ansible.windows.win_user: name: 'obs' state: present account_disabled: false description: 'Account to run OBS at this WINDOWS host' groups_action: 'add' password_expired: false password_never_expires: true user_cannot_change_password: true groups: - 'S-1-5-32-545' # Users