The main one I'm testing with is running python 3.6 shell>$ ansible --version ansible 2.7.4 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/ofoo/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible executable location = /usr/local/bin/ansible python version = 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0]
On Monday, May 4, 2020 at 5:20:11 PM UTC-4, Vladimir Botka wrote: > > On Mon, 4 May 2020 13:26:41 -0700 (PDT) > Justin Nelson <[email protected] <javascript:>> wrote: > > > The file contents after that pass are: > > > > 1 macs: > > 2 test-host222: ab:09:87:65:43:21 > > > > With the file contents now the following: > > > > 1 macs: > > 2 test-host222: ab:09:87:65:43:21 > > 3 test-host111: 12:34:56:78:90:ab > > Bingo! I'm able to reproduce the problem with Ansible running on > controller > with Python 2.7 > > shell> ansible --version > ansible 2.9.6 > config file = /export/scratch/tmp/ansible.cfg > configured module search path = > [u'/home/vlado/.ansible/plugins/modules', > u'/usr/share/ansible/plugins/modules'] ansible python module location = > /usr/lib/python2.7/dist-packages/ansible executable location = > /usr/bin/ansible python version = 2.7.17 (default, Nov 7 2019, 10:07:09) > [GCC 7.4.0] > > There is no such problem with Ansible running on controller with Python 3 > > shell> ansible --version > ansible 2.9.6 > config file = /home/vlado/.ansible.cfg > configured module search path = ['/home/vlado/.ansible/my_modules'] > ansible python module location = /usr/lib/python3/dist-packages/ansible > executable location = /usr/bin/ansible > python version = 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] > > HTH, > > -vlado > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4d4df652-91a2-4a07-a9fa-0e5156fc726f%40googlegroups.com.
