【发布时间】:2020-10-29 07:19:18
【问题描述】:
我正在寻找一种方法来查找存储在 Amazon AWS 机密管理器中的机密。我正在关注this link中的官方文档。
我使用的测试剧本是:
- hosts: 127.0.0.1
connection: local
tasks:
- name: Lookup secret
debug:
msg: "{{ query('amazon.aws.aws_secret', 'my_secret', region='us-west-1') }} "
但我得到了错误:
TASK [Lookup secret] **********************************************************************************************************************************************************************************************
objc[22931]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called.
objc[22931]: +[__NSPlaceholderDictionary 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 中成功查找了 amazon.aws.aws_secret?
这是我的 ansible 版本:
$ ansible --version
ansible 2.10.2
...
python version = 3.8.6 (default, Oct 8 2020, 14:07:53) [Clang 11.0.0 (clang-1100.0.33.17)]
【问题讨论】:
标签: amazon-web-services amazon-ec2 ansible ansible-2.x