From 533e79ba959143f0459431a486bfb85c56c72ddc Mon Sep 17 00:00:00 2001 From: luisgulo Date: Fri, 24 Oct 2025 18:01:10 +0200 Subject: Releasing code version 1.8.0 --- examples/user_test.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 examples/user_test.yaml (limited to 'examples/user_test.yaml') diff --git a/examples/user_test.yaml b/examples/user_test.yaml new file mode 100644 index 0000000..77d278e --- /dev/null +++ b/examples/user_test.yaml @@ -0,0 +1,32 @@ +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 + + - name: Modificar shell de servicio + module: users + args: + state: modify + username: servicio + home: /home/servicio + groups: docker + shell: /bin/bash + become: true + + - name: Eliminar usuario de servicio + module: users + args: + state: absent + username: servicio + home: /home/servicio + groups: docker + shell: /bin/bash + become: true -- cgit v1.2.3