<p dir="auto">relevant snippet:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: grab benchmark results
  fetch: src={{ result.test_archive }} dest=&quot;{{ staging_dir }}/{{ ansible_hostname }}/&quot; flat=yes


TASK: [grab benchmark results] ************************************************ 
fatal: [10.42.0.200] =&gt; Traceback (most recent call last):
  File &quot;/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py&quot;, line 393, in _executor
    exec_rc = self._executor_internal(host, new_stdin)
  File &quot;/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py&quot;, line 482, in _executor_internal
    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
  File &quot;/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py&quot;, line 657, in _executor_internal_inner
    result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
  File &quot;/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/action_plugins/fetch.py&quot;, line 82, in run
    remote_md5 = utils.md5s(remote_data)
  File &quot;/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/utils/__init__.py&quot;, line 397, in md5s
    digest.update(data.encode('utf-8'))
  File &quot;/Users/jmartin/.virtualenvs/ansible-git/lib/python2.7/encodings/utf_8.py&quot;, line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte


FATAL: all hosts have already failed -- aborting"><pre class="notranslate"><code class="notranslate">- name: grab benchmark results
  fetch: src={{ result.test_archive }} dest="{{ staging_dir }}/{{ ansible_hostname }}/" flat=yes


TASK: [grab benchmark results] ************************************************ 
fatal: [10.42.0.200] =&gt; Traceback (most recent call last):
  File "/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py", line 393, in _executor
    exec_rc = self._executor_internal(host, new_stdin)
  File "/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py", line 482, in _executor_internal
    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
  File "/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/__init__.py", line 657, in _executor_internal_inner
    result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
  File "/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/runner/action_plugins/fetch.py", line 82, in run
    remote_md5 = utils.md5s(remote_data)
  File "/Users/jmartin/work/code/workspaces/ansible/ansible-core/lib/ansible/utils/__init__.py", line 397, in md5s
    digest.update(data.encode('utf-8'))
  File "/Users/jmartin/.virtualenvs/ansible-git/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte


FATAL: all hosts have already failed -- aborting
</code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5>

<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>

<p dir="auto">ec2_vpc_igw</p>
<h5 dir="auto">ANSIBLE VERSION</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.1.0
  config file = /home/derek/Code/ansible-aws/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.13 (default, Jul 21 2017, 03:24:34) [GCC 7.1.1 20170630]
"><pre class="notranslate"><code class="notranslate">ansible 2.3.1.0
  config file = /home/derek/Code/ansible-aws/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.13 (default, Jul 21 2017, 03:24:34) [GCC 7.1.1 20170630]

</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>

<h5 dir="auto">OS / ENVIRONMENT</h5>

<p dir="auto">arch linux</p>
<h5 dir="auto">SUMMARY</h5>

<p dir="auto">On creation, the output has pascal case properties</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>


<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Create {{group_name}} igw
  ec2_vpc_igw:
    aws_access_key: &quot;{{aws_access_key}}&quot;
    aws_secret_key: &quot;{{aws_secret_key}}&quot;
    region: &quot;{{region}}&quot;
    state: present
    #tags:
    #  Name: &quot;{{group_name}}-igw&quot;
    #  group: &quot;{{group_name}}&quot;
    vpc_id: &quot;{{vpc.vpc.id}}&quot;
  register: igw

- debug:
    var: igw"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Create {{group_name}} igw</span>
  <span class="pl-ent">ec2_vpc_igw</span>:
    <span class="pl-ent">aws_access_key</span>: <span class="pl-s"><span class="pl-pds">"</span>{{aws_access_key}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">aws_secret_key</span>: <span class="pl-s"><span class="pl-pds">"</span>{{aws_secret_key}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">region</span>: <span class="pl-s"><span class="pl-pds">"</span>{{region}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">state</span>: <span class="pl-s">present</span>
    <span class="pl-c"><span class="pl-c">#</span>tags:</span>
    <span class="pl-c"><span class="pl-c">#</span>  Name: "{{group_name}}-igw"</span>
    <span class="pl-c"><span class="pl-c">#</span>  group: "{{group_name}}"</span>
    <span class="pl-ent">vpc_id</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vpc.vpc.id}}<span class="pl-pds">"</span></span>
  <span class="pl-ent">register</span>: <span class="pl-s">igw</span>

- <span class="pl-ent">debug</span>:
    <span class="pl-ent">var</span>: <span class="pl-s">igw</span></pre></div>

<h5 dir="auto">EXPECTED RESULTS</h5>

<h5 dir="auto">ACTUAL RESULTS</h5>


<p dir="auto">created</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [vpc : Create jenkins igw] ********************************************************************************************************************************
changed: [localhost]

TASK [vpc : debug] *********************************************************************************************************************************************
ok: [localhost] =&gt; {
    &quot;nat_gateway&quot;: {
        &quot;CreateTime&quot;: &quot;2017-08-10T20:59:04+00:00&quot;, 
        &quot;NatGatewayAddresses&quot;: [
            {
                &quot;AllocationId&quot;: &quot;eipalloc-7dbf1614&quot;
            }
        ], 
        &quot;NatGatewayId&quot;: &quot;nat-097a0a0ca53b4d041&quot;, 
        &quot;State&quot;: &quot;pending&quot;, 
        &quot;SubnetId&quot;: &quot;subnet-3b3ab540&quot;, 
        &quot;VpcId&quot;: &quot;vpc-2c64fb45&quot;, 
        &quot;changed&quot;: true, 
        &quot;msg&quot;: &quot;&quot;, 
        &quot;success&quot;: true
    }
}"><pre class="notranslate"><code class="notranslate">TASK [vpc : Create jenkins igw] ********************************************************************************************************************************
changed: [localhost]

TASK [vpc : debug] *********************************************************************************************************************************************
ok: [localhost] =&gt; {
    "nat_gateway": {
        "CreateTime": "2017-08-10T20:59:04+00:00", 
        "NatGatewayAddresses": [
            {
                "AllocationId": "eipalloc-7dbf1614"
            }
        ], 
        "NatGatewayId": "nat-097a0a0ca53b4d041", 
        "State": "pending", 
        "SubnetId": "subnet-3b3ab540", 
        "VpcId": "vpc-2c64fb45", 
        "changed": true, 
        "msg": "", 
        "success": true
    }
}
</code></pre></div>
<p dir="auto">no change</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [vpc : Create jenkins igw] ********************************************************************************************************************************
ok: [localhost]

TASK [vpc : debug] *********************************************************************************************************************************************
ok: [localhost] =&gt; {
    &quot;nat_gateway&quot;: {
        &quot;changed&quot;: false, 
        &quot;create_time&quot;: &quot;2017-08-10T20:59:04+00:00&quot;, 
        &quot;msg&quot;: &quot;NAT Gateway nat-097a0a0ca53b4d041 already exists in subnet_id subnet-3b3ab540&quot;, 
        &quot;nat_gateway_addresses&quot;: [
            {
                &quot;allocation_id&quot;: &quot;eipalloc-7dbf1614&quot;, 
                &quot;network_interface_id&quot;: &quot;eni-c8a8c2b2&quot;, 
                &quot;private_ip&quot;: &quot;10.0.0.146&quot;
            }
        ], 
        &quot;nat_gateway_id&quot;: &quot;nat-097a0a0ca53b4d041&quot;, 
        &quot;state&quot;: &quot;pending&quot;, 
        &quot;subnet_id&quot;: &quot;subnet-3b3ab540&quot;, 
        &quot;success&quot;: true, 
        &quot;vpc_id&quot;: &quot;vpc-2c64fb45&quot;
    }
}"><pre class="notranslate"><code class="notranslate">TASK [vpc : Create jenkins igw] ********************************************************************************************************************************
ok: [localhost]

TASK [vpc : debug] *********************************************************************************************************************************************
ok: [localhost] =&gt; {
    "nat_gateway": {
        "changed": false, 
        "create_time": "2017-08-10T20:59:04+00:00", 
        "msg": "NAT Gateway nat-097a0a0ca53b4d041 already exists in subnet_id subnet-3b3ab540", 
        "nat_gateway_addresses": [
            {
                "allocation_id": "eipalloc-7dbf1614", 
                "network_interface_id": "eni-c8a8c2b2", 
                "private_ip": "10.0.0.146"
            }
        ], 
        "nat_gateway_id": "nat-097a0a0ca53b4d041", 
        "state": "pending", 
        "subnet_id": "subnet-3b3ab540", 
        "success": true, 
        "vpc_id": "vpc-2c64fb45"
    }
}
</code></pre></div>