From fd59f3ebb2d8b2839f973a2876443d63e1f80997 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 25 Feb 2025 21:03:59 -0600 Subject: [PATCH] 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. --- users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.yml b/users.yml index 7c96f15..8d41dcd 100644 --- a/users.yml +++ b/users.yml @@ -8,7 +8,7 @@ - role: doas tags: - doas -- hosts: all +- hosts: '!pyrocufflink' tasks: - name: ensure users exist user: