Seeing a weird problem with running playbooks from my Macbook, which is running OS X 10.10.5… The plays are taking a very long time to run:
`
Wills-MacBook-Air:ist-ansible will$ ansible-playbook --version
ansible-playbook 2.3.0.0
config file = /Users/will/Downloads/my-ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
Wills-MacBook-Air:ist-ansible will$ ansible-playbook -i prod -u root -k run_role.yml -e “ROLE=common” -e “TARGET=my-server”
SSH password:
PLAY [my-server] ****************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************
Thursday 18 May 2017 15:46:25 -0400 (0:00:00.119) 0:00:00.119 **********
ok: [my-server]
TASK [common : RHELFAM | Ensure python-selinux is installed] *********************************************************************
Thursday 18 May 2017 15:48:58 -0400 (0:02:33.523) 0:02:33.642 **********
[…]
TASK [common : DEBFAM | Ensure AppArmor is turned off] ***************************************************************************
Thursday 18 May 2017 15:51:33 -0400 (0:02:33.419) 0:05:08.434 **********
ok: [admin12-10]
TASK [common : DEBFAM | Ensure UFW is turned off] ********************************************************************************
Thursday 18 May 2017 15:54:06 -0400 (0:02:33.385) 0:07:41.819 **********
ok: [admin12-10]
`
As you may notice, the profiling of the plays that do stuff (as above) all are taking 2:33… Anyone know the problem offhand (DNS?)
Thanks,
Will