This morning the command “ansible all -m ping” took 34 seconds and my “standard” command “audible all -m command -a uptime -o” took 15 seconds. Maybe it was a fluke. Thank you Joseph for answering. I’ll monitor throughout the day.
Mike > On Oct 20, 2020, at 17:32, Mike Eggleston <[email protected]> wrote: > > Inventory is static and I’ll run the command when I back online. :) > > Mike > >> On Oct 20, 2020, at 16:36, Joseph Alexander <[email protected]> >> wrote: >> >> >> two questions: >> >> is your inventory dynamic? Is it running a script to fetch and create it >> each time? >> second, what about running: ansible all -m ping >> does that also take ~31 minutes to return? >> >> >> On Tue, Oct 20, 2020 at 5:22 PM [email protected] >> <mailto:[email protected]> <[email protected] >> <mailto:[email protected]>> wrote: >> When I run: $ ansible all -m command -a uptime -o >> for 97 hosts (Solaris and GNU/Linux) the command (just ran) takes 31 minutes. >> >> How can I find where the time is being spent? >> I have a custom ~/.ansible.cfg that specifies my inventory and “remote_tmp = >> $HOME/.ansible/tmp” (to get around a Solaris issue). >> I have environment variables of ANSIBLE_INVENTORY and ANSIBLE_LOG_PATH. I’m >> running this on a RHEL 7 box that is idle. >> >> TIA >> >> Mike >> >> -- >> 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] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/6082c936-bc96-4152-80b8-994c8fb31a04n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/6082c936-bc96-4152-80b8-994c8fb31a04n%40googlegroups.com?utm_medium=email&utm_source=footer>. >> >> -- >> 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] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CANhJoDyUx%2BqqYS3NSwx816ce9Qyu8i9R58p3OH7qfaPTzfs%3DvQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/ansible-project/CANhJoDyUx%2BqqYS3NSwx816ce9Qyu8i9R58p3OH7qfaPTzfs%3DvQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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/C6B60EF1-FC0F-43A9-8C07-4CB584109DB2%40gmail.com.
