ansible-collections / community.aws

Ansible Collection for Community AWS
GNU General Public License v3.0
185 stars 393 forks source link

Unable to configure Mac EC2 instances with Ansible over SSM #1641

Open spikeburton opened 1 year ago

spikeburton commented 1 year ago

Summary

When attempting to configure an EC2 instance of type mac2.metal, Ansible execution will hang indefinitely. The step that seems to cause the issue is the curl GET request when the Python script is copied from the S3 bucket to the host. The file is either never successfully copied, or the plug-in does not seem to recognize that it has been.

Of note - I do not experience this issue when running the playbook from my local machine in a Docker container. However, it is reproducible when running from elsewhere - another EC2 instance in the same VPC, AWS CodeBuild, GitHub Actions etc.

Issue Type

Bug Report

Component Name

aws_ssm

Ansible Version

$ ansible --version
ansible [core 2.13.4]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.11.0 (main, Oct 24 2022, 00:00:00) [GCC 12.2.1 20220819 (Red Hat 12.2.1-2)]
  jinja version = 3.1.2
  libyaml = True

Collection Versions

$ ansible-galaxy collection list
# /usr/local/lib/python3.11/site-packages/ansible_collections
Collection                    Version
----------------------------- -------
amazon.aws                    3.4.0
ansible.netcommon             3.1.1
ansible.posix                 1.4.0
ansible.utils                 2.6.1
ansible.windows               1.11.1
arista.eos                    5.0.1
awx.awx                       21.5.0
azure.azcollection            1.13.0
check_point.mgmt              2.3.0
chocolatey.chocolatey         1.3.0
cisco.aci                     2.2.0
cisco.asa                     3.1.0
cisco.dnac                    6.6.0
cisco.intersight              1.0.19
cisco.ios                     3.3.1
cisco.iosxr                   3.3.1
cisco.ise                     2.5.3
cisco.meraki                  2.11.0
cisco.mso                     2.0.0
cisco.nso                     1.0.3
cisco.nxos                    3.1.1
cisco.ucs                     1.8.0
cloud.common                  2.1.2
cloudscale_ch.cloud           2.2.2
community.aws                 3.5.0
community.azure               1.1.0
community.ciscosmb            1.0.5
community.crypto              2.5.0
community.digitalocean        1.21.0
community.dns                 2.3.2
community.docker              2.7.1
community.fortios             1.0.0
community.general             5.6.0
community.google              1.0.0
community.grafana             1.5.2
community.hashi_vault         3.2.0
community.hrobot              1.5.2
community.libvirt             1.2.0
community.mongodb             1.4.2
community.mysql               3.5.1
community.network             4.0.1
community.okd                 2.2.0
community.postgresql          2.2.0
community.proxysql            1.4.0
community.rabbitmq            1.2.2
community.routeros            2.3.0
community.sap                 1.0.0
community.sap_libs            1.3.0
community.skydive             1.0.0
community.sops                1.4.0
community.vmware              2.9.1
community.windows             1.11.0
community.zabbix              1.8.0
containers.podman             1.9.4
cyberark.conjur               1.2.0
cyberark.pas                  1.0.14
dellemc.enterprise_sonic      1.1.2
dellemc.openmanage            5.5.0
dellemc.os10                  1.1.1
dellemc.os6                   1.0.7
dellemc.os9                   1.0.4
f5networks.f5_modules         1.19.0
fortinet.fortimanager         2.1.5
fortinet.fortios              2.1.7
frr.frr                       2.0.0
gluster.gluster               1.0.2
google.cloud                  1.0.2
hetzner.hcloud                1.8.2
hpe.nimble                    1.1.4
ibm.qradar                    2.1.0
ibm.spectrum_virtualize       1.9.0
infinidat.infinibox           1.3.3
infoblox.nios_modules         1.3.0
inspur.ispim                  1.0.1
inspur.sm                     2.0.0
junipernetworks.junos         3.1.0
kubernetes.core               2.3.2
mellanox.onyx                 1.0.0
netapp.aws                    21.7.0
netapp.azure                  21.10.0
netapp.cloudmanager           21.19.0
netapp.elementsw              21.7.0
netapp.ontap                  21.23.0
netapp.storagegrid            21.11.0
netapp.um_info                21.8.0
netapp_eseries.santricity     1.3.1
netbox.netbox                 3.7.1
ngine_io.cloudstack           2.2.4
ngine_io.exoscale             1.0.0
ngine_io.vultr                1.1.2
openstack.cloud               1.9.1
openvswitch.openvswitch       2.1.0
ovirt.ovirt                   2.2.3
purestorage.flasharray        1.13.0
purestorage.flashblade        1.10.0
purestorage.fusion            1.1.0
sensu.sensu_go                1.13.1
servicenow.servicenow         1.0.6
splunk.es                     2.1.0
t_systems_mms.icinga_director 1.31.0
theforeman.foreman            3.6.0
vmware.vmware_rest            2.2.0
vultr.cloud                   1.1.0
vyos.vyos                     3.0.1
wti.remote                    1.0.4

# /root/.ansible/collections/ansible_collections
Collection        Version
----------------- -------
amazon.aws        5.1.0
community.aws     5.1.0
community.crypto  2.7.0
community.general 5.6.0
community.sops    1.4.1
kubernetes.core   2.3.2

AWS SDK versions

$ pip show boto boto3 botocore
WARNING: Package(s) not found: boto
Name: boto3
Version: 1.26.30
Summary: The AWS SDK for Python
Home-page: https://github.com/boto/boto3
Author: Amazon Web Services
Author-email:
License: Apache License 2.0
Location: /usr/local/lib/python3.11/site-packages
Requires: botocore, jmespath, s3transfer
Required-by:
---
Name: botocore
Version: 1.29.30
Summary: Low-level, data-driven core of boto 3.
Home-page: https://github.com/boto/botocore
Author: Amazon Web Services
Author-email:
License: Apache License 2.0
Location: /usr/local/lib/python3.11/site-packages
Requires: jmespath, python-dateutil, urllib3
Required-by: boto3, s3transfer

Configuration

No response

OS / Environment

Target OS: macOS 13.0.1

$ uname -a
Darwin ip-10-0-135-47.ec2.internal 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 arm64
$ sw_vers
ProductName:        macOS
ProductVersion:     13.0.1
BuildVersion:       22A400

Ansible is run from a Docker container based off of fedora 37.

Steps to Reproduce

# Inventory (aws_ec2.yml)
plugin: amazon.aws.aws_ec2
regions:
- us-east-1

keyed_groups:
  - prefix: cluster
    key: tags['Cluster']
filters:
  instance-type: mac2.metal
compose:
  ansible_host: instance_id
---
# Playbook (site.yml)
- hosts: cluster_<redacted>
  connection: community.aws.aws_ssm
  gather_facts: false
  vars:
    ansible_python_interpreter: /usr/bin/python3
    ansible_aws_ssm_bucket_name: <redacted>
    ansible_aws_ssm_region: us-east-1
  tasks:
    - ec2_metadata_facts:
    - debug:
        var: ansible_ec2_hostname

Expected Results

The playbook should run within a matter of minutes. When running the same playbook against a Linux instance, it only takes a few minutes.

Actual Results

The task will always at least result in an ssm_retry or never finish at all

TASK [ec2_metadata_facts] ********************************************************************************************
task path: /terraform/ansible/site.yml:9
Loading collection community.aws from /root/.ansible/collections/ansible_collections/community/aws
redirecting (type: modules) ansible.builtin.ec2_metadata_facts to amazon.aws.ec2_metadata_facts
<i-0d9244cbfca53213c> ESTABLISH SSM CONNECTION TO: i-0d9244cbfca53213c
<i-0d9244cbfca53213c> SSM COMMAND: ['/usr/local/bin/session-manager-plugin', '{"SessionId": "i-0ecbf298ae85ffcad-052ecab4abbea7427", "TokenValue": "AAEAAbECN10R60d1bdT1kztqbOZsc66oUQtU30wKcv7bP5l2AAAAAGO3G8pPludhE3oHgtAtsoAcbkTW+kC/9L6TSI1a/3RUHkZ1vtmj+kpT/y2+xk2iXicRQHA+FdP4wliJwhGf+4Lh/2ceOpiTf28r6yh97l0n34lMfvJ0eS369shQceYu3K4yNJ/KxH1UdIONJBjjla8m7td+ZuOQeE1BMZ3pCGOZuDEkLnTivrjLFT5L5FNDNFm6aH9n6Jnk2FG/4BXbxOSOYp9fmRaQ+lbhEs9mvGNJqz408miDjBWDMtK08r3s7FzGa/JXg/6wc7ce0fCoxG1taJm/adDd4v6VYSgm9xDhShJHYdvkuRXc9ZLgnAzXQ2WLviQEYwc+VP0LdSuat1/CuSJKZ0cYw/27rAaYN0Tg7WBocOVgv5uM5n4u6DhAy3xZ1g6ASbSY0AGyHhSNwQ5RWLm4hHPFwd9CgpVu4m2PcBVB/rrVLp0ejzk0p3m9Gfz+7TjBZurdKFuPV5mxHkfXRNh6RfRc7AzdTOiMD4D9T/EgI8v60gCs3Z0Skf9DpgDtBNLLuFx83MROD59Td+lbFbKTtWaJBrsGL07bp+7a6wz54TMS8yrJUIMn5f43OO+3xmMB6U7Ix6FQP+l/ADrk7snv", "StreamUrl": "wss://ssmmessages.us-east-1.amazonaws.com/v1/data-channel/i-0ecbf298ae85ffcad-052ecab4abbea7427?role=publish_subscribe&cell-number=AAEAAQ2CF8in/1l19XDW1TrjfTTRJupk7TVoODsrS4Pr4WiPAAAAAGO3G8pHQMlbGOYvhKQiI/HQjiivkMcldiJuheBHxcbNi+y45g==", "ResponseMetadata": {"RequestId": "2115d337-f8ba-4e18-87ce-3454c4bcd54b", "HTTPStatusCode": 200, "HTTPHeaders": {"server": "Server", "date": "Thu, 05 Jan 2023 18:49:47 GMT", "content-type": "application/x-amz-json-1.1", "content-length": "975", "connection": "keep-alive", "x-amzn-requestid": "2115d337-f8ba-4e18-87ce-3454c4bcd54b"}, "RetryAttempts": 0}}', 'us-east-1', 'StartSession', '', '{"Target": "i-0d9244cbfca53213c"}', 'https://ssm.us-east-1.amazonaws.com']
<i-0d9244cbfca53213c> SSM CONNECTION ID: i-0ecbf298ae85ffcad-052ecab4abbea7427
<i-0d9244cbfca53213c> EXEC echo ~
<i-0d9244cbfca53213c> _wrap_command: 'echo IAbhjWgjwvznGcCnfDAYQxIRNh
echo ~
echo $'\n'$?
echo tzsTHmuEmFzJTAhydcsoTtKflC
'
<i-0d9244cbfca53213c> EXEC stdout line:
<i-0d9244cbfca53213c> EXEC stdout line: Starting session with SessionId: i-0ecbf298ae85ffcad-052ecab4abbea7427
<i-0d9244cbfca53213c> EXEC remaining: 60
<i-0d9244cbfca53213c> EXEC stdout line: sh-3.2$ stty -echo
<i-0d9244cbfca53213c> EXEC stdout line: sh-3.2$ IAbhjWgjwvznGcCnfDAYQxIRNh
<i-0d9244cbfca53213c> EXEC stdout line: /Users/ssm-user
<i-0d9244cbfca53213c> EXEC stdout line:
<i-0d9244cbfca53213c> EXEC stdout line: 0
<i-0d9244cbfca53213c> EXEC stdout line: tzsTHmuEmFzJTAhydcsoTtKflC
<i-0d9244cbfca53213c> POST_PROCESS: /Users/ssm-user

0
<i-0d9244cbfca53213c> (0, '/Users/ssm-user\r\r', '')
<i-0d9244cbfca53213c> EXEC ( umask 77 && mkdir -p "` echo /Users/ssm-user/.ansible/tmp `"&& mkdir "` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534 `" && echo ansible-tmp-1672944588.2457452-166-89326473456534="` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534 `" )
<i-0d9244cbfca53213c> _wrap_command: 'echo hWTOyYDyxKxcnazymPmIRTlFOW
( umask 77 && mkdir -p "` echo /Users/ssm-user/.ansible/tmp `"&& mkdir "` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534 `" && echo ansible-tmp-1672944588.2457452-166-89326473456534="` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534 `" )
echo $'\n'$?
echo SLqHqkWTNNCqAbaFIhifOTmGbM
'
<i-0d9244cbfca53213c> EXEC stdout line: hWTOyYDyxKxcnazymPmIRTlFOW
<i-0d9244cbfca53213c> EXEC stdout line: ansible-tmp-1672944588.2457452-166-89326473456534=/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534
<i-0d9244cbfca53213c> EXEC stdout line:
<i-0d9244cbfca53213c> EXEC stdout line: 0
<i-0d9244cbfca53213c> EXEC stdout line: SLqHqkWTNNCqAbaFIhifOTmGbM
<i-0d9244cbfca53213c> POST_PROCESS: ansible-tmp-1672944588.2457452-166-89326473456534=/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534

0
<i-0d9244cbfca53213c> (0, 'ansible-tmp-1672944588.2457452-166-89326473456534=/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534\r\r', '')
redirecting (type: modules) ansible.builtin.ec2_metadata_facts to amazon.aws.ec2_metadata_facts
Using module file /root/.ansible/collections/ansible_collections/amazon/aws/plugins/modules/ec2_metadata_facts.py
<i-0d9244cbfca53213c> PUT /root/.ansible/tmp/ansible-local-162yvy3a8c6/tmp132eg85q TO /Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py
<i-0d9244cbfca53213c> EXEC curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCfkTHpltc%2F%2BVF1y5omV%2BFN6OJtgu%2BSrrv86jY5ViiLIgIhAI3c35Hnmu9YAaTuF5OY%2F5YRDe%2FmRT1nFYjtPsFT78ssKswECBwQABoMMTY1OTUzNTAyNzA3IgxIwwo5TbW5rmtCK68qqQRpca7cXy6XhsNi9OFQ3zTKd3Ac3AvXpXzkpmENrBf3iII2bQMhszc4Ctjm4OVScp8HnSkZliu4OoRiQ3VRuSgpHANlHhALDtp7cCqs6TvHnAymaQNXmtCTZLmqdhAKbT%2FWpWz5VRYe7iux8PeR6TcHicr3Hsr6Hal8RNM4YeWVVbAnvpSUfbCeSkUNHGN5ObJtXfzAtrKM4SUbTzv6G3iDIqdBRtVT0HU71akkkCGhPKr85niNkBS%2B8svyiqIM3owqctuVCY88WVftVzPTd9iamKG%2BnfxC8Sv9S9BZ5eoQ%2Feqv6fZaJLHT8PaN9ZBGZjXJbJfHsbX%2BO6lduw2WSsrhYOBABdfsczZf3%2Flvh5mKqFcWBz5JaBHU3Acf%2F8UEuKNEwJXV354raP1nyokIUiGZPZmH8JSzj7jRyKH37m6xnBpzDhD5c3DiBwKltDSGaJM6IEXMbX4MFSTRMqaleDMR1YDD5tFpLLUam8UtQF8Ws%2BMEZnZbWg8wbb42Kb%2BE6pm3%2FC0wdterDoLVKG5%2BDXWW32LR3Hf5Iveni8JczLFy2L2HLqp%2F9mX0JHYAdD3ceNE3coyLfK3U1i9GyXxOpRbVGcvFxu9BnAgaxHE7Phop7aWAnurYeIOP7oX4CAW6dwHM62vcJ40W2VcyaGxkuOnF0kCsEg7sCAqylxkdFKMHVL0RF4lPGEy58Upo2k3k68w5ba%2Bs6W6vcoQwCeaHtTf1yV694ISHc%2FsWMIK03J0GOqgBVC9F4Xkiz7X4ebgOtQoZBmSILAYL1zdU0O%2F6QyTT4j3ZQjU9%2BjfeFBgpufzR5%2BN85n4lvpVGfvsaco4GcbmBuBwa1hGxkVXNlN8Wy9so2MowleewooxQFjqntOj6H6N8d400rjLcXc%2FAfvyyHFEQVJsiPnO0H1pv%2BsfhtapMuirIbscP62tVwVnHqqR3hIxGUab4rU8tnXAwLDSEHvg4bnJjzCyQxhxW&X-Amz-Signature=7a346b9e79bb8cb13dd1572bf7c2aa5e8cb1e522ab6eee1fbb3af80c674a2918' -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py'
<i-0d9244cbfca53213c> _wrap_command: 'echo lwJkkPkZHTbbJkrWArJTXLPXYe
curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCfkTHpltc%2F%2BVF1y5omV%2BFN6OJtgu%2BSrrv86jY5ViiLIgIhAI3c35Hnmu9YAaTuF5OY%2F5YRDe%2F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W&X-Amz-Signature=7a346b9e79bb8cb13dd1572bf7c2aa5e8cb1e522ab6eee1fbb3af80c674a2918' -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py'
echo $'\n'$?
echo LrEDcEUmEhGFUrKVEHZbKgenwQ
'
<i-0d9244cbfca53213c> EXEC stdout line: lwJkkPkZHTbbJkrWArJTXLPXYe
<i-0d9244cbfca53213c> EXEC remaining: 60
<i-0d9244cbfca53213c> EXEC remaining: 59
<i-0d9244cbfca53213c> EXEC remaining: 58
<i-0d9244cbfca53213c> EXEC remaining: 57
<i-0d9244cbfca53213c> EXEC remaining: 56
<i-0d9244cbfca53213c> EXEC remaining: 55
<i-0d9244cbfca53213c> EXEC remaining: 54
<i-0d9244cbfca53213c> EXEC remaining: 53
<i-0d9244cbfca53213c> EXEC remaining: 52
<i-0d9244cbfca53213c> EXEC remaining: 51
<i-0d9244cbfca53213c> EXEC remaining: 50
<i-0d9244cbfca53213c> EXEC remaining: 49
<i-0d9244cbfca53213c> EXEC remaining: 48
<i-0d9244cbfca53213c> EXEC remaining: 47
<i-0d9244cbfca53213c> EXEC remaining: 46
<i-0d9244cbfca53213c> EXEC remaining: 45
<i-0d9244cbfca53213c> EXEC remaining: 44
<i-0d9244cbfca53213c> EXEC remaining: 43
<i-0d9244cbfca53213c> EXEC remaining: 42
<i-0d9244cbfca53213c> EXEC remaining: 41
<i-0d9244cbfca53213c> EXEC remaining: 40
<i-0d9244cbfca53213c> EXEC remaining: 39
<i-0d9244cbfca53213c> EXEC remaining: 38
<i-0d9244cbfca53213c> EXEC remaining: 37
<i-0d9244cbfca53213c> EXEC remaining: 36
<i-0d9244cbfca53213c> EXEC remaining: 35
<i-0d9244cbfca53213c> EXEC remaining: 34
<i-0d9244cbfca53213c> EXEC remaining: 33
<i-0d9244cbfca53213c> EXEC remaining: 32
<i-0d9244cbfca53213c> EXEC remaining: 31
<i-0d9244cbfca53213c> EXEC remaining: 30
<i-0d9244cbfca53213c> EXEC remaining: 29
<i-0d9244cbfca53213c> EXEC remaining: 28
<i-0d9244cbfca53213c> EXEC remaining: 27
<i-0d9244cbfca53213c> EXEC remaining: 26
<i-0d9244cbfca53213c> EXEC remaining: 25
<i-0d9244cbfca53213c> EXEC remaining: 24
<i-0d9244cbfca53213c> EXEC remaining: 23
<i-0d9244cbfca53213c> EXEC remaining: 22
<i-0d9244cbfca53213c> EXEC remaining: 21
<i-0d9244cbfca53213c> EXEC remaining: 20
<i-0d9244cbfca53213c> EXEC remaining: 19
<i-0d9244cbfca53213c> EXEC remaining: 18
<i-0d9244cbfca53213c> EXEC remaining: 17
<i-0d9244cbfca53213c> EXEC remaining: 16
<i-0d9244cbfca53213c> EXEC remaining: 15
<i-0d9244cbfca53213c> EXEC remaining: 14
<i-0d9244cbfca53213c> EXEC remaining: 13
<i-0d9244cbfca53213c> EXEC remaining: 12
<i-0d9244cbfca53213c> EXEC remaining: 11
<i-0d9244cbfca53213c> EXEC remaining: 10
<i-0d9244cbfca53213c> EXEC remaining: 9
<i-0d9244cbfca53213c> EXEC remaining: 8
<i-0d9244cbfca53213c> EXEC remaining: 7
<i-0d9244cbfca53213c> EXEC remaining: 6
<i-0d9244cbfca53213c> EXEC remaining: 5
<i-0d9244cbfca53213c> EXEC remaining: 4
<i-0d9244cbfca53213c> EXEC remaining: 3
<i-0d9244cbfca53213c> EXEC remaining: 2
<i-0d9244cbfca53213c> EXEC remaining: 1
<i-0d9244cbfca53213c> EXEC timeout stdout:
<i-0d9244cbfca53213c> ssm_retry: attempt: 0, cmd (curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&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mSILAYL1zdU0O%2F6QyTT4j3ZQjU9%2BjfeFBgpufzR5%2BN85n4lvpVGfvsaco4GcbmBuBwa1hGxkVXNlN8Wy9so2MowleewooxQFjqntOj6H6N8d400rjLcXc%2FAfvyyHFEQVJsiPnO0H1pv%2BsfhtapMuirIbscP62tVwVnHqqR3hIxGUab4rU8tnXAwLDSEHvg4bnJjzCyQxhxW&X-Amz-Signature=7a346b9e79bb8cb13dd1572bf7c2aa5e8cb1e522ab6eee1fbb3af80c674a2918' -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py'...), pausing for 0 seconds
<i-0d9244cbfca53213c> CLOSING SSM CONNECTION TO: i-0d9244cbfca53213c
<i-0d9244cbfca53213c> TERMINATE SSM SESSION: i-0ecbf298ae85ffcad-052ecab4abbea7427
<i-0d9244cbfca53213c> ESTABLISH SSM CONNECTION TO: i-0d9244cbfca53213c
<i-0d9244cbfca53213c> SSM COMMAND: ['/usr/local/bin/session-manager-plugin', '{"SessionId": "i-0ecbf298ae85ffcad-02075bcfce7c35a01", "TokenValue": "AAEAAQgrBRHfQKp6vEdWEZ9sQOFXtKGKf3v8FaaQBBt5D+RdAAAAAGO3HA805TKuFpRR5lTsYyoanJNvds6kyXKgec3wfctbukXIttyqbXuZ+nFJsUr1Ip6QZ71RTEZI8y9ZikNEymU2VOcUF/TcvxUle8q16o/nC/hwupNbDt2VIAlI2jWCdRKxZvz5iW8uS37NysM4F4x343To8i5k/cNGkek3TO7B0EWucN4jXgCXJxnbZVD3KGZUUPE3tza/Y7uk9PhCT06D4bRr95yGb4eoLDpR9HJqaPnQmBP1nCm+xw650x/MxqJO9vT8WWHFmx7DaRb7gcjh28H6ckdw5CQ0QPzgUOdm+cZ/8LxfbbmOCPVGfwSkyvpnot5x5qOJfjoFba9+CwAB4utE7JdP2nzUOWdNxU2mzzTlLVu8qAhkfOwB8kFeOkD6HXUCFfv2bIURBzC6llwfnM9uBN65gVPpWBB13t+mMSpHcPdFfWsm0aaDrV+ICuNIjbhk49G7tpEvRMy5euMPUP4StOb6zusz4bwM9tjwJBytFsmuKIVRtH3jQfA/xvL9BAkCpu5nbggPeF8KcbMLNU1PLX/4IIazj4eSJXEYDIVp2WaCeCiQxmtTDKnsEjED8OcQGrEZNqDAWPGFRkmk4Zvw", "StreamUrl": "wss://ssmmessages.us-east-1.amazonaws.com/v1/data-channel/i-0ecbf298ae85ffcad-02075bcfce7c35a01?role=publish_subscribe&cell-number=AAEAAYixBKKwbHMOV5TaCMfpVcChbxntwVXv41tJhgkNc5llAAAAAGO3HA+hBtPTqM2yGbkH8fZAlpQsjrQDzJS9Q1DlXmC606q1ag==", "ResponseMetadata": {"RequestId": "a4538036-065d-4f88-b014-347955035426", "HTTPStatusCode": 200, "HTTPHeaders": {"server": "Server", "date": "Thu, 05 Jan 2023 18:50:55 GMT", "content-type": "application/x-amz-json-1.1", "content-length": "975", "connection": "keep-alive", "x-amzn-requestid": "a4538036-065d-4f88-b014-347955035426"}, "RetryAttempts": 0}}', 'us-east-1', 'StartSession', '', '{"Target": "i-0d9244cbfca53213c"}', 'https://ssm.us-east-1.amazonaws.com']
<i-0d9244cbfca53213c> SSM CONNECTION ID: i-0ecbf298ae85ffcad-02075bcfce7c35a01
<i-0d9244cbfca53213c> EXEC curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCfkTHpltc%2F%2BVF1y5omV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v%2BsfhtapMuirIbscP62tVwVnHqqR3hIxGUab4rU8tnXAwLDSEHvg4bnJjzCyQxhxW&X-Amz-Signature=7a346b9e79bb8cb13dd1572bf7c2aa5e8cb1e522ab6eee1fbb3af80c674a2918' -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py'
<i-0d9244cbfca53213c> _wrap_command: 'echo BKRyNfkdUmaFxINDAueCXxfQmR
curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCfkTHpltc%2F%2BVF1y5omV%2BFN6OJtgu%2BSrrv86jY5ViiLIgIhAI3c35Hnmu9YAaTuF5OY%2F5YRDe%2FmRT1nFYjtPsFT78ssKswECBwQABoMMTY1OTUzNTAyNzA3IgxIwwo5TbW5rmtCK68qqQRpca7cXy6XhsNi9OFQ3zTKd3Ac3AvXpXzkpmENrBf3iII2bQMhszc4Ctjm4OVScp8HnSkZliu4OoRiQ3VRuSgpHANlHhALDtp7cCqs6TvHnAymaQNXmtCTZLmqdhAKbT%2FWpWz5VRYe7iux8PeR6TcHicr3Hsr6Hal8RNM4YeWVVbAnvpSUfbCeSkUNHGN5ObJtXfzAtrKM4SUbTzv6G3iDIqdBRtVT0HU71akkkCGhPKr85niNkBS%2B8svyiqIM3owqctuVCY88WVftVzPTd9iamKG%2BnfxC8Sv9S9BZ5eoQ%2Feqv6fZaJLHT8PaN9ZBGZjXJbJfHsbX%2BO6lduw2WSsrhYOBABdfsczZf3%2Flvh5mKqFcWBz5JaBHU3Acf%2F8UEuKNEwJXV354raP1nyokIUiGZPZmH8JSzj7jRyKH37m6xnBpzDhD5c3DiBwKltDSGaJM6IEXMbX4MFSTRMqaleDMR1YDD5tFpLLUam8UtQF8Ws%2BMEZnZbWg8wbb42Kb%2BE6pm3%2FC0wdterDoLVKG5%2BDXWW32LR3Hf5Iveni8JczLFy2L2HLqp%2F9mX0JHYAdD3ceNE3coyLfK3U1i9GyXxOpRbVGcvFxu9BnAgaxHE7Phop7aWAnurYeIOP7oX4CAW6dwHM62vcJ40W2VcyaGxkuOnF0kCsEg7sCAqylxkdFKMHVL0RF4lPGEy58Upo2k3k68w5ba%2Bs6W6vcoQwCeaHtTf1yV694ISHc%2FsWMIK03J0GOqgBVC9F4Xkiz7X4ebgOtQoZBmSILAYL1zdU0O%2F6QyTT4j3ZQjU9%2BjfeFBgpufzR5%2BN85n4lvpVGfvsaco4GcbmBuBwa1hGxkVXNlN8Wy9so2MowleewooxQFjqntOj6H6N8d400rjLcXc%2FAfvyyHFEQVJsiPnO0H1pv%2BsfhtapMuirIbscP62tVwVnHqqR3hIxGUab4rU8tnXAwLDSEHvg4bnJjzCyQxhxW&X-Amz-Signature=7a346b9e79bb8cb13dd1572bf7c2aa5e8cb1e522ab6eee1fbb3af80c674a2918' -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py'
echo $'\n'$?
echo agOrElZZteWszLLJrYGrNZSqhW
'
<i-0d9244cbfca53213c> EXEC stdout line:
<i-0d9244cbfca53213c> EXEC stdout line: Starting session with SessionId: i-0ecbf298ae85ffcad-02075bcfce7c35a01
<i-0d9244cbfca53213c> EXEC remaining: 60
<i-0d9244cbfca53213c> EXEC stdout line: sh-3.2$ stty -echo
<i-0d9244cbfca53213c> EXEC stdout line: PS1=''
<i-0d9244cbfca53213c> EXEC stdout line: echo BKRyNfkdUmaFxINDAueCXxfQmR
<i-0d9244cbfca53213c> EXEC stdout line: curl 'https://<redacted>.s3.amazonaws.com/i-0d9244cbfca53213c//Users/ssm-user/.ansible/tmp/ansible-tmp-1672944588.2457452-166-89326473456534/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQNBAPFRS%2F20230105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230105T184953Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCfkTHpltc%2F%2BVF1y5omV%2BFN6OJtgu%2BSrrv86jY5ViiLIgIhAI3c35Hnmu9YAaTuF5OY%2F5YRDe%2FmRT1nFYjtPsFT78ssKswECBwQABoMMTY1OTUzNTAyNzA3IgxIwwo5TbW5rmtCK68qqQRpca7cXy6XhsNi9OFQ3zTKd3Ac3AvXpXzkpmENrBf3iII2bQMhszc4Ctjm4OVScp8HnSkZliu4OoRiQ3VRuSgpHANlHhALDtp7cCqs6TvHnAymaQNXmtCTZLmqdhAKbT%2FWpWz5VRYe7iux8PeR6TcHicr3Hsr6Hal8RNM4YeWVVbAnvpSUfbCeSkUNHGN5ObJtXfzAtrKM4SUbTzv6G3iDIqdBRtVT0HU71akkkCGhPKr85niNkBS%2B8svyiqIM3owqctuVCY88WVftVzPTd9iamKG%2BnfxC8Sv9S9BZ5eoQ%2Feqv6fZaJLHT8PaN9ZBGZjXJbJfHsbX%2BO6lduw2WSsrhYOBABsh-3.2$ BKRyNfkdUmaFxINDAueCXxfQmR
<i-0d9244cbfca53213c> EXEC stdout line:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
<i-0d9244cbfca53213c> EXEC stdout line:                                  Dload  Upload   Total   Spent    Left  Speed
100  161k  100  161k    0     0  1629k      0 --:--:-- --:--:-- --:--:-- 1810k
<i-0d9244cbfca53213c> EXEC stdout line:
<i-0d9244cbfca53213c> EXEC stdout line: 0
<i-0d9244cbfca53213c> EXEC stdout line: agOrElZZteWszLLJrYGrNZSqhW
<i-0d9244cbfca53213c> POST_PROCESS:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  161k  100  161k    0     0  1629k      0 --:--:-- --:--:-- --:--:-- 1810k

0
<i-0d9244cbfca53213c> (0, '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\r\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  161k  100  161k    0     0  1629k      0 --:--:-- --:--:-- --:--:-- 1810k\r\r', '')
<i-0d9244cbfca53213c> (0, '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\r\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  161k  100  161k    0     0  1629k      0 --:--:-- --:--:-- --:--:-- 1810k\r\r', '')

Code of Conduct

ansibullbot commented 1 year ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

tremble commented 1 year ago

Thanks for taking the time to open this issue.

With release 5.2.0 we've fixed a number of issues related to things getting "stuck". Please could you update your collection and retry.

spikeburton commented 1 year ago

@tremble tested today with v5.2.0 of community.aws and am still seeing the same issues with Ansible run from AWS CodeBuild

tremble commented 1 year ago

@spikeburton,

unfortunately I don't have access to the Mac instance types so I can't dig into it too much myself. (Mac instances are dedicated hosts and have a minimum cost of about $25, so the CI account I'm using blocks them)

What's odd about the output you pasted is that while the first attempt to download the module onto the target host looks like it failed, the second attempt appears to have succeeded. The output then stops, so I can't tell what happened after that.

One thing that's worth trying is using a simpler first task (such as ansible.builtin.ping). The ec2_metadata_facts module can attempt to make a dozen or so HTTP downloads, if something's dropping the relevant packets this can get pretty slow and might cause issues with conflicting timeouts (which might show up better if you increase ansible_aws_ssm_timeout).

With 5.2.0 we also tweaked the logging. Any chance of an updated and slightly more complete -vvvv output? (I know it's very verbose...)

spikeburton commented 1 year ago

@tremble Sure, here is the output from v5.2.0:

$ ansible-playbook -i aws/clusters/<redacted> aws/test.yml -e cluster_tag=<redacted> -vvvv | tee -a ansible.log
ansible-playbook [core 2.13.4]
  config file = /ansible/ansible.cfg
  configured module search path = ['/ansible/library']
  ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.8.10 (default, May  4 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)]
  jinja version = 3.1.2
  libyaml = True
Using /ansible/ansible.cfg as config file
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names
to new standard, use callbacks_enabled instead. This feature will be removed
from ansible-core in version 2.15. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
setting up inventory plugins
host_list declined parsing /ansible/aws/clusters/<redacted>/hosts as it did not pass its verify_file() method
script declined parsing /ansible/aws/clusters/<redacted>/hosts as it did not pass its verify_file() method
auto declined parsing /ansible/aws/clusters/<redacted>/hosts as it did not pass its verify_file() method
Parsed /ansible/aws/clusters/<redacted>/hosts inventory source with ini plugin
setting up inventory plugins
host_list declined parsing /ansible/aws/clusters/<redacted>/mac2.aws_ec2.yml as it did not pass its verify_file() method
script declined parsing /ansible/aws/clusters/<redacted>/mac2.aws_ec2.yml as it did not pass its verify_file() method
Loading collection amazon.aws from /root/.ansible/collections/ansible_collections/amazon/aws
Using inventory plugin 'ansible_collections.amazon.aws.plugins.inventory.aws_ec2' to process inventory source '/ansible/aws/clusters/<redacted>/mac2.aws_ec2.yml'
Parsed /ansible/aws/clusters/<redacted>/mac2.aws_ec2.yml inventory source with auto plugin
Loading collection community.sops from /root/.ansible/collections/ansible_collections/community/sops
redirecting (type: modules) ansible.builtin.ec2_metadata_facts to amazon.aws.ec2_metadata_facts
redirecting (type: callback) ansible.builtin.yaml to community.general.yaml
Loading collection community.general from /root/.ansible/collections/ansible_collections/community/general
redirecting (type: callback) ansible.builtin.yaml to community.general.yaml
Loading callback plugin community.general.yaml of type stdout, v2.0 from /root/.ansible/collections/ansible_collections/community/general/plugins/callback/yaml.py
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
Loading collection ansible.posix from /usr/local/lib/python3.8/site-packages/ansible_collections/ansible/posix
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Loading callback plugin ansible.posix.profile_tasks of type aggregate, v2.0 from /usr/local/lib/python3.8/site-packages/ansible_collections/ansible/posix/plugins/callback/profile_tasks.py

PLAYBOOK: test.yml *************************************************************
Positional arguments: aws/test.yml
verbosity: 4
connection: smart
timeout: 10
become_method: sudo
tags: ('all',)
inventory: ('/ansible/aws/clusters/<redacted>',)
extra_vars: ('cluster_tag=<redacted>',)
forks: 20
1 plays in aws/test.yml

PLAY [mac2_cluster_<redacted>] ************************************************
key: all./ansible/aws/clusters/<redacted>/group_vars
key: all./ansible/aws/group_vars
key: aws_ec2./ansible/aws/clusters/<redacted>/group_vars
key: mac2_cluster_<redacted>./ansible/aws/clusters/<redacted>/group_vars
key: aws_ec2./ansible/aws/group_vars
key: mac2_cluster_<redacted>./ansible/aws/group_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/clusters/<redacted>/host_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/host_vars
META: ran handlers
key: all./ansible/aws/clusters/<redacted>/group_vars
key: all./ansible/aws/group_vars
key: aws_ec2./ansible/aws/clusters/<redacted>/group_vars
key: mac2_cluster_<redacted>./ansible/aws/clusters/<redacted>/group_vars
key: aws_ec2./ansible/aws/group_vars
key: mac2_cluster_<redacted>./ansible/aws/group_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/clusters/<redacted>/host_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/host_vars

TASK [ec2_metadata_facts] ******************************************************
task path: /ansible/aws/test.yml:10
Wednesday 01 February 2023  19:55:43 +0000 (0:00:00.114)       0:00:00.114 ****
Loading collection community.aws from /root/.ansible/collections/ansible_collections/community/aws
redirecting (type: modules) ansible.builtin.ec2_metadata_facts to amazon.aws.ec2_metadata_facts
<i-00dee8803817a98d2> ESTABLISH SSM CONNECTION TO: i-00dee8803817a98d2
<i-00dee8803817a98d2> INITIALIZE BOTO3 CLIENTS
<i-00dee8803817a98d2> SETUP BOTO3 CLIENTS: SSM
<i-00dee8803817a98d2> _get_bucket_endpoint: S3 (global)
<i-00dee8803817a98d2> _get_bucket_endpoint: S3 (bucket region) - None
<i-00dee8803817a98d2> SETUP BOTO3 CLIENTS: S3 https://s3.amazonaws.com
<i-00dee8803817a98d2> START SSM SESSION: i-00dee8803817a98d2
<i-00dee8803817a98d2> SSM COMMAND: ['/usr/local/bin/session-manager-plugin', '{"SessionId": "i-0ecbf298ae85ffcad-040b7174bf61453a7", "TokenValue": "AAEAAQac/cgzFVAE6xS2hngDXQKNuhJ+mhDB0WWOaSytweuUAAAAAGPaw8S21A55sNVWktOdw4lPUmlsJwivCjMZVM0MoI5n3Xm8NWkXFJnSwr9naQRAQE0Tr/rpPO9mmB035Lu1Y5ObKQmvE9JfF8xdjlCn9cFOptip1OAokVaugjFO6aHoav8DBcChbTNtNAyYFaA6TfMjMcgnnwfIkLxRppWRCwfVSWWzuMoueR8zd70MGYoi4hKXi6YW8Kjj3W6EzYwZdwS+cKvgl6PwXB2Kkf70d6UZHk6GvR4HbmfissxVC1xVC7prQ57wMCcxQ9ibERbegYejHhJ/RTupMFAL51JvxoaDILsY4Dzn+QEi/3R79z3v7sm7LC9VoC4owvO2UXccmS8HvtF1ohb3+xoUrDSyhhJXWU6ffdEJpEBfBbew+GAASmUZdigaLlTJU9CPXaJnfkhe2AWefO3tgKNI4t+9imT1stiRwsMQMKB2nCbYWIA4+YTdVh1fa+N1TCBpezmVMd/ZcGBjMjTLhWZnMLAlzvs6EsC38EChYmit6Df3ZNuVQN22BmcQMdcrpktwkjysShS3rnXALLFChXJfP2+GMqlhjcWzHxItT/r7qPs0Iu1M33XIJTKj0S/y/2R6qgKRgG/lwqg6", "StreamUrl": "wss://ssmmessages.us-east-1.amazonaws.com/v1/data-channel/i-0ecbf298ae85ffcad-040b7174bf61453a7?role=publish_subscribe&cell-number=AAEAAbz4v+RuNLR5e3l4U0jB4Ik45rwuPT5Qk5FZXjdHkp75AAAAAGPaw8S2vvubCr2wiISXPnTb4cas2JjIqiQx/tr71YcEh/Zg+g==", "ResponseMetadata": {"RequestId": "dd4a8eb1-23d6-4831-87e0-26d2f57b3c9c", "HTTPStatusCode": 200, "HTTPHeaders": {"server": "Server", "date": "Wed, 01 Feb 2023 19:55:48 GMT", "content-type": "application/x-amz-json-1.1", "content-length": "975", "connection": "keep-alive", "x-amzn-requestid": "dd4a8eb1-23d6-4831-87e0-26d2f57b3c9c"}, "RetryAttempts": 0}}', 'us-east-1', 'StartSession', '', '{"Target": "i-00dee8803817a98d2"}', 'https://ssm.us-east-1.amazonaws.com']
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n'
<i-00dee8803817a98d2> PRE startup output received
<i-00dee8803817a98d2> PRE Disabling Echo: b'stty -echo\n'
<i-00dee8803817a98d2> PRE remaining: 60
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n\x1b[?1034hsh-3.2$ '
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n\x1b[?1034hsh-3.2$ s'
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\n'
<i-00dee8803817a98d2> PRE Disabling Prompt:
b"PS1='' ; printf '\\n%s\\n' 'KYbVhYQaPssHrEsKttNUAjsWWC'\n"
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\nsh-3.2$ '
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-040b7174bf61453a7\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\nsh-3.2$ \r\r\nKYbVhYQaPssHrEsKttNUAjsWWC\r\r\n'
<i-00dee8803817a98d2> PRE Terminal configured
<i-00dee8803817a98d2> SSM CONNECTION ID: i-0ecbf298ae85ffcad-040b7174bf61453a7
<i-00dee8803817a98d2> EXEC: echo ~
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'HqZYYsiYLzmKZPnPMtQuRENVAI';
echo | echo ~;
printf '\n%s\n%s\n' "$?" 'pmnGWkJSnwiJsqVsOWnFvXKWAA';
'
<i-00dee8803817a98d2> EXEC stdout line:
HqZYYsiYLzmKZPnPMtQuRENVAI
<i-00dee8803817a98d2> EXEC stdout line:
/Users/ssm-user
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
pmnGWkJSnwiJsqVsOWnFvXKWAA
<i-00dee8803817a98d2> POST_PROCESS:
/Users/ssm-user

0
<i-00dee8803817a98d2> POST_PROCESSED:
/Users/ssm-user
<i-00dee8803817a98d2> ssm_retry: (success) (0, '/Users/ssm-user\r\r', '')
<i-00dee8803817a98d2> EXEC: ( umask 77 && mkdir -p "` echo /Users/ssm-user/.ansible/tmp `"&& mkdir "` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106 `" && echo ansible-tmp-1675281349.6160102-90-44367041715106="` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106 `" )
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'FrrBvzyTkxCVnfZGoADPdLBvSA';
echo | ( umask 77 && mkdir -p "` echo /Users/ssm-user/.ansible/tmp `"&& mkdir "` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106 `" && echo ansible-tmp-1675281349.6160102-90-44367041715106="` echo /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106 `" );
printf '\n%s\n%s\n' "$?" 'CcCbVRnKWxknpIhrHwdpthYIdQ';
'
<i-00dee8803817a98d2> EXEC stdout line:
FrrBvzyTkxCVnfZGoADPdLBvSA
<i-00dee8803817a98d2> EXEC stdout line:
ansible-tmp-1675281349.6160102-90-44367041715106=/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
CcCbVRnKWxknpIhrHwdpthYIdQ
<i-00dee8803817a98d2> POST_PROCESS:
ansible-tmp-1675281349.6160102-90-44367041715106=/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106

0
<i-00dee8803817a98d2> POST_PROCESSED:
ansible-tmp-1675281349.6160102-90-44367041715106=/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106
<i-00dee8803817a98d2> ssm_retry: (success) (0, 'ansible-tmp-1675281349.6160102-90-44367041715106=/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106\r\r', '')
redirecting (type: modules) ansible.builtin.ec2_metadata_facts to amazon.aws.ec2_metadata_facts
Using module file /root/.ansible/collections/ansible_collections/amazon/aws/plugins/modules/ec2_metadata_facts.py
<i-00dee8803817a98d2> PUT /root/.ansible/tmp/ansible-local-84pbpyucmh/tmpe69x37jv TO /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py
<i-00dee8803817a98d2> EXEC: curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQKA3DSEJ%2F20230201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230201T195549Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEwaCXVzLWVhc3QtMSJHMEUCIQC9R%2BqcXUrS6WIhJG6FSY%2Fi79YdJ38W2WjDMt1GRDb%2BDwIgccY8GaPPeS1TfRw9RFomh0P2bJc0LJNA5c1b5ydhedcq1QQIxf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgwxNjU5NTM1MDI3MDciDJjuS47VcjAW1vLeNCqpBEjmFgHLpjSM3UyxBnXXxi5RWiqvBtoGEFNVG1QvNcwjvqs4B%2BhVNREgbJXOwAHpcw5tSfsqza5xJm0U0gfoMBnzxz%2Fzjz8p%2BzQ4GOZ%2BsFOWTkNdM9yDUKjYxHww0SzllXSmSrl5Bi6ujnwy9CTtjGqKwzwufG9qumoFTHOJQrIpKDfAFjQB1kuFlz008LSih2Pa4KGfiD6ymnPPBt4O5i7MWWZgz4WlAbKlfE4oLC2NU%2F%2FUjrnwprMqsAa6mrfKrO94aDcqr3bLnp8h0GRsWsJc7ARpznoKi8Gy12XY%2BoL%2FVrluSYhmMhXe5qTMDcJl%2BlE%2BeQKeQl0KW7H6t3dpjQKLz%2BrH26HJmJ345Oqyp%2FXDcW0QIU5C7suwHR7Z%2FbLuY7xkDQ%2FJD77YS%2BItC1PJDKWqaGyhSvDTJJSJqC8bjpufxg8OBlNH25rDajVxvMVlNFBK2hMS%2FMX8XraTbQSHx%2BJAG05r09JDBgBXFptsw6zuKmKo02HNSZDcRoldk%2B%2Bc7vfi4%2BjZHYcf3TVSAaIjbQsfZ3cL496xsrBbyIDf25PeHNxN%2B1LqxidM0VItZhtz0iwfOUz5vw9Tbb%2BRmg%2FlQNXRY%2Fe3dwiNG2keZDhLK%2BxQN2FDcsHk31xYBMmwKO%2BOUHA6I8SZT43aYnY3gZO6VkLmqc6EhI6%2F1PsjaD8Agl%2FTJKVNlkJlVf8g%2FmZkSeLX3SbET8SZEn%2FAP%2BOdT2NSZN6CFimqEUFO34swt%2FrqngY6qQFfbFDP2Kcddl9ABNcEoRSCjWt%2Bpjv89iDnMdie2j7u671pLw3bXrXQFUQk%2Bxx1QfnCUgwGwSkUEItGTkpjzigM0aI6YTdm2XL%2BB16vZZelG8jDNp%2BT8xEKv4EKHeHqqMsQWBTU9KAR8mUM0gRtWKpOEoEHAoP8ntOL1vUPDVMMhH2IAge9m48%2Bgu0Mxe6bDcxJdAPZtkf7TuN9akIWUYLx4E7VC%2FlEhSb%2B&X-Amz-Signature=f79341944708bea686b848f147da8bcc7ae0f6629eac56f6b27412a31c16be90'
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'MeYWjKHrDcnTpPuQyoVqPcuuXJ';
echo | curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQKA3DSEJ%2F20230201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230201T195549Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-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Wt%2Bpjv89iDnMdie2j7u671pLw3bXrXQFUQk%2Bxx1QfnCUgwGwSkUEItGTkpjzigM0aI6YTdm2XL%2BB16vZZelG8jDNp%2BT8xEKv4EKHeHqqMsQWBTU9KAR8mUM0gRtWKpOEoEHAoP8ntOL1vUPDVMMhH2IAge9m48%2Bgu0Mxe6bDcxJdAPZtkf7TuN9akIWUYLx4E7VC%2FlEhSb%2B&X-Amz-Signature=f79341944708bea686b848f147da8bcc7ae0f6629eac56f6b27412a31c16be90';
printf '\n%s\n%s\n' "$?" 'qWLoLBHRkgdPeYsMXhXLMFtZIN';
'
<i-00dee8803817a98d2> EXEC stdout line:
MeYWjKHrDcnTpPuQyoVqPcuuXJ
<i-00dee8803817a98d2> EXEC remaining: 60
<i-00dee8803817a98d2> EXEC remaining: 59
<i-00dee8803817a98d2> EXEC remaining: 58
<i-00dee8803817a98d2> EXEC remaining: 57
<i-00dee8803817a98d2> EXEC remaining: 56
<i-00dee8803817a98d2> EXEC remaining: 55
<i-00dee8803817a98d2> EXEC remaining: 54
<i-00dee8803817a98d2> EXEC remaining: 53
<i-00dee8803817a98d2> EXEC remaining: 52
<i-00dee8803817a98d2> EXEC remaining: 51
<i-00dee8803817a98d2> EXEC remaining: 50
<i-00dee8803817a98d2> EXEC remaining: 49
<i-00dee8803817a98d2> EXEC remaining: 48
<i-00dee8803817a98d2> EXEC remaining: 47
<i-00dee8803817a98d2> EXEC remaining: 46
<i-00dee8803817a98d2> EXEC remaining: 45
<i-00dee8803817a98d2> EXEC remaining: 44
<i-00dee8803817a98d2> EXEC remaining: 43
<i-00dee8803817a98d2> EXEC remaining: 42
<i-00dee8803817a98d2> EXEC remaining: 41
<i-00dee8803817a98d2> EXEC remaining: 40
<i-00dee8803817a98d2> EXEC remaining: 39
<i-00dee8803817a98d2> EXEC remaining: 38
<i-00dee8803817a98d2> EXEC remaining: 37
<i-00dee8803817a98d2> EXEC remaining: 36
<i-00dee8803817a98d2> EXEC remaining: 35
<i-00dee8803817a98d2> EXEC remaining: 34
<i-00dee8803817a98d2> EXEC remaining: 33
<i-00dee8803817a98d2> EXEC remaining: 32
<i-00dee8803817a98d2> EXEC remaining: 31
<i-00dee8803817a98d2> EXEC remaining: 30
<i-00dee8803817a98d2> EXEC remaining: 29
<i-00dee8803817a98d2> EXEC remaining: 28
<i-00dee8803817a98d2> EXEC remaining: 27
<i-00dee8803817a98d2> EXEC remaining: 26
<i-00dee8803817a98d2> EXEC remaining: 25
<i-00dee8803817a98d2> EXEC remaining: 24
<i-00dee8803817a98d2> EXEC remaining: 23
<i-00dee8803817a98d2> EXEC remaining: 22
<i-00dee8803817a98d2> EXEC remaining: 21
<i-00dee8803817a98d2> EXEC remaining: 20
<i-00dee8803817a98d2> EXEC remaining: 19
<i-00dee8803817a98d2> EXEC remaining: 18
<i-00dee8803817a98d2> EXEC remaining: 17
<i-00dee8803817a98d2> EXEC remaining: 16
<i-00dee8803817a98d2> EXEC remaining: 15
<i-00dee8803817a98d2> EXEC remaining: 14
<i-00dee8803817a98d2> EXEC remaining: 13
<i-00dee8803817a98d2> EXEC remaining: 12
<i-00dee8803817a98d2> EXEC remaining: 11
<i-00dee8803817a98d2> EXEC remaining: 10
<i-00dee8803817a98d2> EXEC remaining: 9
<i-00dee8803817a98d2> EXEC remaining: 8
<i-00dee8803817a98d2> EXEC remaining: 7
<i-00dee8803817a98d2> EXEC remaining: 6
<i-00dee8803817a98d2> EXEC remaining: 5
<i-00dee8803817a98d2> EXEC remaining: 4
<i-00dee8803817a98d2> EXEC remaining: 3
<i-00dee8803817a98d2> EXEC remaining: 2
<i-00dee8803817a98d2> EXEC remaining: 1
<i-00dee8803817a98d2> EXEC timeout stdout:
<i-00dee8803817a98d2> ssm_retry: attempt: 0, cmd (curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQKA3DSEJ%2F20230201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230201T195549Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEwaCXVzLWVhc3QtMSJHMEUCIQC9R%2BqcXUrS6WIhJG6FSY%2Fi79YdJ38W2WjDMt1GRDb%2BDwIgccY8GaPPeS1TfRw9RFomh0P2bJc0LJNA5c1b5ydhedcq1QQIxf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgwxNjU5NTM1MDI3MDciDJjuS47VcjAW1vLeNCqpBEjmFgHLpjSM3UyxBnXXxi5RWiqvBtoGEFNVG1QvNcwjvqs4B%2BhVNREgbJXOwAHpcw5tSfsqza5xJm0U0gfoMBnzxz%2Fzjz8p%2BzQ4GOZ%2BsFOWTkNdM9yDUKjYxHww0SzllXSmSrl5Bi6ujnwy9CTtjGqKwzwufG9qumoFTHOJQrIpKDfAFjQB1kuFlz008LSih2Pa4KGfiD6ymnPPBt4O5i7MWWZgz4WlAbKlfE4oLC2NU%2F%2FUjrnwprMqsAa6mrfKrO94aDcqr3bLnp8h0GRsWsJc7ARpznoKi8Gy12XY%2BoL%2FVrluSYhmMhXe5qTMDcJl%2BlE%2BeQKeQl0KW7H6t3dpjQKLz%2BrH26HJmJ345Oqyp%2FXDcW0QIU5C7suwHR7Z%2FbLuY7xkDQ%2FJD77YS%2BItC1PJDKWqaGyhSvDTJJSJqC8bjpufxg8OBlNH25rDajVxvMVlNFBK2hMS%2FMX8XraTbQSHx%2BJAG05r09JDBgBXFptsw6zuKmKo02HNSZDcRoldk%2B%2Bc7vfi4%2BjZHYcf3TVSAaIjbQsfZ3cL496xsrBbyIDf25PeHNxN%2B1LqxidM0VItZhtz0iwfOUz5vw9Tbb%2BRmg%2FlQNXRY%2Fe3dwiNG2keZDhLK%2BxQN2FDcsHk31xYBMmwKO%2BOUHA6I8SZT43aYnY3gZO6VkLmqc6EhI6%2F1PsjaD8Agl%2FTJKVNlkJlVf8g%2FmZkSeLX3SbET8SZEn%2FAP%2BOdT2NSZN6CFimqEUFO34swt%2FrqngY6qQFfbFDP2Kcddl9ABNcEoRSCjWt%2Bpjv89iDnMdie2j7u671pLw3bXrXQFUQk%2Bxx1QfnCUgwGwSkUEItGTkpjzigM0aI6YTdm2XL%2BB16vZZelG8jDNp%2BT8xEKv4EKHeHqqMsQWBTU9KAR8mUM0gRtWKpOEoEHAoP8ntOL1vUPDVMMhH2IAge9m48%2Bgu0Mxe6bDcxJdAPZtkf7TuN9akIWUYLx4E7VC%2FlEhSb%2B&X-Amz-Signature=f79341944708bea686b848f147da8bcc7ae0f6629eac56f6b27412a31c16be90'...), pausing for 0 seconds
<i-00dee8803817a98d2> CLOSING SSM CONNECTION TO: i-00dee8803817a98d2
<i-00dee8803817a98d2> TERMINATE SSM SESSION: i-0ecbf298ae85ffcad-040b7174bf61453a7
<i-00dee8803817a98d2> ESTABLISH SSM CONNECTION TO: i-00dee8803817a98d2
<i-00dee8803817a98d2> INITIALIZE BOTO3 CLIENTS
<i-00dee8803817a98d2> SETUP BOTO3 CLIENTS: SSM
<i-00dee8803817a98d2> _get_bucket_endpoint: S3 (global)
<i-00dee8803817a98d2> _get_bucket_endpoint: S3 (bucket region) - None
<i-00dee8803817a98d2> SETUP BOTO3 CLIENTS: S3 https://s3.amazonaws.com
<i-00dee8803817a98d2> START SSM SESSION: i-00dee8803817a98d2
<i-00dee8803817a98d2> SSM COMMAND: ['/usr/local/bin/session-manager-plugin', '{"SessionId": "i-0ecbf298ae85ffcad-04dae918fb1723d0d", "TokenValue": "AAEAAe0F0jVBBkfdudqNSv7jovcGTVtJDYxqBPg/p7pz7zOOAAAAAGPaxAbbR7whwVnTQshpQQmu4ZekDlmqayGQXK0WgtrnW3sRYa4qfENFdZqi/c1F4nkNBGjtHttcu85aSsnGp7EXpMDPfYALk7Bc6MKg4M9HoDXKOIt5IAAW7llJ76o7Os/JyMW7+pVQ7PsM9eRhxucDznlWBfCSaV76AHFAYsTMRZmiveboX1zfGBhTpuR9Sux7wOOlk/bIw0xTAwUzJe+4G39zpXNmSpeAkTKxpuekukjBvM3yrsx6BdYOtREVFmx6WkpVyk+Xc6x7US6nJ6Fctrj/1oDUhNfHtM3tjZRYJbt/anKHg1muusX95/GFMp9O0tiKVFY3ZwLNP+ItKCKsc3OPO9po2CUqct80WZpOgNwojAdHJJ9FEafdVIUzhZISZVznLdvSkhfiUtMPjeAOrGLf0t767WTTSoNLijFRCU0iWp+KgGGg+m3ElCEuaqLf98e0ZkCIs6610o4nejCaYNJ9FnHfbEJgFVP0YFPKBeLkHa8D2qPU8td5R65HsddKyZBWLqZcqzH8o7du4bIGrfhDy6476BY+OfI2v1dmsI2ktIn1FmgPhtHSLcyfW1I/va63yRF1CWFJr4HiRdHoJhhV", "StreamUrl": "wss://ssmmessages.us-east-1.amazonaws.com/v1/data-channel/i-0ecbf298ae85ffcad-04dae918fb1723d0d?role=publish_subscribe&cell-number=AAEAAWIc57y84KGG5UC59WoTCzrP/NVK1C/i6KkPfHSnvCv7AAAAAGPaxAaVk4zRr3CBKtyrMEbABEdPvL7UJF/3UtSE4Ggu6hth/g==", "ResponseMetadata": {"RequestId": "f6e0e4b9-b23f-4fa1-ba31-b6bb05dc044a", "HTTPStatusCode": 200, "HTTPHeaders": {"server": "Server", "date": "Wed, 01 Feb 2023 19:56:54 GMT", "content-type": "application/x-amz-json-1.1", "content-length": "975", "connection": "keep-alive", "x-amzn-requestid": "f6e0e4b9-b23f-4fa1-ba31-b6bb05dc044a"}, "RetryAttempts": 0}}', 'us-east-1', 'StartSession', '', '{"Target": "i-00dee8803817a98d2"}', 'https://ssm.us-east-1.amazonaws.com']
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n'
<i-00dee8803817a98d2> PRE startup output received
<i-00dee8803817a98d2> PRE Disabling Echo: b'stty -echo\n'
<i-00dee8803817a98d2> PRE remaining: 60
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n\x1b[?1034hsh-3.2$ '
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n\x1b[?1034hsh-3.2$ s'
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\n'
<i-00dee8803817a98d2> PRE Disabling Prompt:
b"PS1='' ; printf '\\n%s\\n' 'ndmCIOPMGXaJxsaOcqBKsjNCHB'\n"
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\nsh-3.2$ '
<i-00dee8803817a98d2> PRE stdout line:
b'\r\nStarting session with SessionId: i-0ecbf298ae85ffcad-04dae918fb1723d0d\r\n\x1b[?1034hsh-3.2$ stty -echo\r\r\nsh-3.2$ \r\r\nndmCIOPMGXaJxsaOcqBKsjNCHB\r\r\n'
<i-00dee8803817a98d2> PRE Terminal configured
<i-00dee8803817a98d2> SSM CONNECTION ID: i-0ecbf298ae85ffcad-04dae918fb1723d0d
<i-00dee8803817a98d2> EXEC: curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQKA3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KVNlkJlVf8g%2FmZkSeLX3SbET8SZEn%2FAP%2BOdT2NSZN6CFimqEUFO34swt%2FrqngY6qQFfbFDP2Kcddl9ABNcEoRSCjWt%2Bpjv89iDnMdie2j7u671pLw3bXrXQFUQk%2Bxx1QfnCUgwGwSkUEItGTkpjzigM0aI6YTdm2XL%2BB16vZZelG8jDNp%2BT8xEKv4EKHeHqqMsQWBTU9KAR8mUM0gRtWKpOEoEHAoP8ntOL1vUPDVMMhH2IAge9m48%2Bgu0Mxe6bDcxJdAPZtkf7TuN9akIWUYLx4E7VC%2FlEhSb%2B&X-Amz-Signature=f79341944708bea686b848f147da8bcc7ae0f6629eac56f6b27412a31c16be90'
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'myvdGlNoOoDlFfYpfvLFMLuOCs';
echo | curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZQKA3DSEJ%2F20230201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230201T195549Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEwaCXVzLWVhc3QtMSJHMEUCIQC9R%2BqcXUrS6WIhJG6FSY%2Fi79YdJ38W2WjDMt1GRDb%2BDwIgccY8GaPPeS1TfRw9RFomh0P2bJc0LJNA5c1b5ydhedcq1QQIxf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgwxNjU5NTM1MDI3MDciDJjuS47VcjAW1vLeNCqpBEjmFgHLpjSM3UyxBnXXxi5RWiqvBtoGEFNVG1QvNcwjvqs4B%2BhVNREgbJXOwAHpcw5tSfsqza5xJm0U0g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zWVOrYKFNp';
'
<i-00dee8803817a98d2> EXEC stdout line:
myvdGlNoOoDlFfYpfvLFMLuOCs
<i-00dee8803817a98d2> EXEC stdout line:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
<i-00dee8803817a98d2> EXEC stdout line:
                                 Dload  Upload   Total   Spent    Left  Speed
<i-00dee8803817a98d2> EXEC stdout line:
100  161k  100  161k    0     0  2154k      0 --:--:-- --:--:-- --:--:-- 2557k
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
CLFRwXwkEOAGqSkKzWVOrYKFNp
<i-00dee8803817a98d2> POST_PROCESS:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  161k  100  161k    0     0  2154k      0 --:--:-- --:--:-- --:--:-- 2557k

0
<i-00dee8803817a98d2> POST_PROCESSED:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  161k  100  161k    0     0  2154k      0 --:--:-- --:--:-- --:--:-- 2557k
<i-00dee8803817a98d2> ssm_retry: (success) (0, '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\r\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  161k  100  161k    0     0  2154k      0 --:--:-- --:--:-- --:--:-- 2557k\r\r', '')
<i-00dee8803817a98d2> ssm_retry: (success) (0, '  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\r\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  161k  100  161k    0     0  2154k      0 --:--:-- --:--:-- --:--:-- 2557k\r\r', '')
<i-00dee8803817a98d2> EXEC: chmod u+x /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/ /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'ytCnkdlhaEooexDEAIeQzfudgi';
echo | chmod u+x /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/ /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py;
printf '\n%s\n%s\n' "$?" 'DtKIHufAckHwrXZyHugzitaBNc';
'
<i-00dee8803817a98d2> EXEC stdout line:
ytCnkdlhaEooexDEAIeQzfudgi
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
DtKIHufAckHwrXZyHugzitaBNc
<i-00dee8803817a98d2> POST_PROCESS:

0
<i-00dee8803817a98d2> POST_PROCESSED:

<i-00dee8803817a98d2> ssm_retry: (success) (0, '\r', '')
<i-00dee8803817a98d2> EXEC: /usr/bin/python3 /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'JisWhWKWMNdbLqVFgDRNlwXaES';
echo | sudo /usr/bin/python3 /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/AnsiballZ_ec2_metadata_facts.py;
printf '\n%s\n%s\n' "$?" 'vBBuKnPFBRUrFUWkMIeuNggSRQ';
'
<i-00dee8803817a98d2> EXEC stdout line:
JisWhWKWMNdbLqVFgDRNlwXaES
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
{"changed": false, "ansible_facts": {"ansible_ec2_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_profile": "default-hvm", "ansible_ec2_system": "nitro", "ansible_ec2_ami_id": "<redacted>", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "sda1", "ansible_ec2_block_device_mapping_root": "/dev/sda1", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hibernation_configured": "false", "ansible_ec2_iam_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:41Z\",\n  \"InstanceProfileArn\" : \"arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile\",\n  \"InstanceProfileId\" : \"AIPASNI4ZPXZ6A3MVQPPM\"\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_lastupdated": "2023-02-01T19:31:41Z", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile", "ansible_ec2_iam_info_instanceprofileid": "AIPASNI4ZPXZ6A3MVQPPM", "ansible_ec2_iam_instance_profile_role": "orka-<redacted>-arm-instance-iam-role", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:23Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:51:26Z\"\n}", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_code": "Success", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_lastupdated": "2023-02-01T19:31:23Z", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_type": "AWS-HMAC", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_accesskeyid": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_secretaccesskey": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_token": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_expiration": "2023-02-02T01:51:26Z", "ansible_ec2_identity_credentials_ec2_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:26Z\",\n  \"AccountId\" : \"<redacted>\"\n}", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2023-02-01T19:31:26Z", "ansible_ec2_identity_credentials_ec2_info_accountid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:38Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:57:21Z\"\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2023-02-01T19:31:38Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2023-02-02T01:57:21Z", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-00dee8803817a98d2", "ansible_ec2_instance_life_cycle": "on-demand", "ansible_ec2_instance_type": "mac2.metal", "ansible_ec2_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_local_ipv4": "10.0.141.187", "ansible_ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_device_number": "0", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_interface_id": "eni-0f84e93a37911d732", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_ipv4s": "10.0.141.187", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_owner_id": "<redacted>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_group_ids": "sg-0ab8812d019973661", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_id": "subnet-0db1ead4e71d86cc4", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_ipv4_cidr_block": "10.0.128.0/20", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_id": "vpc-0a129ab80856a37ba", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_block": "10.0.0.0/16", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_blocks": "10.0.0.0/16", "ansible_ec2_placement_availability_zone": "us-east-1a", "ansible_ec2_placement_availability_zone_id": "use1-az4", "ansible_ec2_placement_host_id": "h-0c5e22652f6b447b1", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_reservation_id": "r-00396f83a330c3f41", "ansible_ec2_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": "#!/bin/bash\n/usr/local/bin/bootstrap-orka orka-<redacted>-cluster fs-00b7e1f76deb82c4f.fsx.us-east-1.amazonaws.com", "ansible_ec2_public_key": "None", "ansible_ec2_instance_identity_document": "{\n  \"accountId\" : \"<redacted>\",\n  \"architecture\" : \"arm64_mac\",\n  \"availabilityZone\" : \"us-east-1a\",\n  \"billingProducts\" : null,\n  \"devpayProductCodes\" : null,\n  \"marketplaceProductCodes\" : null,\n  \"imageId\" : \"<redacted>\",\n  \"instanceId\" : \"i-00dee8803817a98d2\",\n  \"instanceType\" : \"mac2.metal\",\n  \"kernelId\" : null,\n  \"pendingTime\" : \"2023-02-01T15:43:19Z\",\n  \"privateIp\" : \"10.0.141.187\",\n  \"ramdiskId\" : null,\n  \"region\" : \"us-east-1\",\n  \"version\" : \"2017-09-30\"\n}", "ansible_ec2_instance_identity_document_accountid": "<redacted>", "ansible_ec2_instance_identity_document_architecture": "arm64_mac", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1a", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "<redacted>", "ansible_ec2_instance_identity_document_instanceid": "i-00dee8803817a98d2", "ansible_ec2_instance_identity_document_instancetype": "mac2.metal", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_pendingtime": "2023-02-01T15:43:19Z", "ansible_ec2_instance_identity_document_privateip": "10.0.141.187", "ansible_ec2_instance_identity_document_ramdiskid": null, "ansible_ec2_instance_identity_document_region": "us-east-1", "ansible_ec2_instance_identity_document_version": "2017-09-30", "ansible_ec2_instance_identity_pkcs7": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCABIIB4XsKICAi\nYWNjb3VudElkIiA6ICIxNjU5NTM1MDI3MDciLAogICJhcmNoaXRlY3R1cmUiIDogImFybTY0X21h\nYyIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVzLW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G9w0BAQsFAASCAQBpnCzUfEyIWjkm/sxp\ndKqEfZL4/AkFwF8iFAIJgTjgleOYhQl2623wHdPgZ5u0RxvQjyVBVMYIgOcqbrzNnJ1W78V1gXW3\npcpey9s3v0/vWOgzoAUe0UrXndpVvGkzKXwNaUbfqOi5iwlspVI6cQNRJIlqmRMPr8pyeN4aWzDs\nGO0pRU4/duZGlGio9Sus9+LkMzNgTQB5fbDfBT77/l4+avPd1jV/0SlOTwHhjSB7aLVafjzttq1y\niWptHwVAuKaIUQH3VX3zfxdpz4WXIXfHS+i3NzFvsoOxTZLwOtDp9kui6az4oIN0GtpaqX5D2YAE\n5s8TDjIbcydIJwnu/XrKAAAAAAAA", "ansible_ec2_instance_identity_signature": "A4jWwIiSSCBsCASH7txL/Q6pUBrP5TbOKGhvoKZ50hKWzcKpwbc+n+VpjwaF88j5il3yF/gUiFf7\nxoUDO/KcpeB5LCYHtZSB08gBQ4HDrHsTv0E+u50Xl6eGl5mMoLSi//hpd56xlRqP82avSAOreLKx\nH0XBUPN6feod0X5SnS0="}, "invocation": {"module_args": {}}}
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
vBBuKnPFBRUrFUWkMIeuNggSRQ
<i-00dee8803817a98d2> POST_PROCESS:

{"changed": false, "ansible_facts": {"ansible_ec2_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_profile": "default-hvm", "ansible_ec2_system": "nitro", "ansible_ec2_ami_id": "<redacted>", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "sda1", "ansible_ec2_block_device_mapping_root": "/dev/sda1", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hibernation_configured": "false", "ansible_ec2_iam_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:41Z\",\n  \"InstanceProfileArn\" : \"arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile\",\n  \"InstanceProfileId\" : \"AIPASNI4ZPXZ6A3MVQPPM\"\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_lastupdated": "2023-02-01T19:31:41Z", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile", "ansible_ec2_iam_info_instanceprofileid": "AIPASNI4ZPXZ6A3MVQPPM", "ansible_ec2_iam_instance_profile_role": "orka-<redacted>-arm-instance-iam-role", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:23Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:51:26Z\"\n}", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_code": "Success", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_lastupdated": "2023-02-01T19:31:23Z", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_type": "AWS-HMAC", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_accesskeyid": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_secretaccesskey": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_token": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_expiration": "2023-02-02T01:51:26Z", "ansible_ec2_identity_credentials_ec2_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:26Z\",\n  \"AccountId\" : \"<redacted>\"\n}", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2023-02-01T19:31:26Z", "ansible_ec2_identity_credentials_ec2_info_accountid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:38Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:57:21Z\"\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2023-02-01T19:31:38Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2023-02-02T01:57:21Z", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-00dee8803817a98d2", "ansible_ec2_instance_life_cycle": "on-demand", "ansible_ec2_instance_type": "mac2.metal", "ansible_ec2_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_local_ipv4": "10.0.141.187", "ansible_ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_device_number": "0", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_interface_id": "eni-0f84e93a37911d732", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_ipv4s": "10.0.141.187", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_owner_id": "<redacted>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_group_ids": "sg-0ab8812d019973661", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_id": "subnet-0db1ead4e71d86cc4", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_ipv4_cidr_block": "10.0.128.0/20", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_id": "vpc-0a129ab80856a37ba", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_block": "10.0.0.0/16", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_blocks": "10.0.0.0/16", "ansible_ec2_placement_availability_zone": "us-east-1a", "ansible_ec2_placement_availability_zone_id": "use1-az4", "ansible_ec2_placement_host_id": "h-0c5e22652f6b447b1", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_reservation_id": "r-00396f83a330c3f41", "ansible_ec2_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": "#!/bin/bash\n/usr/local/bin/bootstrap-orka orka-<redacted>-cluster fs-00b7e1f76deb82c4f.fsx.us-east-1.amazonaws.com", "ansible_ec2_public_key": "None", "ansible_ec2_instance_identity_document": "{\n  \"accountId\" : \"<redacted>\",\n  \"architecture\" : \"arm64_mac\",\n  \"availabilityZone\" : \"us-east-1a\",\n  \"billingProducts\" : null,\n  \"devpayProductCodes\" : null,\n  \"marketplaceProductCodes\" : null,\n  \"imageId\" : \"<redacted>\",\n  \"instanceId\" : \"i-00dee8803817a98d2\",\n  \"instanceType\" : \"mac2.metal\",\n  \"kernelId\" : null,\n  \"pendingTime\" : \"2023-02-01T15:43:19Z\",\n  \"privateIp\" : \"10.0.141.187\",\n  \"ramdiskId\" : null,\n  \"region\" : \"us-east-1\",\n  \"version\" : \"2017-09-30\"\n}", "ansible_ec2_instance_identity_document_accountid": "<redacted>", "ansible_ec2_instance_identity_document_architecture": "arm64_mac", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1a", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "<redacted>", "ansible_ec2_instance_identity_document_instanceid": "i-00dee8803817a98d2", "ansible_ec2_instance_identity_document_instancetype": "mac2.metal", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_pendingtime": "2023-02-01T15:43:19Z", "ansible_ec2_instance_identity_document_privateip": "10.0.141.187", "ansible_ec2_instance_identity_document_ramdiskid": null, "ansible_ec2_instance_identity_document_region": "us-east-1", "ansible_ec2_instance_identity_document_version": "2017-09-30", "ansible_ec2_instance_identity_pkcs7": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCABIIB4XsKICAi\nYWNjb3VudElkIiA6ICIxNjU5NTM1MDI3MDciLAogICJhcmNoaXRlY3R1cmUiIDogImFybTY0X21h\nYyIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVzLWVhc3QtMWEiLAogICJiaWxsaW5nUHJvZHVj\ndHMiIDogbnVsbCwKICAiZGV2cGF5UHJvZHVjdENvZGVzIiA6IG51bGwsCiAgIm1hcmtldHBsYWNl\nUHJvZHVjdENvZGVzIiA6IG51bGwsCiAgImltYWdlSWQiIDogImFtaS0wZTkzMjY2MGNjOGI0NjRi\nYSIsCiAgImluc3RhbmNlSWQiIDogImktMDBkZWU4ODAzOD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T77/l4+avPd1jV/0SlOTwHhjSB7aLVafjzttq1y\niWptHwVAuKaIUQH3VX3zfxdpz4WXIXfHS+i3NzFvsoOxTZLwOtDp9kui6az4oIN0GtpaqX5D2YAE\n5s8TDjIbcydIJwnu/XrKAAAAAAAA", "ansible_ec2_instance_identity_signature": "A4jWwIiSSCBsCASH7txL/Q6pUBrP5TbOKGhvoKZ50hKWzcKpwbc+n+VpjwaF88j5il3yF/gUiFf7\nxoUDO/KcpeB5LCYHtZSB08gBQ4HDrHsTv0E+u50Xl6eGl5mMoLSi//hpd56xlRqP82avSAOreLKx\nH0XBUPN6feod0X5SnS0="}, "invocation": {"module_args": {}}}

0
<i-00dee8803817a98d2> POST_PROCESSED:

{"changed": false, "ansible_facts": {"ansible_ec2_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_profile": "default-hvm", "ansible_ec2_system": "nitro", "ansible_ec2_ami_id": "<redacted>", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "sda1", "ansible_ec2_block_device_mapping_root": "/dev/sda1", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hibernation_configured": "false", "ansible_ec2_iam_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:41Z\",\n  \"InstanceProfileArn\" : \"arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile\",\n  \"InstanceProfileId\" : \"AIPASNI4ZPXZ6A3MVQPPM\"\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_lastupdated": "2023-02-01T19:31:41Z", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile", "ansible_ec2_iam_info_instanceprofileid": "AIPASNI4ZPXZ6A3MVQPPM", "ansible_ec2_iam_instance_profile_role": "orka-<redacted>-arm-instance-iam-role", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:23Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:51:26Z\"\n}", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_code": "Success", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_lastupdated": "2023-02-01T19:31:23Z", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_type": "AWS-HMAC", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_accesskeyid": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_secretaccesskey": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_token": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_expiration": "2023-02-02T01:51:26Z", "ansible_ec2_identity_credentials_ec2_info": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:26Z\",\n  \"AccountId\" : \"<redacted>\"\n}", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2023-02-01T19:31:26Z", "ansible_ec2_identity_credentials_ec2_info_accountid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\n  \"Code\" : \"Success\",\n  \"LastUpdated\" : \"2023-02-01T19:31:38Z\",\n  \"Type\" : \"AWS-HMAC\",\n  \"AccessKeyId\" : \"<redacted>\",\n  \"SecretAccessKey\" : \"<redacted>\",\n  \"Token\" : \"<redacted>\",\n  \"Expiration\" : \"2023-02-02T01:57:21Z\"\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2023-02-01T19:31:38Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2023-02-02T01:57:21Z", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-00dee8803817a98d2", "ansible_ec2_instance_life_cycle": "on-demand", "ansible_ec2_instance_type": "mac2.metal", "ansible_ec2_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_local_ipv4": "10.0.141.187", "ansible_ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_device_number": "0", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_interface_id": "eni-0f84e93a37911d732", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_ipv4s": "10.0.141.187", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_owner_id": "<redacted>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_group_ids": "sg-0ab8812d019973661", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_id": "subnet-0db1ead4e71d86cc4", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_ipv4_cidr_block": "10.0.128.0/20", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_id": "vpc-0a129ab80856a37ba", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_block": "10.0.0.0/16", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_blocks": "10.0.0.0/16", "ansible_ec2_placement_availability_zone": "us-east-1a", "ansible_ec2_placement_availability_zone_id": "use1-az4", "ansible_ec2_placement_host_id": "h-0c5e22652f6b447b1", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_reservation_id": "r-00396f83a330c3f41", "ansible_ec2_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": "#!/bin/bash\n/usr/local/bin/bootstrap-orka orka-<redacted>-cluster fs-00b7e1f76deb82c4f.fsx.us-east-1.amazonaws.com", "ansible_ec2_public_key": "None", "ansible_ec2_instance_identity_document": "{\n  \"accountId\" : \"<redacted>\",\n  \"architecture\" : \"arm64_mac\",\n  \"availabilityZone\" : \"us-east-1a\",\n  \"billingProducts\" : null,\n  \"devpayProductCodes\" : null,\n  \"marketplaceProductCodes\" : null,\n  \"imageId\" : \"<redacted>\",\n  \"instanceId\" : \"i-00dee8803817a98d2\",\n  \"instanceType\" : \"mac2.metal\",\n  \"kernelId\" : null,\n  \"pendingTime\" : \"2023-02-01T15:43:19Z\",\n  \"privateIp\" : \"10.0.141.187\",\n  \"ramdiskId\" : null,\n  \"region\" : \"us-east-1\",\n  \"version\" : \"2017-09-30\"\n}", "ansible_ec2_instance_identity_document_accountid": "<redacted>", "ansible_ec2_instance_identity_document_architecture": "arm64_mac", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1a", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "<redacted>", "ansible_ec2_instance_identity_document_instanceid": "i-00dee8803817a98d2", "ansible_ec2_instance_identity_document_instancetype": "mac2.metal", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_pendingtime": "2023-02-01T15:43:19Z", "ansible_ec2_instance_identity_document_privateip": "10.0.141.187", "ansible_ec2_instance_identity_document_ramdiskid": null, "ansible_ec2_instance_identity_document_region": "us-east-1", "ansible_ec2_instance_identity_document_version": "2017-09-30", "ansible_ec2_instance_identity_pkcs7": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCABIIB4XsKICAi\nYWNjb3VudElkIiA6ICIxNjU5NTM1MDI3MDciLAogICJhcmNoaXRlY3R1cmUiIDogImFybTY0X21h\nYyIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVzLWVhc3QtMWEiLAogICJiaWxsaW5nUHJvZHVj\ndHMiIDogbnVsbCwKICAiZGV2cGF5UHJvZHVjdENvZGVzIiA6IG51bGwsCiAgIm1hcmtldHBsYWNl\nUHJvZHVjdENvZGVzIiA6IG51bGwsCiAgImltYWdlSWQiIDogImFtaS0wZTkzMjY2MGNjOGI0NjRi\nYSIsCiAgImluc3RhbmNlSWQiIDogImktMDBkZWU4ODAzODE3YTk4ZDIiLAogICJpbnN0YW5jZVR5\ncGUiIDogIm1hYzIubWV0YWwiLAogICJrZXJuZWxJZCIgOiBudWxsLAogICJwZW5kaW5nVGltZSIg\nOiAiMjAyMy0wMi0wMVQxNTo0MzoxOVoiLAogICJwcml2YXRlSXAiIDogIjEwLjAuMTQxLjE4NyIs\nCiAgInJhbWRpc2tJZCIgOiBudWxsLAogICJyZWdpb24iIDogInVzLWVhc3QtMSIsCiAgInZlcnNp\nb24iIDogIjIwMTctMDktMzAiCn0AAAAAMYIBQTCCAT0CAQEwaTBcMQswCQYDVQQGEwJVUzEZMBcG\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X5SnS0="}, "invocation": {"module_args": {}}}
<i-00dee8803817a98d2> ssm_retry: (success) (0, '\r\r\n{"changed": false, "ansible_facts": {"ansible_ec2_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_profile": "default-hvm", "ansible_ec2_system": "nitro", "ansible_ec2_ami_id": "<redacted>", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "sda1", "ansible_ec2_block_device_mapping_root": "/dev/sda1", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hibernation_configured": "false", "ansible_ec2_iam_info": "{\\n  \\"Code\\" : \\"Success\\",\\n  \\"LastUpdated\\" : \\"2023-02-01T19:31:41Z\\",\\n  \\"InstanceProfileArn\\" : \\"arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile\\",\\n  \\"InstanceProfileId\\" : \\"AIPASNI4ZPXZ6A3MVQPPM\\"\\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_lastupdated": "2023-02-01T19:31:41Z", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile", "ansible_ec2_iam_info_instanceprofileid": "AIPASNI4ZPXZ6A3MVQPPM", "ansible_ec2_iam_instance_profile_role": "orka-<redacted>-arm-instance-iam-role", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role": "{\\n  \\"Code\\" : \\"Success\\",\\n  \\"LastUpdated\\" : \\"2023-02-01T19:31:23Z\\",\\n  \\"Type\\" : \\"AWS-HMAC\\",\\n  \\"AccessKeyId\\" : \\"<redacted>\\",\\n  \\"SecretAccessKey\\" : \\"<redacted>\\",\\n  \\"Token\\" : \\"<redacted>\\",\\n  \\"Expiration\\" : \\"2023-02-02T01:51:26Z\\"\\n}", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_code": "Success", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_lastupdated": "2023-02-01T19:31:23Z", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_type": "AWS-HMAC", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_accesskeyid": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_secretaccesskey": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_token": "<redacted>", "ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_expiration": "2023-02-02T01:51:26Z", "ansible_ec2_identity_credentials_ec2_info": "{\\n  \\"Code\\" : \\"Success\\",\\n  \\"LastUpdated\\" : \\"2023-02-01T19:31:26Z\\",\\n  \\"AccountId\\" : \\"<redacted>\\"\\n}", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2023-02-01T19:31:26Z", "ansible_ec2_identity_credentials_ec2_info_accountid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\\n  \\"Code\\" : \\"Success\\",\\n  \\"LastUpdated\\" : \\"2023-02-01T19:31:38Z\\",\\n  \\"Type\\" : \\"AWS-HMAC\\",\\n  \\"AccessKeyId\\" : \\"<redacted>\\",\\n  \\"SecretAccessKey\\" : \\"<redacted>\\",\\n  \\"Token\\" : \\"<redacted>\\",\\n  \\"Expiration\\" : \\"2023-02-02T01:57:21Z\\"\\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2023-02-01T19:31:38Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "<redacted>", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2023-02-02T01:57:21Z", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-00dee8803817a98d2", "ansible_ec2_instance_life_cycle": "on-demand", "ansible_ec2_instance_type": "mac2.metal", "ansible_ec2_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_local_ipv4": "10.0.141.187", "ansible_ec2_metrics_vhostmd": "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_device_number": "0", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_interface_id": "eni-0f84e93a37911d732", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_hostname": "ip-10-0-141-187.ec2.internal", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_ipv4s": "10.0.141.187", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_mac": "0a:00:f1:7b:ef:8f", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_owner_id": "<redacted>", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_group_ids": "sg-0ab8812d019973661", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_id": "subnet-0db1ead4e71d86cc4", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_ipv4_cidr_block": "10.0.128.0/20", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_id": "vpc-0a129ab80856a37ba", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_block": "10.0.0.0/16", "ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_blocks": "10.0.0.0/16", "ansible_ec2_placement_availability_zone": "us-east-1a", "ansible_ec2_placement_availability_zone_id": "use1-az4", "ansible_ec2_placement_host_id": "h-0c5e22652f6b447b1", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_reservation_id": "r-00396f83a330c3f41", "ansible_ec2_security_groups": "orka-<redacted>-cluster-security-group", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": "#!/bin/bash\\n/usr/local/bin/bootstrap-orka orka-<redacted>-cluster fs-00b7e1f76deb82c4f.fsx.us-east-1.amazonaws.com", "ansible_ec2_public_key": "None", "ansible_ec2_instance_identity_document": "{\\n  \\"accountId\\" : \\"<redacted>\\",\\n  \\"architecture\\" : \\"arm64_mac\\",\\n  \\"availabilityZone\\" : \\"us-east-1a\\",\\n  \\"billingProducts\\" : null,\\n  \\"devpayProductCodes\\" : null,\\n  \\"marketplaceProductCodes\\" : null,\\n  \\"imageId\\" : \\"<redacted>\\",\\n  \\"instanceId\\" : \\"i-00dee8803817a98d2\\",\\n  \\"instanceType\\" : \\"mac2.metal\\",\\n  \\"kernelId\\" : null,\\n  \\"pendingTime\\" : \\"2023-02-01T15:43:19Z\\",\\n  \\"privateIp\\" : \\"10.0.141.187\\",\\n  \\"ramdiskId\\" : null,\\n  \\"region\\" : \\"us-east-1\\",\\n  \\"version\\" : \\"2017-09-30\\"\\n}", "ansible_ec2_instance_identity_document_accountid": "<redacted>", "ansible_ec2_instance_identity_document_architecture": "arm64_mac", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1a", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "<redacted>", "ansible_ec2_instance_identity_document_instanceid": "i-00dee8803817a98d2", "ansible_ec2_instance_identity_document_instancetype": "mac2.metal", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_pendingtime": "2023-02-01T15:43:19Z", "ansible_ec2_instance_identity_document_privateip": "10.0.141.187", "ansible_ec2_instance_identity_document_ramdiskid": null, "ansible_ec2_instance_identity_document_region": "us-east-1", "ansible_ec2_instance_identity_document_version": "2017-09-30", "ansible_ec2_instance_identity_pkcs7": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCABIIB4XsKICAi\\nYWNjb3VudElkIiA6ICIxNjU5NTM1MDI3MDciLAogICJhcmNoaXRlY3R1cmUiIDogImFybTY0X21h\\nYyIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVzLWVhc3QtMWEiLAogICJiaWxsaW5nUHJvZHVj\\ndHMiIDogbnVsbCwKICAiZGV2cGF5UHJvZHVjdENvZGVzIiA6IG51bGwsCiAgIm1hcmtldHBsYWNl\\nUHJvZHVjdENvZGVzIiA6IG51bGwsCiAgImltYWdlSWQiIDogImFtaS0wZTkzMjY2MGNjOGI0NjRi\\nYSIsCiAgImluc3RhbmNlSWQiIDogImktMDBkZWU4ODAzODE3YTk4ZDIiLAogICJpbnN0YW5jZVR5\\ncGUiIDogIm1hYzIubWV0YWwiLAogICJrZXJuZWxJZCIgOiBudWxsLAogICJwZW5kaW5nVGltZSIg\\nOiAiMjAyMy0wMi0wMVQxNTo0MzoxOVoiLAogICJwcml2YXRlSXAiIDogIjEwLjAuMTQxLjE4NyIs\\nCiAgInJhbWRpc2tJZCIgOiBudWxsLAogICJyZWdpb24iIDogInVzLWVhc3QtMSIsCiAgInZlcnNp\\nb24iIDogIjIwMTctMDktMzAiCn0AAAAAMYIBQTCCAT0CAQEwaTBcMQswCQYDVQQGEwJVUzEZMBcG\\nA1UECBMQV2FzaGluZ3RvbiBTdGF0ZTEQMA4GA1UEBxMHU2VhdHRsZTEgMB4GA1UEChMXQW1hem9u\\nIFdlYiBTZXJ2aWNlcyBMTEMCCQCWukjZ5V4aZzAJB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rMIICJwIBATBpMFwxCzAJBgNVBAYTAlVTMRkw\\nFwYDVQQIExBXYXNoaW5ndG9uIFN0YXRlMRAwDgYDVQQHEwdTZWF0dGxlMSAwHgYDVQQKExdBbWF6\\nb24gV2ViIFNlcnZpY2VzIExMQwIJALFpzEAVWaQZMAsGCWCGSAFlAwQCAaCBljAYBgkqhkiG9w0B\\nCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yMzAyMDExNTQzMjBaMCsGCSqGSIb3DQEJ\\nNDEeMBwwCwYJYIZIAWUDBAIBoQ0GCSqGSIb3DQEBCwUAMC8GCSqGSIb3DQEJBDEiBCAu801Cem1J\\nhCdtYW9s8hHJ226q76jI4cMC+MZZn4dWYTANBgkqhkiG9w0BAQsFAASCAQBpnCzUfEyIWjkm/sxp\\ndKqEfZL4/AkFwF8iFAIJgTjgleOYhQl2623wHdPgZ5u0RxvQjyVBVMYIgOcqbrzNnJ1W78V1gXW3\\npcpey9s3v0/vWOgzoAUe0UrXndpVvGkzKXwNaUbfqOi5iwlspVI6cQNRJIlqmRMPr8pyeN4aWzDs\\nGO0pRU4/duZGlGio9Sus9+LkMzNgTQB5fbDfBT77/l4+avPd1jV/0SlOTwHhjSB7aLVafjzttq1y\\niWptHwVAuKaIUQH3VX3zfxdpz4WXIXfHS+i3NzFvsoOxTZLwOtDp9kui6az4oIN0GtpaqX5D2YAE\\n5s8TDjIbcydIJwnu/XrKAAAAAAAA", "ansible_ec2_instance_identity_signature": "A4jWwIiSSCBsCASH7txL/Q6pUBrP5TbOKGhvoKZ50hKWzcKpwbc+n+VpjwaF88j5il3yF/gUiFf7\\nxoUDO/KcpeB5LCYHtZSB08gBQ4HDrHsTv0E+u50Xl6eGl5mMoLSi//hpd56xlRqP82avSAOreLKx\\nH0XBUPN6feod0X5SnS0="}, "invocation": {"module_args": {}}}\r\r', '')
<i-00dee8803817a98d2> EXEC: rm -f -r /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/ > /dev/null 2>&1
<i-00dee8803817a98d2> _wrap_command:
'printf '%s\n' 'ekYyVLvGzEEhViDnGwOUUPBCit';
echo | rm -f -r /Users/ssm-user/.ansible/tmp/ansible-tmp-1675281349.6160102-90-44367041715106/ > /dev/null 2>&1;
printf '\n%s\n%s\n' "$?" 'OswQsGPoMhgdMtqcGtrKaTcRsR';
'
<i-00dee8803817a98d2> EXEC stdout line:
ekYyVLvGzEEhViDnGwOUUPBCit
<i-00dee8803817a98d2> EXEC stdout line:

<i-00dee8803817a98d2> EXEC stdout line:
0
<i-00dee8803817a98d2> EXEC stdout line:
OswQsGPoMhgdMtqcGtrKaTcRsR
<i-00dee8803817a98d2> POST_PROCESS:

0
<i-00dee8803817a98d2> POST_PROCESSED:

<i-00dee8803817a98d2> ssm_retry: (success) (0, '\r', '')
<i-00dee8803817a98d2> CLOSING SSM CONNECTION TO: i-00dee8803817a98d2
<i-00dee8803817a98d2> TERMINATE SSM SESSION: i-0ecbf298ae85ffcad-04dae918fb1723d0d
ok: [ip-10-0-141-187.ec2.internal] => changed=false
  ansible_facts:
    ansible_ec2_ami_id: <redacted>
    ansible_ec2_ami_launch_index: '0'
    ansible_ec2_ami_manifest_path: (unknown)
    ansible_ec2_block_device_mapping_ami: sda1
    ansible_ec2_block_device_mapping_root: /dev/sda1
    ansible_ec2_events_maintenance_history: '[]'
    ansible_ec2_events_maintenance_scheduled: '[]'
    ansible_ec2_hibernation_configured: 'false'
    ansible_ec2_hostname: ip-10-0-141-187.ec2.internal
    ansible_ec2_iam_info: |-
      {
        "Code" : "Success",
        "LastUpdated" : "2023-02-01T19:31:41Z",
        "InstanceProfileArn" : "arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile",
        "InstanceProfileId" : "AIPASNI4ZPXZ6A3MVQPPM"
      }
    ansible_ec2_iam_info_code: Success
    ansible_ec2_iam_info_instanceprofilearn: arn:aws:iam::<redacted>:instance-profile/orka-<redacted>-arm-instance-profile
    ansible_ec2_iam_info_instanceprofileid: AIPASNI4ZPXZ6A3MVQPPM
    ansible_ec2_iam_info_lastupdated: '2023-02-01T19:31:41Z'
    ansible_ec2_iam_instance_profile_role: orka-<redacted>-arm-instance-iam-role
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role: |-
      {
        "Code" : "Success",
        "LastUpdated" : "2023-02-01T19:31:23Z",
        "Type" : "AWS-HMAC",
        "AccessKeyId" : "<redacted>",
        "SecretAccessKey" : "<redacted>",
        "Token" : "<redacted>",
        "Expiration" : "2023-02-02T01:51:26Z"
      }
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_accesskeyid: <redacted>
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_code: Success
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_expiration: '2023-02-02T01:51:26Z'
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_lastupdated: '2023-02-01T19:31:23Z'
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_secretaccesskey: <redacted>
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_token: <redacted>
    ansible_ec2_iam_security_credentials_orka_<redacted>_arm_instance_iam_role_type: AWS-HMAC
    ansible_ec2_identity_credentials_ec2_info: |-
      {
        "Code" : "Success",
        "LastUpdated" : "2023-02-01T19:31:26Z",
        "AccountId" : "<redacted>"
      }
    ansible_ec2_identity_credentials_ec2_info_accountid: '<redacted>'
    ansible_ec2_identity_credentials_ec2_info_code: Success
    ansible_ec2_identity_credentials_ec2_info_lastupdated: '2023-02-01T19:31:26Z'
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance: |-
      {
        "Code" : "Success",
        "LastUpdated" : "2023-02-01T19:31:38Z",
        "Type" : "AWS-HMAC",
        "AccessKeyId" : "<redacted>",
        "SecretAccessKey" : "<redacted>",
        "Token" : "<redacted>",
        "Expiration" : "2023-02-02T01:57:21Z"
      }
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid: <redacted>
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code: Success
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration: '2023-02-02T01:57:21Z'
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated: '2023-02-01T19:31:38Z'
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey: <redacted>
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token: <redacted>
    ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type: AWS-HMAC
    ansible_ec2_instance_action: none
    ansible_ec2_instance_id: i-00dee8803817a98d2
    ansible_ec2_instance_identity_document: |-
      {
        "accountId" : "<redacted>",
        "architecture" : "arm64_mac",
        "availabilityZone" : "us-east-1a",
        "billingProducts" : null,
        "devpayProductCodes" : null,
        "marketplaceProductCodes" : null,
        "imageId" : "<redacted>",
        "instanceId" : "i-00dee8803817a98d2",
        "instanceType" : "mac2.metal",
        "kernelId" : null,
        "pendingTime" : "2023-02-01T15:43:19Z",
        "privateIp" : "10.0.141.187",
        "ramdiskId" : null,
        "region" : "us-east-1",
        "version" : "2017-09-30"
      }
    ansible_ec2_instance_identity_document_accountid: '<redacted>'
    ansible_ec2_instance_identity_document_architecture: arm64_mac
    ansible_ec2_instance_identity_document_availabilityzone: us-east-1a
    ansible_ec2_instance_identity_document_billingproducts: null
    ansible_ec2_instance_identity_document_devpayproductcodes: null
    ansible_ec2_instance_identity_document_imageid: <redacted>
    ansible_ec2_instance_identity_document_instanceid: i-00dee8803817a98d2
    ansible_ec2_instance_identity_document_instancetype: mac2.metal
    ansible_ec2_instance_identity_document_kernelid: null
    ansible_ec2_instance_identity_document_marketplaceproductcodes: null
    ansible_ec2_instance_identity_document_pendingtime: '2023-02-01T15:43:19Z'
    ansible_ec2_instance_identity_document_privateip: 10.0.141.187
    ansible_ec2_instance_identity_document_ramdiskid: null
    ansible_ec2_instance_identity_document_region: us-east-1
    ansible_ec2_instance_identity_document_version: '2017-09-30'
    ansible_ec2_instance_identity_pkcs7: |-
      <redacted>
    ansible_ec2_instance_identity_rsa2048: |-
      <redacted>
    ansible_ec2_instance_identity_signature: |-
      <redacted>
    ansible_ec2_instance_life_cycle: on-demand
    ansible_ec2_instance_type: mac2.metal
    ansible_ec2_local_hostname: ip-10-0-141-187.ec2.internal
    ansible_ec2_local_ipv4: 10.0.141.187
    ansible_ec2_mac: 0a:00:f1:7b:ef:8f
    ansible_ec2_metrics_vhostmd: <?xml version="1.0" encoding="UTF-8"?>
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_device_number: '0'
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_interface_id: eni-0f84e93a37911d732
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_hostname: ip-10-0-141-187.ec2.internal
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_local_ipv4s: 10.0.141.187
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_mac: 0a:00:f1:7b:ef:8f
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_owner_id: '<redacted>'
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_group_ids: sg-0ab8812d019973661
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_security_groups: orka-<redacted>-cluster-security-group
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_id: subnet-0db1ead4e71d86cc4
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_subnet_ipv4_cidr_block: 10.0.128.0/20
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_id: vpc-0a129ab80856a37ba
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_block: 10.0.0.0/16
    ansible_ec2_network_interfaces_macs_0a_00_f1_7b_ef_8f_vpc_ipv4_cidr_blocks: 10.0.0.0/16
    ansible_ec2_placement_availability_zone: us-east-1a
    ansible_ec2_placement_availability_zone_id: use1-az4
    ansible_ec2_placement_host_id: h-0c5e22652f6b447b1
    ansible_ec2_placement_region: us-east-1
    ansible_ec2_profile: default-hvm
    ansible_ec2_public_key: None
    ansible_ec2_reservation_id: r-00396f83a330c3f41
    ansible_ec2_security_groups: orka-<redacted>-cluster-security-group
    ansible_ec2_services_domain: amazonaws.com
    ansible_ec2_services_partition: aws
    ansible_ec2_system: nitro
    ansible_ec2_user_data: |-
      #!/bin/bash
      /usr/local/bin/bootstrap-orka orka-<redacted>-cluster fs-00b7e1f76deb82c4f.fsx.us-east-1.amazonaws.com
  invocation:
    module_args: {}
key: all./ansible/aws/clusters/<redacted>/group_vars
key: all./ansible/aws/group_vars
key: aws_ec2./ansible/aws/clusters/<redacted>/group_vars
key: mac2_cluster_<redacted>./ansible/aws/clusters/<redacted>/group_vars
key: aws_ec2./ansible/aws/group_vars
key: mac2_cluster_<redacted>./ansible/aws/group_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/clusters/<redacted>/host_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/host_vars

TASK [debug] *******************************************************************
task path: /ansible/aws/test.yml:11
Wednesday 01 February 2023  19:56:56 +0000 (0:01:12.949)       0:01:13.064 ****
Loading collection community.aws from /root/.ansible/collections/ansible_collections/community/aws
ok: [ip-10-0-141-187.ec2.internal] =>
  ansible_ec2_hostname: ip-10-0-141-187.ec2.internal
key: all./ansible/aws/clusters/<redacted>/group_vars
key: all./ansible/aws/group_vars
key: aws_ec2./ansible/aws/clusters/<redacted>/group_vars
key: mac2_cluster_<redacted>./ansible/aws/clusters/<redacted>/group_vars
key: aws_ec2./ansible/aws/group_vars
key: mac2_cluster_<redacted>./ansible/aws/group_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/clusters/<redacted>/host_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/host_vars
META: ran handlers
key: all./ansible/aws/clusters/<redacted>/group_vars
key: all./ansible/aws/group_vars
key: aws_ec2./ansible/aws/clusters/<redacted>/group_vars
key: mac2_cluster_<redacted>./ansible/aws/clusters/<redacted>/group_vars
key: aws_ec2./ansible/aws/group_vars
key: mac2_cluster_<redacted>./ansible/aws/group_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/clusters/<redacted>/host_vars
key: ip-10-0-141-187.ec2.internal./ansible/aws/host_vars
META: ran handlers

PLAY RECAP *********************************************************************
ip-10-0-141-187.ec2.internal : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Wednesday 01 February 2023  19:56:56 +0000 (0:00:00.122)       0:01:13.187 ****
===============================================================================
ec2_metadata_facts ----------------------------------------------------- 72.95s
/ansible/aws/test.yml:10 ------------------------------------------------------
debug ------------------------------------------------------------------- 0.12s
/ansible/aws/test.yml:11 ------------------------------------------------------
spikeburton commented 1 year ago

The odd thing is, this doesn't seem to happen when running against Linux instances.

The ec2_metadata_facts module is not the only one with issues, but it seems to be the simplest and most reproducible example I can provide. Several other tasks in the playbook we are running either do not complete (i.e. hang indefinitely) or have multiple retries. I'm not sure why the timeout would need to be lengthened, as 60s seems to be more than sufficient when running the same tasks against Linux instances ...

For now we have abandoned using Ansible with SSM in favor of a more reliable approach with standard SSH, although I would much prefer to use SSM if it were possible

tremble commented 1 year ago

The module CI testing is mostly against Linux (with a couple of tests against Windows) so I'm glad to hear that it's behaving with the Linux instances. I'm guessing that the issue is something specific to Mac and wouldn't be too surprised if it's related to the line ending differences, but I'd be taking wild stabs in the dark.

What's really strange is that I don't see any output from curl at all in the 'failed' try, yet the printf before it executes successfully. Of course, looking at the code, it also doesn't help that we're not flushing stderr before timing out...

If you're open to it, trying the following patch might give us a hint if something's stuck on stderr:

diff --git a/plugins/connection/aws_ssm.py b/plugins/connection/aws_ssm.py
index ccfa6848..18375418 100644
--- a/plugins/connection/aws_ssm.py
+++ b/plugins/connection/aws_ssm.py
@@ -566,6 +566,8 @@ class Connection(ConnectionBase):
             remaining = stop_time - int(round(time.time()))
             if remaining < 1:
                 self._timeout = True
+                stderr = self._flush_stderr(session)
+                self._vvvv(f"EXEC timeout stderr: \n{to_text(stderr)}")
                 self._vvvv(f"EXEC timeout stdout: \n{to_text(stdout)}")
                 raise AnsibleConnectionFailure(
                     f"SSM exec_command timeout on host: {self.instance_id}")
spikeburton commented 1 year ago

There doesn't seem to be any output caught from stderr either ...

<i-00dee8803817a98d2> EXEC remaining: 5
<i-00dee8803817a98d2> EXEC remaining: 4
<i-00dee8803817a98d2> EXEC remaining: 3
<i-00dee8803817a98d2> EXEC remaining: 2
<i-00dee8803817a98d2> EXEC remaining: 1
<i-00dee8803817a98d2> EXEC timeout stderr:
<i-00dee8803817a98d2> EXEC timeout stdout:
<i-00dee8803817a98d2> ssm_retry: attempt: 0, cmd (curl -o '/Users/ssm-user/.ansible/tmp/ansible-tmp-1675363763.3184822-53-119168354519206/AnsiballZ_ec2_metadata_facts.py' 'https://s3.amazonaws.com/<redacted>/i-00dee8803817a98d2//Users/ssm-user/.ansible/tmp/ansible-tmp-1675363763.3184822-53-119168354519206/AnsiballZ_ec2_metadata_facts.py?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIASNI4ZPXZ3573LUJ3%2F20230202%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230202T184923Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=<redacted>&X-Amz-Signature=f9510247dbf8e3eea4cbddc6ac976b765864ba9a18215c4a6280f7a6055fe661'...), pausing for 0 seconds