users: Do not create users on domain members

The point of the `users.yml` playbook is to manage static users for
machines that are not members of the AD domain.  Since this playbook is
included in `site.yml`, it gets applied to _all_ machines, even those
that _are_ (or will become) domain members.  Thus, we want to avoid
actually doing anything on those machines.
unifi-restore
Dustin 2025-02-25 21:03:59 -06:00
parent 5f4b1627db
commit fd59f3ebb2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
- role: doas
tags:
- doas
- hosts: all
- hosts: '!pyrocufflink'
tasks:
- name: ensure users exist
user: