On Mon, 4 May 2020 13:26:41 -0700 (PDT)
Justin Nelson <[email protected]> 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/20200504231953.376c23cc%40gmail.com.

Attachment: pgpbW7AAmUfzU.pgp
Description: OpenPGP digital signature

Reply via email to