I'm trying to find a way to list all updated yum packages after:

- name: Upgrade all packages
    name: '*'
    state: latest
  register: yumupdateoutput

Tried many combinations such as:

- debug:
    var: yumupdateoutput.results[0]
  ignore_errors: true

- debug:
    var: yumupdateoutput.results[0].split('/n')
  ignore_errors: true

- debug:
    msg: "{{yumupdateoutput.results[0].split('/n')}}"
  ignore_errors: true

But neither gets me any closer to what I would really want, a clean list of 
all updated packages,with proper newlines instead of '\n''s.



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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to