summaryrefslogtreecommitdiff
path: root/examples/user_create.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/user_create.yaml')
-rw-r--r--examples/user_create.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/user_create.yaml b/examples/user_create.yaml
new file mode 100644
index 0000000..e0bf6be
--- /dev/null
+++ b/examples/user_create.yaml
@@ -0,0 +1,12 @@
+hosts: localhost
+parallelism: false
+tasks:
+ - name: Crear usuario de servicio
+ module: users
+ args:
+ state: create
+ username: servicio
+ home: /home/servicio
+ groups: docker
+ shell: /usr/sbin/nologin
+ become: true \ No newline at end of file