https://raw.githubusercontent.com/vicrlda/awx-tower/main/playbooks/search-for-home.yml — – hosts: all become: yes tasks: – name: CAT <> validando exclusao do usuario … ansible.builtin.shell: cat /etc/passwd | grep “{{ user }}” || /bin/true register: cat – debug: msg=”{{ cat.stdout_lines }}” – name: LS <> buscando pasta e arqs. do usuario … ansible.builtin.shell: ls -l /home | grep “{{ user }}” || […]

Read More