It ultimately does what I want, but changes stuff every time.  I can't 
figure out the logic that is doing that.  Any ideas?
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'])


-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/50311e83-37d1-4238-a34c-8db2d16875af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to