This is a known issue with Mac OS -
https://github.com/ansible/ansible/issues/65108.

You may want to try this -
https://github.com/ansible/ansible/issues/65108#issuecomment-557016371. I
have not tried this solution personally.

On Fri, Mar 26, 2021 at 4:52 PM Julien Tognazzi <[email protected]>
wrote:

> Dear list,
>
> The following play fails on my ansible installation:
> - hosts: localhost
>   gather_facts: false
>
>   tasks:
>   - set_fact:
>       toto: "{{ lookup('url', 'https://google.ch') }}"
>
> The error is
> objc[57643]: +[__NSCFConstantString initialize] may have been in progress
> in another thread when fork() was called.
> objc[57643]: +[__NSCFConstantString initialize] may have been in progress
> in another thread when fork() was called. We cannot safely call it or
> ignore it in the fork() child process. Crashing instead. Set a breakpoint
> on objc_initializeAfterForkError to debug.
> ERROR! A worker was found in a dead state
>
> *ansible --version*
> ansible 2.9.18
>   config file = /Users/tognazju/Documents/ansible-deployment/ansible.cfg
>   configured module search path =
> ['/Users/tognazju/.ansible/plugins/modules',
> '/usr/share/ansible/plugins/modules']
>   ansible python module location =
> /opt/homebrew/lib/python3.9/site-packages/ansible
>   executable location = /opt/homebrew/bin/ansible
>   python version = 3.9.2 (default, Feb 24 2021, 05:06:40) [Clang 12.0.0
> (clang-1200.0.32.29)]
>
> In which direction should I look to find the problem here ?
>
> thanks for any hint.
>
> --
> 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/2fd757ea-d29b-4b47-9233-57aa8aad45c7n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2fd757ea-d29b-4b47-9233-57aa8aad45c7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks,
Abhijeet Kasurde

-- 
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/CAFwWkHqp_274rTGpnM-ZH7fBXVFYGW1udxKFLK4ZJ4ds1yVwYQ%40mail.gmail.com.

Reply via email to