Apologies. The playbook:
*---- hosts: all gather_facts: false become: yes become_user: root tasks: - name: Get last yum update which includes "disablerepo" shell: 'history | grep -m 1 disablerepo' failed_when: out is failed and not out.rc == 1 register: out - debug: msg={{ out }}* The errors: https://pastebin.com/q8qAB6Nw On Thursday, March 21, 2024 at 12:01:58 PM UTC-4 Brian Coca wrote: > when asking for help it is useful to show the full task and -vvv > output that includes the error (like your first post). It is hard to > debug from just a partial message out of context. > > > > -- > ---------- > Brian Coca (he/him/yo) > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ae88fb98-0dd1-46e9-ad90-52846fa3af9bn%40googlegroups.com.