Hi,
I am having a bit of trouble understanding why the yum module is not working when I use “with_items”. I am using ansible 2.5.4
So, here is what works:
`
- name: Install Yum Group Packages in Login Nodes
yum: “name=‘@X Window System’ state=present”
when: inventory_hostname in groups[‘hpc-login’]
`
the above will install ‘X Window System’ , no issues.