And here are the error logs while creating PKI roles task -
`
TASK [vault : Create PKI Roles] ***************************************************************************************************
task path: /root/galorndon-infra/playbooks/roles/vault/tasks/vault-setup-backend.yml:62
717 1587713805.45878: sending task start callback
717 1587713805.45889: entering queue_task() for 10.5.4.58/hashivault_write
717 1587713805.45900: Creating lock for hashivault_write
717 1587713805.46104: worker is 1 (out of 1 available)
717 1587713805.46147: exiting queue_task() for 10.5.4.58/hashivault_write
717 1587713805.46159: done queuing things up, now waiting for results queue to drain
717 1587713805.46172: waiting for pending results…
807 1587713805.46246: running TaskExecutor() for 10.5.4.58/TASK: vault : Create PKI Roles
807 1587713805.46378: in run() - task 0242ac11-0002-ef80-e4ad-000000000137
807 1587713805.46538: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.46567: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.46583: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.46608: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json
query.py (found_in_cache=True, class_only=False)
807 1587713805.46644: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.46693: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.46734: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.46787: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.46819: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.46948: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found
in_cache=True, class_only=False)
807 1587713805.46992: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.47002: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.47261: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.47275: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.47288: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.47294: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json_
query.py (found_in_cache=True, class_only=False)
807 1587713805.47319: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.47333: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.47347: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.47361: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.47374: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.47425: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found_
in_cache=True, class_only=False)
807 1587713805.47440: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.47447: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.47980: Loaded config def from plugin (lookup/items)
807 1587713805.48002: Loading LookupModule ‘items’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/lookup/items.py (
searched paths: /root/galorndon-infra/playbooks/plugins/lookup:/py36env/lib64/python3.6/site-packages/ansible/plugins/lookup)
807 1587713805.48321: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.48333: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.48347: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.48354: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json_
query.py (found_in_cache=True, class_only=False)
807 1587713805.48366: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.48379: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.48393: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.48422: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.48463: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.48628: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found_
in_cache=True, class_only=False)
807 1587713805.48646: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.48668: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.49707: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.49724: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.49732: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.49738: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json_
query.py (found_in_cache=True, class_only=False)
807 1587713805.49748: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.49762: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.49780: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.49787: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.49800: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.49849: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found_
in_cache=True, class_only=False)
807 1587713805.49865: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.49872: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.50159: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.50174: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.50190: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.50202: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json_
query.py (found_in_cache=True, class_only=False)
807 1587713805.50215: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.50230: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.50242: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.50255: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.50268: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.50371: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found_
in_cache=True, class_only=False)
807 1587713805.50410: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.50435: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.50736: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713805.50750: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713805.50766: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713805.50772: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json_
query.py (found_in_cache=True, class_only=False)
807 1587713805.50777: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713805.50790: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713805.50802: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713805.50810: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713805.50826: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713805.50881: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found_
in_cache=True, class_only=False)
807 1587713805.50903: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713805.50924: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713805.51128: trying /py36env/lib64/python3.6/site-packages/ansible/plugins/connection
807 1587713805.51226: Loading Connection ‘ssh’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/connection/ssh.py (fo
und_in_cache=True, class_only=False)
807 1587713805.51257: trying /py36env/lib64/python3.6/site-packages/ansible/plugins/shell
807 1587713805.51283: Loading ShellModule ‘sh’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/shell/sh.py (found_in
_cache=True, class_only=False)
807 1587713805.51302: Loading ShellModule ‘sh’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/shell/sh.py (found_in
_cache=True, class_only=False)
807 1587713805.51329: trying /py36env/lib64/python3.6/site-packages/ansible/plugins/become
807 1587713805.51373: Loading BecomeModule ‘sudo’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/become/sudo.py (fo
und_in_cache=True, class_only=False)
807 1587713805.51600: Loading ActionModule ‘normal’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/action/normal.py
(searched paths: /py36env/lib64/python3.6/site-packages/ansible/plugins/action/pycache:/py36env/lib64/python3.6/site-packages/
ansible/plugins/action)
807 1587713805.51624: starting attempt loop
807 1587713805.51630: running the handler
807 1587713805.52193: ANSIBALLZ: Using lock for hashivault_write
807 1587713805.52203: ANSIBALLZ: Acquiring lock
807 1587713805.52214: ANSIBALLZ: Lock acquired: 139996408842000
807 1587713805.52222: ANSIBALLZ: Creating module
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/basic.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/hashivault.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/init.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/_utils.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/parameters.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/_json_compat.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/text/formatters.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/file.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/validation.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/_text.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/text/converters.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/sys_info.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/text/init.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/parsing/init.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/pycompat24.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/six/init.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/process.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/common/collections.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/distro/init.py
Using module_utils file /py36env/lib64/python3.6/site-packages/ansible/module_utils/distro/_distro.py
807 1587713805.73234: ANSIBALLZ: Writing module into payload
807 1587713805.73340: ANSIBALLZ: Writing module
807 1587713805.73376: ANSIBALLZ: Renaming module
807 1587713805.73399: ANSIBALLZ: Done creating module
Using module file /py36env/lib64/python3.6/site-packages/ansible/modules/hashivault/hashivault_write.py
Pipelining is enabled.
807 1587713805.73508: _low_level_execute_command(): starting
807 1587713805.73522: _low_level_execute_command(): using become for this command
807 1587713805.73546: _low_level_execute_command(): executing: /bin/sh -c ‘sudo -H -S -n -u root /bin/sh -c ‘"’“‘echo BECOME-SU
CCESS-irgzbiccgiufigprzpvklrbunpeflyxn ; /usr/bin/python’”’“’ && sleep 0’
<10.5.4.58> ESTABLISH SSH CONNECTION FOR USER: opc
<10.5.4.58> SSH: ansible.cfg set ssh_args: (-o)(ProxyCommand=nc --proxy localhost:1080 --proxy-type socks4 %h %p)(-o)(ControlMaster
=auto)(-o)(ControlPersist=600s)(-o)(strictHostKeyChecking=false)
<10.5.4.58> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
<10.5.4.58> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=
gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<10.5.4.58> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=“opc”)
<10.5.4.58> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=20)
<10.5.4.58> SSH: PlayContext set ssh_common_args: ()
<10.5.4.58> SSH: PlayContext set ssh_extra_args: ()
<10.5.4.58> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/3d8557d48c)
<10.5.4.58> SSH: EXEC ssh -vvv -o ‘ProxyCommand=nc --proxy localhost:1080 --proxy-type socks4 %h %p’ -o ControlMaster=auto -o Contr
olPersist=600s -o strictHostKeyChecking=false -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentica
tions=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ‘User=“opc”’ -o ConnectTimeout=20 -o Control
Path=/root/.ansible/cp/3d8557d48c 10.5.4.58 '/bin/sh -c '”‘“'sudo -H -S -n -u root /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS
-irgzbiccgiufigprzpvklrbunpeflyxn ; /usr/bin/python’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
807 1587713805.74419: Initial state: awaiting_escalation: BECOME-SUCCESS-irgzbiccgiufigprzpvklrbunpeflyxn
807 1587713805.74774: stderr chunk (state=1):
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
<<<
807 1587713805.74993: stderr chunk (state=1):
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 732
debug3: mux_client_request_session: session request sent
<<<
807 1587713806.10032: stderr chunk (state=1):
debug1: mux_client_request_session: master session id: 2
<<<
807 1587713806.79049: stdout chunk (state=1):
BECOME-SUCCESS-irgzbiccgiufigprzpvklrbunpeflyxn
<<<
807 1587713806.79068: become_success: (source=stdout, state=awaiting_escalation): ‘BECOME-SUCCESS-irgzbiccgiufigprzpvklrbunpefly
xn’
Escalation succeeded
807 1587713806.79119: Sending initial data
807 1587713806.79186: Sent initial data (108690 bytes)
807 1587713807.84718: stderr chunk (state=3):
Traceback (most recent call last):
File “”, line 102, in
File “”, line 94, in _ansiballz_main
File “”, line 40, in invoke_module
File “/usr/lib64/python2.7/runpy.py”, line 176, in run_module
fname, loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 72, in _run_code
<<<
807 1587713807.85737: stderr chunk (state=3):
exec code in run_globals
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 229, in
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 109, in main
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2072
, in exit_json
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2065
, in _return_formatted
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 418,
in remove_values
<<<
807 1587713808.14376: stderr chunk (state=3):
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 4
01, in _remove_values_conditions
TypeError: Value of unknown type: <class ‘requests.models.Response’>, <Response [204]>
<<<
807 1587713808.14527: stderr chunk (state=3):
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
<<<
807 1587713808.14576: stderr chunk (state=3):
<<<
807 1587713808.14588: stdout chunk (state=3):
<<<
<10.5.4.58> (1, b’‘, b’OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\nd
ebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: aut
o-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3:
mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_r
equest_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 732\r\ndebug3: mux_client_request_session: session request s
ent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTraceback (most recent call last):\n File “”, line 102,
in \n File “”, line 94, in _ansiballz_main\n File “”, line 40, in invoke_module\n File “/usr/lib64/python2
.7/runpy.py”, line 176, in run_module\n fname, loader, pkg_name)\n File “/usr/lib64/python2.7/runpy.py”, line 82, in _run_modul
e_code\n mod_name, mod_fname, mod_loader, pkg_name)\n File “/usr/lib64/python2.7/runpy.py”, line 72, in _run_code\n exec cod
e in run_globals\n File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashiva
ult/hashivault_write.py”, line 229, in \n File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payl
oad.zip/ansible/modules/hashivault/hashivault_write.py”, line 109, in main\n File “/tmp/ansible_hashivault_write_payload_Z9CYoA/an
sible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2072, in exit_json\n File “/tmp/ansible_hashivault_write_p
ayload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2065, in _return_formatted\n File “/tmp/an
sible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 418, in remove_valu
es\n File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line
401, in _remove_values_conditions\nTypeError: Value of unknown type: <class 'requests.models.Response'>, <Response [204]>\ndebug3
: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n’)
<10.5.4.58> Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 732
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
Traceback (most recent call last):
File “”, line 102, in
File “”, line 94, in _ansiballz_main
File “”, line 40, in invoke_module
File “/usr/lib64/python2.7/runpy.py”, line 176, in run_module
fname, loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 229, in
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 109, in main
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2072
, in exit_json
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2065
, in _return_formatted
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 418,
in remove_values
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 401,
in _remove_values_conditions
TypeError: Value of unknown type: <class ‘requests.models.Response’>, <Response [204]>
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
807 1587713808.14707: _low_level_execute_command() done: rc=1, stdout=, stderr=OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 732
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
Traceback (most recent call last):
File “”, line 102, in
File “”, line 94, in _ansiballz_main
File “”, line 40, in invoke_module
File “/usr/lib64/python2.7/runpy.py”, line 176, in run_module
fname, loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 229, in
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/modules/hashivault/hashivault_wri
te.py”, line 109, in main
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2072
, in exit_json
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 2065
, in _return_formatted
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 418,
in remove_values
File “/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py”, line 401,
in _remove_values_conditions
TypeError: Value of unknown type: <class ‘requests.models.Response’>, <Response [204]>
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
807 1587713808.14843: done with _execute_module (hashivault_write, {‘url’: ‘https://127.0.0.1:8200’, ‘ca_path’: ‘/etc/pki/ca-tru
st/source/anchors/cpetestphx_ca.crt’, ‘token’: ‘7h4AHyZnXINsBAQ4MqYiNzau’, ‘secret’: ‘/infra_pki/roles/kafka’, ‘data’: {‘allowed_do
mains’: ‘osvcstageiad.oraclevcn.com, shared-services’, ‘allow_subdomains’: True, ‘max_ttl’: ‘43800h’, ‘allow_any_name’: False, ‘enf
orce_hostnames’: True}, ‘_ansible_check_mode’: False, ‘_ansible_no_log’: False, ‘_ansible_debug’: True, ‘_ansible_diff’: False, ‘_a
nsible_verbosity’: 5, ‘_ansible_version’: ‘2.9.2’, ‘_ansible_module_name’: ‘hashivault_write’, ‘_ansible_syslog_facility’: ‘LOG_USE
R’, ‘_ansible_selinux_special_fs’: [‘fuse’, ‘nfs’, ‘vboxsf’, ‘ramfs’, ‘9p’, ‘vfat’], ‘_ansible_string_conversion_action’: ‘warn’, ’
_ansible_socket’: None, 'ansible_shell_executable’: ‘/bin/sh’, 'ansible_keep_remote_files’: False, 'ansible_tmpdir’: None, 'ans
ible_remote_tmp’: ‘/tmp’})
807 1587713808.14865: handler run complete
807 1587713808.14882: attempt loop complete, returning result
807 1587713808.15068: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713808.15087: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713808.15099: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713808.15109: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json
query.py (found_in_cache=True, class_only=False)
807 1587713808.15119: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713808.15129: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713808.15140: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713808.15151: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713808.15163: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713808.15247: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found
in_cache=True, class_only=False)
807 1587713808.15273: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713808.15284: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713808.15461: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713808.15478: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
807 1587713808.15489: Loading FilterModule ‘ipaddr’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/ipaddr.py
(found_in_cache=True, class_only=False)
807 1587713808.15499: Loading FilterModule ‘json_query’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/json
query.py (found_in_cache=True, class_only=False)
807 1587713808.15508: Loading FilterModule ‘k8s’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/k8s.py (foun
d_in_cache=True, class_only=False)
807 1587713808.15517: Loading FilterModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/mathst
uff.py (found_in_cache=True, class_only=False)
807 1587713808.15525: Loading FilterModule ‘network’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/network.
py (found_in_cache=True, class_only=False)
807 1587713808.15531: Loading FilterModule ‘urls’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urls.py (fo
und_in_cache=True, class_only=False)
807 1587713808.15537: Loading FilterModule ‘urlsplit’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/urlspli
t.py (found_in_cache=True, class_only=False)
807 1587713808.15592: Loading TestModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/core.py (found
in_cache=True, class_only=False)
807 1587713808.15606: Loading TestModule ‘files’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/files.py (foun
d_in_cache=True, class_only=False)
807 1587713808.15615: Loading TestModule ‘mathstuff’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/test/mathstuff.
py (found_in_cache=True, class_only=False)
807 1587713808.16087: Loading FilterModule ‘core’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/core.py (fo
und_in_cache=True, class_only=False)
807 1587713808.16108: Loading FilterModule ‘gcp_kms_filters’ from /py36env/lib64/python3.6/site-packages/ansible/plugins/filter/
gcp_kms_filters.py (found_in_cache=True, class_only=False)
failed: [10.5.4.58] (item={‘name’: ‘kafka’, ‘allowed_domains’: ‘osvcstageiad.oraclevcn.com, shared-services’, ‘allow_subdomains’: T
rue, ‘max_ttl’: ‘43800h’, ‘allow_any_name’: False, ‘enforce_hostnames’: True}) => {
“ansible_loop_var”: “item”,
“changed”: false,
“item”: {
“allow_any_name”: false,
“allow_subdomains”: true,
“allowed_domains”: “osvcstageiad.oraclevcn.com, shared-services”,
“enforce_hostnames”: true,
“max_ttl”: “43800h”,
“name”: “kafka”
},
“module_stderr”: “OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /root/.ssh/config\r\nde
bug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto
-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: m
ux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_re
quest_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 732\r\ndebug3: mux_client_request_session: session request se
nt\r\ndebug1: mux_client_request_session: master session id: 2\r\nTraceback (most recent call last):\n File "", line 102,
in \n File "", line 94, in _ansiballz_main\n File "", line 40, in invoke_module\n File "/usr/lib64/p
ython2.7/runpy.py", line 176, in run_module\n fname, loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 82, in _
run_module_code\n mod_name, mod_fname, mod_loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 72, in run_code\n
exec code in run_globals\n File "/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/mod
ules/hashivault/hashivault_write.py", line 229, in \n File "/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashiva
ult_write_payload.zip/ansible/modules/hashivault/hashivault_write.py", line 109, in main\n File "/tmp/ansible_hashivault_write_p
ayload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py", line 2072, in exit_json\n File "/tmp/ansible
hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py", line 2065, in return_formatt
ed\n File "/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module_utils/basic.py", lin
e 418, in remove_values\n File "/tmp/ansible_hashivault_write_payload_Z9CYoA/ansible_hashivault_write_payload.zip/ansible/module
utils/basic.py", line 401, in _remove_values_conditions\nTypeError: Value of unknown type: <class ‘requests.models.Response’>, <Re
sponse [204]>\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n”,
“module_stdout”: “”,
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
“rc”: 1
}
`