Subject: [ansible-project] double with_items and loops


TASK [dns_update : Add DNS entries to ifcfg-* files if missing]
**************************************************************************************************************************************************************************
ok: [ansible-oel7] => (item=[u'ifcfg-eth0', u'^DNS1.*', u'DNS1=10.1.1.10'])
ok: [ansible-oel6] => (item=[u'ifcfg-eth0', u'^DNS1.*', u'DNS1=10.1.1.10'])
ok: [ansible-rhel6] => (item=[u'ifcfg-eth0', u'^DNS1.*', u'DNS1=10.1.1.10'])
ok: [ansible-rhel7] => (item=[u'ifcfg-eth0', u'^DNS1.*', u'DNS1=10.1.1.10'])
changed: [ansible-rhel6] => (item=[u'ifcfg-eth0', u'^DNS1.*',
u'DNS2=10.1.1.11'])
changed: [ansible-oel7] => (item=[u'ifcfg-eth0', u'^DNS1.*',
u'DNS2=10.1.1.11'])
changed: [ansible-oel6] => (item=[u'ifcfg-eth0', u'^DNS1.*',
u'DNS2=10.1.1.11'])
changed: [ansible-rhel7] => (item=[u'ifcfg-eth0', u'^DNS1.*',
u'DNS2=10.1.1.11'])
changed: [ansible-oel7] => (item=[u'ifcfg-eth0', u'^DNS2.*',
u'DNS1=10.1.1.10'])
changed: [ansible-rhel6] => (item=[u'ifcfg-eth0', u'^DNS2.*',
u'DNS1=10.1.1.10'])
changed: [ansible-oel6] => (item=[u'ifcfg-eth0', u'^DNS2.*',
u'DNS1=10.1.1.10'])
changed: [ansible-rhel7] => (item=[u'ifcfg-eth0', u'^DNS2.*',
u'DNS1=10.1.1.10'])
ok: [ansible-oel7] => (item=[u'ifcfg-eth0', u'^DNS2.*', u'DNS2=10.1.1.11'])
ok: [ansible-oel6] => (item=[u'ifcfg-eth0', u'^DNS2.*', u'DNS2=10.1.1.11'])
ok: [ansible-rhel6] => (item=[u'ifcfg-eth0', u'^DNS2.*', u'DNS2=10.1.1.11'])
ok: [ansible-rhel7] => (item=[u'ifcfg-eth0', u'^DNS2.*', u'DNS2=10.1.1.11'])

--
To post to this group, send email to [EMAIL PROTECTED].