Add playbooks/users.yml

This commit is contained in:
2026-06-14 21:15:43 +00:00
parent 3f2e6b2484
commit 87fe12c461

35
playbooks/users.yml Normal file
View File

@@ -0,0 +1,35 @@
- name: make users
hosts: alma
become: yes
tasks:
- name: make charizard
user:
name: charizard
state: present
shell: /bin/bash
- name: make meowth
user:
name: meowth
state: present
shell: /bin/bash
- name: make snorlax
user:
name: snorlax
state: present
shell: /sbin/nologin
- name: make mew
user:
name: mew
state: present
shell: /sbin/nologin
- name: make picoshare
user:
name: picoshare
state: present
shell: /usr/sbin/nologin
create_home: false
system: true