Skip to content

Instantly share code, notes, and snippets.

@rnhurt
Last active August 7, 2019 18:53
Show Gist options
  • Save rnhurt/0576eaebd52dc0fdf78bff498d567da0 to your computer and use it in GitHub Desktop.
Save rnhurt/0576eaebd52dc0fdf78bff498d567da0 to your computer and use it in GitHub Desktop.
Packer SegFault when Ansible returns non-zero exit on AWS
2019/08/07 18:08:53 [INFO] Packer version: 1.4.0
2019/08/07 18:08:53 Packer Target OS/Arch: linux amd64
2019/08/07 18:08:53 Built with Go Version: go1.12
2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 Using internal plugin for azure-arm
2019/08/07 18:08:53 Using internal plugin for hcloud
2019/08/07 18:08:53 Using internal plugin for tencentcloud-cvm
2019/08/07 18:08:53 Using internal plugin for hyperv-iso
2019/08/07 18:08:53 Using internal plugin for hyperv-vmcx
2019/08/07 18:08:53 Using internal plugin for qemu
2019/08/07 18:08:53 Using internal plugin for vmware-iso
2019/08/07 18:08:53 Using internal plugin for vmware-vmx
2019/08/07 18:08:53 Using internal plugin for alicloud-ecs
2019/08/07 18:08:53 Using internal plugin for amazon-ebsvolume
2019/08/07 18:08:53 Using internal plugin for lxc
2019/08/07 18:08:53 Using internal plugin for oneandone
2019/08/07 18:08:53 Using internal plugin for oracle-oci
2019/08/07 18:08:53 Using internal plugin for scaleway
2019/08/07 18:08:53 Using internal plugin for amazon-ebssurrogate
2019/08/07 18:08:53 Using internal plugin for amazon-instance
2019/08/07 18:08:53 Using internal plugin for googlecompute
2019/08/07 18:08:53 Using internal plugin for hyperone
2019/08/07 18:08:53 Using internal plugin for cloudstack
2019/08/07 18:08:53 Using internal plugin for file
2019/08/07 18:08:53 Using internal plugin for null
2019/08/07 18:08:53 Using internal plugin for oracle-classic
2019/08/07 18:08:53 Using internal plugin for parallels-pvm
2019/08/07 18:08:53 Using internal plugin for amazon-ebs
2019/08/07 18:08:53 Using internal plugin for lxd
2019/08/07 18:08:53 Using internal plugin for openstack
2019/08/07 18:08:53 Using internal plugin for amazon-chroot
2019/08/07 18:08:53 Using internal plugin for digitalocean
2019/08/07 18:08:53 Using internal plugin for ncloud
2019/08/07 18:08:53 Using internal plugin for parallels-iso
2019/08/07 18:08:53 Using internal plugin for triton
2019/08/07 18:08:53 Using internal plugin for docker
2019/08/07 18:08:53 Using internal plugin for profitbricks
2019/08/07 18:08:53 Using internal plugin for vagrant
2019/08/07 18:08:53 Using internal plugin for virtualbox-iso
2019/08/07 18:08:53 Using internal plugin for virtualbox-ovf
2019/08/07 18:08:53 Using internal plugin for breakpoint
2019/08/07 18:08:53 Using internal plugin for shell
2019/08/07 18:08:53 Using internal plugin for shell-local
2019/08/07 18:08:53 Using internal plugin for windows-restart
2019/08/07 18:08:53 Using internal plugin for ansible-local
2019/08/07 18:08:53 Using internal plugin for puppet-masterless
2019/08/07 18:08:53 Using internal plugin for powershell
2019/08/07 18:08:53 Using internal plugin for salt-masterless
2019/08/07 18:08:53 Using internal plugin for sleep
2019/08/07 18:08:53 Using internal plugin for file
2019/08/07 18:08:53 Using internal plugin for chef-client
2019/08/07 18:08:53 Using internal plugin for chef-solo
2019/08/07 18:08:53 Using internal plugin for converge
2019/08/07 18:08:53 Using internal plugin for inspec
2019/08/07 18:08:53 Using internal plugin for puppet-server
2019/08/07 18:08:53 Using internal plugin for windows-shell
2019/08/07 18:08:53 Using internal plugin for ansible
2019/08/07 18:08:53 Using internal plugin for amazon-import
2019/08/07 18:08:53 Using internal plugin for digitalocean-import
2019/08/07 18:08:53 Using internal plugin for shell-local
2019/08/07 18:08:53 Using internal plugin for artifice
2019/08/07 18:08:53 Using internal plugin for docker-push
2019/08/07 18:08:53 Using internal plugin for docker-save
2019/08/07 18:08:53 Using internal plugin for docker-tag
2019/08/07 18:08:53 Using internal plugin for vagrant-cloud
2019/08/07 18:08:53 Using internal plugin for alicloud-import
2019/08/07 18:08:53 Using internal plugin for compress
2019/08/07 18:08:53 Using internal plugin for googlecompute-import
2019/08/07 18:08:53 Using internal plugin for manifest
2019/08/07 18:08:53 Using internal plugin for checksum
2019/08/07 18:08:53 Using internal plugin for docker-import
2019/08/07 18:08:53 Using internal plugin for googlecompute-export
2019/08/07 18:08:53 Using internal plugin for vagrant
2019/08/07 18:08:53 Using internal plugin for vsphere
2019/08/07 18:08:53 Using internal plugin for vsphere-template
2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 Attempting to open config file: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 [WARN] Config file doesn't exist: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx] PostProcessors:map[alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local sleep:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-sleep windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 Setting cache directory: /tmp/jenkins-3ad22135/workspace/AMI Builder/Packer DevOpsNG/devopsng/packer_cache
No tty available: open /dev/tty: no such device or address
2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 Loading builder: amazon-ebs
2019/08/07 18:08:53 Plugin could not be found. Checking same directory as executable.
2019/08/07 18:08:53 Current exe path: /usr/local/bin/packer
2019/08/07 18:08:53 Creating plugin client for path: /usr/local/bin/packer
2019/08/07 18:08:53 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
2019/08/07 18:08:53 Waiting for RPC address for: /usr/local/bin/packer
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [INFO] Packer version: 1.4.0
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer Target OS/Arch: linux amd64
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Built with Go Version: go1.12
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Attempting to open config file: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [WARN] Config file doesn't exist: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Setting cache directory: /tmp/jenkins-3ad22135/workspace/AMI Builder/Packer DevOpsNG/devopsng/packer_cache
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 args: []string{"packer-builder-amazon-ebs"}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin minimum port: 10000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin maximum port: 25000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin address: unix /tmp/packer-plugin018776895
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Waiting for connection...
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Serving a plugin connection...
2019/08/07 18:08:53 Loading provisioner: shell
2019/08/07 18:08:53 Plugin could not be found. Checking same directory as executable.
2019/08/07 18:08:53 Current exe path: /usr/local/bin/packer
2019/08/07 18:08:53 Creating plugin client for path: /usr/local/bin/packer
2019/08/07 18:08:53 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2019/08/07 18:08:53 Waiting for RPC address for: /usr/local/bin/packer
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [INFO] Packer version: 1.4.0
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer Target OS/Arch: linux amd64
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Built with Go Version: go1.12
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Attempting to open config file: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [WARN] Config file doesn't exist: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Setting cache directory: /tmp/jenkins-3ad22135/workspace/AMI Builder/Packer DevOpsNG/devopsng/packer_cache
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 args: []string{"packer-provisioner-shell"}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin minimum port: 10000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin maximum port: 25000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin address: unix /tmp/packer-plugin281084779
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Waiting for connection...
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Serving a plugin connection...
2019/08/07 18:08:53 Loading provisioner: ansible-local
2019/08/07 18:08:53 Plugin could not be found. Checking same directory as executable.
2019/08/07 18:08:53 Current exe path: /usr/local/bin/packer
2019/08/07 18:08:53 Creating plugin client for path: /usr/local/bin/packer
2019/08/07 18:08:53 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible-local"}
2019/08/07 18:08:53 Waiting for RPC address for: /usr/local/bin/packer
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [INFO] Packer version: 1.4.0
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer Target OS/Arch: linux amd64
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Built with Go Version: go1.12
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Attempting to open config file: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [WARN] Config file doesn't exist: /home/ec2-user/.packerconfig
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Setting cache directory: /tmp/jenkins-3ad22135/workspace/AMI Builder/Packer DevOpsNG/devopsng/packer_cache
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Detected home directory from env var: /home/ec2-user
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 args: []string{"packer-provisioner-ansible-local"}
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin minimum port: 10000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin maximum port: 25000
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Plugin address: unix /tmp/packer-plugin315808942
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Waiting for connection...
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Serving a plugin connection...
2019/08/07 18:08:53 ui: amazon-ebs output will be in this color.
2019/08/07 18:08:53 ui:
2019/08/07 18:08:53 Build debug mode: false
2019/08/07 18:08:53 Force build: false
2019/08/07 18:08:53 On error: ask
2019/08/07 18:08:53 Preparing build: amazon-ebs
2019/08/07 18:08:53 Waiting on builds to complete...
2019/08/07 18:08:53 Starting build run: amazon-ebs
2019/08/07 18:08:53 Running builder: amazon-ebs
2019/08/07 18:08:53 [INFO] (telemetry) Starting builder amazon-ebs
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 Found region us-east-1
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [INFO] AWS Auth provider used: "EC2RoleProvider"
2019/08/07 18:08:53 packer: 2019/08/07 18:08:53 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS to your desired values.
2019/08/07 18:08:53 ui: ==> amazon-ebs: Prevalidating AMI Name: base-ami-official-20190807_180849
2019/08/07 18:08:54 packer: 2019/08/07 18:08:54 Using AMI Filters {
2019/08/07 18:08:54 packer: ImageIds: ["ami-035b3c7efe6d061d5"]
2019/08/07 18:08:54 packer: }
2019/08/07 18:08:54 ui:  amazon-ebs: Found Image ID: ami-035b3c7efe6d061d5
2019/08/07 18:08:54 ui: ==> amazon-ebs: Creating temporary keypair: packer_5d4b13b5-a39b-b41a-0450-f6a5a844f1eb
2019/08/07 18:08:54 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5d4b13b6-a980-89aa-f2af-1b85ff7e70fb
2019/08/07 18:08:54 packer: 2019/08/07 18:08:54 [DEBUG] Waiting for temporary security group: sg-0499e0c672d3ea0e9
2019/08/07 18:08:54 packer: 2019/08/07 18:08:54 [DEBUG] Found security group sg-0499e0c672d3ea0e9
2019/08/07 18:08:54 ui: ==> amazon-ebs: Authorizing access to port 22 from [0.0.0.0/0] in the temporary security groups...
2019/08/07 18:08:54 ui: ==> amazon-ebs: Launching a source AWS instance...
2019/08/07 18:08:54 ui:  amazon-ebs: Finding spot price for Linux/UNIX (Amazon VPC) t3.large...
2019/08/07 18:08:54 packer: 2019/08/07 18:08:54 [INFO] Candidate spot price: 0.025100
2019/08/07 18:08:54 ui: ==> amazon-ebs: Adding tags to source instance
2019/08/07 18:08:54 ui:  amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
2019/08/07 18:08:54 ui:  amazon-ebs: Adding tag: "Project": "packer"
2019/08/07 18:08:54 ui:  amazon-ebs: Adding tag: "Environment": "devopsng"
2019/08/07 18:08:54 ui:  amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
2019/08/07 18:08:54 ui:  amazon-ebs: Requesting spot instance 't3.large' for: 0.030100000000000002
2019/08/07 18:08:55 ui:  amazon-ebs: Waiting for spot request (sir-qy8i4d3h) to become active...
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "Encrypted": "true"
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "ParentAmi": "ami-035b3c7efe6d061d5"
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "Application": "base"
2019/08/07 18:09:10 ui:  amazon-ebs: Adding tag: "Environment": "devopsng"
2019/08/07 18:09:10 ui:  amazon-ebs: Instance ID: i-0e208b06d1e4c3df2
2019/08/07 18:09:10 ui: ==> amazon-ebs: Waiting for instance (i-0e208b06d1e4c3df2) to become ready...
2019/08/07 18:09:25 ui: ==> amazon-ebs: Adding tags to source EBS Volumes
2019/08/07 18:09:25 ui:  amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
2019/08/07 18:09:25 ui:  amazon-ebs: Adding tag: "Project": "packer"
2019/08/07 18:09:25 ui:  amazon-ebs: Adding tag: "Environment": "devopsng"
2019/08/07 18:09:25 ui:  amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
2019/08/07 18:09:26 packer: 2019/08/07 18:09:26 [INFO] Not using winrm communicator, skipping get password...
2019/08/07 18:09:26 ui: ==> amazon-ebs: Using ssh communicator to connect: 10.204.42.212
2019/08/07 18:09:26 packer: 2019/08/07 18:09:26 [INFO] Waiting for SSH, up to timeout: 5m0s
2019/08/07 18:09:26 ui: ==> amazon-ebs: Waiting for SSH to become available...
2019/08/07 18:09:26 packer: 2019/08/07 18:09:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.204.42.212:22: connect: connection refused
2019/08/07 18:09:31 packer: 2019/08/07 18:09:31 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.204.42.212:22: connect: connection refused
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [INFO] Attempting SSH connection to 10.204.42.212:22...
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Config to &ssh.Config{SSHConfig:(*ssh.ClientConfig)(0xc00022c0d0), Connection:(func() (net.Conn, error))(0xdf5a40), Pty:false, DisableAgentForwarding:false, HandshakeTimeout:0, UseSftp:false, KeepAliveInterval:5000000000, Timeout:0}...
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] reconnecting to TCP connection for SSH
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] handshaking with SSH
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] handshake complete!
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [INFO] no local agent socket, will not connect agent
2019/08/07 18:09:36 ui: ==> amazon-ebs: Connected to SSH!
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 Running the provision hook
2019/08/07 18:09:36 [INFO] (telemetry) Starting provisioner shell
2019/08/07 18:09:36 ui: ==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell141347278
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 Opening /tmp/packer-shell141347278 for reading
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [INFO] 55 bytes written for 'uploadData'
2019/08/07 18:09:36 [INFO] 55 bytes written for 'uploadData'
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Opening new ssh session
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Starting remote scp process: scp -vt /tmp
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Started SCP session, beginning transfers...
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Copying input data into temporary file so we can read the length
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] scp: Uploading script_6187.sh: perms=C0644 size=55
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] SCP session complete, closing stdin pipe.
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Waiting for SSH session to complete.
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] scp stderr (length 30): Sink: C0644 55 script_6187.sh
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Opening new ssh session
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] starting remote command: chmod 0755 /tmp/script_6187.sh
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:36 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:36 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] Opening new ssh session
2019/08/07 18:09:36 packer: 2019/08/07 18:09:36 [DEBUG] starting remote command: chmod +x /tmp/script_6187.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_6187.sh
2019/08/07 18:09:37 ui:  amazon-ebs: Collecting ansible==2.7.10
2019/08/07 18:09:37 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/9a/9d/5e3d67bd998236f32a72f255394eccd1e22b3e2843aa60dc30dd164816d0/ansible-2.7.10.tar.gz (11.8MB)
2019/08/07 18:09:42 ui:  amazon-ebs: Requirement already satisfied: jinja2 in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
2019/08/07 18:09:42 ui:  amazon-ebs: Requirement already satisfied: PyYAML in /usr/lib64/python2.7/dist-packages (from ansible==2.7.10)
2019/08/07 18:09:42 ui:  amazon-ebs: Requirement already satisfied: paramiko in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
2019/08/07 18:09:42 ui:  amazon-ebs: Collecting cryptography (from ansible==2.7.10)
2019/08/07 18:09:42 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/e6/68/50698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92/cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
2019/08/07 18:09:43 ui:  amazon-ebs: Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Requirement already satisfied: markupsafe in /usr/lib64/python2.7/dist-packages (from jinja2->ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Requirement already satisfied: pycrypto!=2.4,>=2.1 in /usr/lib64/python2.7/dist-packages (from paramiko->ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Requirement already satisfied: ecdsa>=0.11 in /usr/lib/python2.7/dist-packages (from paramiko->ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
2019/08/07 18:09:43 ui:  amazon-ebs: Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography->ansible==2.7.10)
2019/08/07 18:09:43 ui:  amazon-ebs: Collecting ipaddress; python_version < "3" (from cryptography->ansible==2.7.10)
2019/08/07 18:09:44 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
2019/08/07 18:09:44 ui:  amazon-ebs: Collecting asn1crypto>=0.21.0 (from cryptography->ansible==2.7.10)
2019/08/07 18:09:44 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
2019/08/07 18:09:44 ui:  amazon-ebs: Collecting enum34; python_version < "3" (from cryptography->ansible==2.7.10)
2019/08/07 18:09:44 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
2019/08/07 18:09:44 ui:  amazon-ebs: Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible==2.7.10)
2019/08/07 18:09:44 ui:  amazon-ebs: Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
2019/08/07 18:09:45 ui:  amazon-ebs: Installing collected packages: pycparser, cffi, ipaddress, asn1crypto, enum34, cryptography, ansible
2019/08/07 18:09:45 ui:  amazon-ebs: Running setup.py install for pycparser: started
2019/08/07 18:09:45 ui:  amazon-ebs: Running setup.py install for pycparser: finished with status 'done'
2019/08/07 18:09:45 ui:  amazon-ebs: Running setup.py install for ansible: started
2019/08/07 18:09:52 ui:  amazon-ebs: Running setup.py install for ansible: finished with status 'done'
2019/08/07 18:09:52 ui:  amazon-ebs: Successfully installed ansible-2.7.10 asn1crypto-0.24.0 cffi-1.12.3 cryptography-2.7 enum34-1.1.6 ipaddress-1.0.22 pycparser-2.19
2019/08/07 18:09:52 ui error: ==> amazon-ebs: You are using pip version 9.0.3, however version 19.2.1 is available.
2019/08/07 18:09:52 ui error: ==> amazon-ebs: You should consider upgrading via the 'pip install --upgrade pip' command.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] 2906 bytes written for 'stdout'
2019/08/07 18:09:52 [INFO] 145 bytes written for 'stderr'
2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 2906 bytes written for 'stdout'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 145 bytes written for 'stderr'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] starting remote command: rm -f /tmp/script_6187.sh
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] starting remote command: rm -f
2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] (telemetry) ending shell
2019/08/07 18:09:52 [INFO] (telemetry) Starting provisioner ansible-local
2019/08/07 18:09:52 ui: ==> amazon-ebs: Provisioning with Ansible...
2019/08/07 18:09:52 ui:  amazon-ebs: Uploading Playbook directory to Ansible staging directory...
2019/08/07 18:09:52 ui:  amazon-ebs: Creating directory: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] starting remote command: mkdir -p '/tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] 0 bytes written for 'stdout'
2019/08/07 18:09:52 [INFO] 0 bytes written for 'stderr'
2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 [INFO] RPC endpoint: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 0 bytes written for 'stdout'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 0 bytes written for 'stderr'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] RPC client: Communicator ended with: 0
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Upload dir './' to '/tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Starting remote scp process: scp -rvt /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Started SCP session, beginning transfers...
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading ansible.cfg: perms=C0664 size=65
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading cobalt2.yml: perms=C0664 size=741
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading durin.yml: perms=C0664 size=726
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading inventory: perms=C0664 size=35
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading jenkins-slave.yml: perms=C0664 size=445
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading packer.yml: perms=C0664 size=524
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: roles
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: certs
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: handlers
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=114
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=1569
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: templates
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading rds-combined-ca-bundle.pem: perms=C0664 size=26016
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: cloudwatch
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: handlers
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=209
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=626
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: templates
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading cloudwatch-agent.json.j2: perms=C0664 size=4639
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: code-deploy
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=480
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: common
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=2219
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: jenkins-slave
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=671
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading packages.yml: perms=C0664 size=1386
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading services.yml: perms=C0664 size=256
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading users.yml: perms=C0664 size=127
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: nginx
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: handlers
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=58
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=690
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: templates
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading nginx-init.d.j2: perms=C0664 size=1742
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading nginx.conf.j2: perms=C0664 size=3532
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: packer
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=228
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading packages.yml: perms=C0664 size=1490
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading users.yml: perms=C0664 size=1008
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: rvm.ruby
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading .gitignore: perms=C0664 size=53
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading .travis.yml: perms=C0664 size=1098
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading CHANGELOG.md: perms=C0664 size=4117
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading CONTRIBUTING.md: perms=C0664 size=319
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading LICENSE: perms=C0664 size=1105
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading README.md: perms=C0664 size=10444
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: defaults
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=1747
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: meta
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading .galaxy_install_info: perms=C0664 size=55
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=371
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=205
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading rubies.yml: perms=C0664 size=2689
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading rvm.yml: perms=C0664 size=1869
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tests
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading ansible.cfg: perms=C0664 size=53
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading assertions.yml: perms=C0664 size=1061
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading docker-compose.yml: perms=C0664 size=441
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: dockerfiles
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: centos6
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=214
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: centos7
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=214
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: debian8
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=400
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading build: perms=C0664 size=688
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: debian9
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=264
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: ubuntu14
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=404
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading build: perms=C0664 size=685
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: ubuntu16
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading Dockerfile: perms=C0664 size=244
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading inventory: perms=C0664 size=281
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading root.yml: perms=C0664 size=375
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading user.yml: perms=C0664 size=391
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: vars
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=422
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: yarn
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP: starting directory upload: tasks
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading main.yml: perms=C0664 size=432
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading crash.log: perms=C0664 size=74096
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP session complete, closing stdin pipe.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Waiting for SSH session to complete.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp stderr (length 2573): Sink: C0664 65 ansible.cfg
2019/08/07 18:09:52 packer: Sink: C0664 741 cobalt2.yml
2019/08/07 18:09:52 packer: Sink: C0664 726 durin.yml
2019/08/07 18:09:52 packer: Sink: C0664 35 inventory
2019/08/07 18:09:52 packer: Sink: C0664 445 jenkins-slave.yml
2019/08/07 18:09:52 packer: Sink: C0664 524 packer.yml
2019/08/07 18:09:52 packer: Sink: D0775 0 roles
2019/08/07 18:09:52 packer: Sink: D0775 0 certs
2019/08/07 18:09:52 packer: Sink: D0775 0 handlers
2019/08/07 18:09:52 packer: Sink: C0664 114 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 1569 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 templates
2019/08/07 18:09:52 packer: Sink: C0664 26016 rds-combined-ca-bundle.pem
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 cloudwatch
2019/08/07 18:09:52 packer: Sink: D0775 0 handlers
2019/08/07 18:09:52 packer: Sink: C0664 209 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 626 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 templates
2019/08/07 18:09:52 packer: Sink: C0664 4639 cloudwatch-agent.json.j2
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 code-deploy
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 480 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 common
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 2219 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 jenkins-slave
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 671 main.yml
2019/08/07 18:09:52 packer: Sink: C0664 1386 packages.yml
2019/08/07 18:09:52 packer: Sink: C0664 256 services.yml
2019/08/07 18:09:52 packer: Sink: C0664 127 users.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 nginx
2019/08/07 18:09:52 packer: Sink: D0775 0 handlers
2019/08/07 18:09:52 packer: Sink: C0664 58 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 690 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 templates
2019/08/07 18:09:52 packer: Sink: C0664 1742 nginx-init.d.j2
2019/08/07 18:09:52 packer: Sink: C0664 3532 nginx.conf.j2
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 packer
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 228 main.yml
2019/08/07 18:09:52 packer: Sink: C0664 1490 packages.yml
2019/08/07 18:09:52 packer: Sink: C0664 1008 users.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 rvm.ruby
2019/08/07 18:09:52 packer: Sink: C0664 53 .gitignore
2019/08/07 18:09:52 packer: Sink: C0664 1098 .travis.yml
2019/08/07 18:09:52 packer: Sink: C0664 4117 CHANGELOG.md
2019/08/07 18:09:52 packer: Sink: C0664 319 CONTRIBUTING.md
2019/08/07 18:09:52 packer: Sink: C0664 1105 LICENSE
2019/08/07 18:09:52 packer: Sink: C0664 10444 README.md
2019/08/07 18:09:52 packer: Sink: D0775 0 defaults
2019/08/07 18:09:52 packer: Sink: C0664 1747 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 meta
2019/08/07 18:09:52 packer: Sink: C0664 55 .galaxy_install_info
2019/08/07 18:09:52 packer: Sink: C0664 371 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 205 main.yml
2019/08/07 18:09:52 packer: Sink: C0664 2689 rubies.yml
2019/08/07 18:09:52 packer: Sink: C0664 1869 rvm.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 tests
2019/08/07 18:09:52 packer: Sink: C0664 53 ansible.cfg
2019/08/07 18:09:52 packer: Sink: C0664 1061 assertions.yml
2019/08/07 18:09:52 packer: Sink: C0664 441 docker-compose.yml
2019/08/07 18:09:52 packer: Sink: D0775 0 dockerfiles
2019/08/07 18:09:52 packer: Sink: D0775 0 centos6
2019/08/07 18:09:52 packer: Sink: C0664 214 Dockerfile
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 centos7
2019/08/07 18:09:52 packer: Sink: C0664 214 Dockerfile
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 debian8
2019/08/07 18:09:52 packer: Sink: C0664 400 Dockerfile
2019/08/07 18:09:52 packer: Sink: C0664 688 build
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 debian9
2019/08/07 18:09:52 packer: Sink: C0664 264 Dockerfile
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 ubuntu14
2019/08/07 18:09:52 packer: Sink: C0664 404 Dockerfile
2019/08/07 18:09:52 packer: Sink: C0664 685 build
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 ubuntu16
2019/08/07 18:09:52 packer: Sink: C0664 244 Dockerfile
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: C0664 281 inventory
2019/08/07 18:09:52 packer: Sink: C0664 375 root.yml
2019/08/07 18:09:52 packer: Sink: C0664 391 user.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 vars
2019/08/07 18:09:52 packer: Sink: C0664 422 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: D0775 0 yarn
2019/08/07 18:09:52 packer: Sink: D0775 0 tasks
2019/08/07 18:09:52 packer: Sink: C0664 432 main.yml
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: E
2019/08/07 18:09:52 packer: Sink: C0664 74096 crash.log
2019/08/07 18:09:52 ui:  amazon-ebs: Uploading main Playbook file...
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 524 bytes written for 'uploadData'
2019/08/07 18:09:52 [INFO] 524 bytes written for 'uploadData'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Starting remote scp process: scp -vt /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Started SCP session, beginning transfers...
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Copying input data into temporary file so we can read the length
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading packer.yml: perms=C0644 size=524
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP session complete, closing stdin pipe.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Waiting for SSH session to complete.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp stderr (length 27): Sink: C0644 524 packer.yml
2019/08/07 18:09:52 ui:  amazon-ebs: Uploading inventory file...
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [INFO] 9 bytes written for 'uploadData'
2019/08/07 18:09:52 [INFO] 9 bytes written for 'uploadData'
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Starting remote scp process: scp -vt /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Started SCP session, beginning transfers...
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Copying input data into temporary file so we can read the length
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp: Uploading packer-provisioner-ansible-local255794741: perms=C0644 size=9
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] SCP session complete, closing stdin pipe.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Waiting for SSH session to complete.
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] scp stderr (length 56): Sink: C0644 9 packer-provisioner-ansible-local255794741
2019/08/07 18:09:52 ui:  amazon-ebs: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.yml --extra-vars "packer_build_name=amazon-ebs packer_builder_type=amazon-ebs packer_http_addr= -o IdentitiesOnly=yes" -e build_id=450539e8e6f6 -vv -c local -i /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer-provisioner-ansible-local255794741
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] Opening new ssh session
2019/08/07 18:09:52 packer: 2019/08/07 18:09:52 [DEBUG] starting remote command: cd /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.yml --extra-vars "packer_build_name=amazon-ebs packer_builder_type=amazon-ebs packer_http_addr= -o IdentitiesOnly=yes" -e build_id=450539e8e6f6 -vv -c local -i /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer-provisioner-ansible-local255794741
2019/08/07 18:09:53 ui error: ==> amazon-ebs: [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting
2019/08/07 18:09:53 ui:  amazon-ebs: ansible-playbook 2.7.10
2019/08/07 18:09:53 ui:  amazon-ebs:  config file = /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/ansible.cfg
2019/08/07 18:09:53 ui:  amazon-ebs:  configured module search path = [u'/home/ec2-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
2019/08/07 18:09:53 ui:  amazon-ebs:  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
2019/08/07 18:09:53 ui:  amazon-ebs:  executable location = /usr/local/bin/ansible-playbook
2019/08/07 18:09:53 ui:  amazon-ebs:  python version = 2.7.16 (default, Mar 18 2019, 18:38:44) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
2019/08/07 18:09:53 ui:  amazon-ebs: Using /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/ansible.cfg as config file
2019/08/07 18:09:53 ui:  amazon-ebs: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer-provisioner-ansible-local255794741 did not meet host_list requirements, check plugin documentation if this is unexpected
2019/08/07 18:09:53 ui:  amazon-ebs: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer-provisioner-ansible-local255794741 did not meet script requirements, check plugin documentation if this is unexpected
2019/08/07 18:09:53 ui:  amazon-ebs: statically imported: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/roles/packer/tasks/users.yml
2019/08/07 18:09:53 ui:  amazon-ebs: statically imported: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/roles/packer/tasks/packages.yml
2019/08/07 18:09:53 ui:  amazon-ebs: PLAYBOOK: packer.yml ***********************************************************
2019/08/07 18:09:53 ui:  amazon-ebs: 1 plays in /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.yml
2019/08/07 18:09:53 ui:  amazon-ebs: PLAY [localhost] ***************************************************************
2019/08/07 18:09:53 ui:  amazon-ebs: TASK [Gathering Facts] *********************************************************
2019/08/07 18:09:53 ui:  amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.yml:12
2019/08/07 18:09:54 ui:  amazon-ebs: ok: [127.0.0.1]
2019/08/07 18:09:54 ui:  amazon-ebs: META: ran handlers
2019/08/07 18:09:54 ui:  amazon-ebs: TASK [packer : ec2_metadata_facts] *********************************************
2019/08/07 18:09:54 ui:  amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/roles/packer/tasks/main.yml:2
2019/08/07 18:09:54 ui:  amazon-ebs: ok: [127.0.0.1] => {"ansible_facts": {"ansible_ec2_ami_id": "ami-035b3c7efe6d061d5", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "xvda", "ansible_ec2_block_device_mapping_root": "/dev/xvda", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hostname": "ip-10-204-42-212.ec2.internal", "ansible_ec2_iam_info": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:08:53Z\",\n \"InstanceProfileArn\" : \"arn:aws:iam::742663077492:instance-profile/JenkinsPackerBuildProfile\",\n \"InstanceProfileId\" : \"AIPA2Z2RLHZ2JSKFGSUE5\"\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::742663077492:instance-profile/JenkinsPackerBuildProfile", "ansible_ec2_iam_info_instanceprofileid": "AIPA2Z2RLHZ2JSKFGSUE5", "ansible_ec2_iam_info_lastupdated": "2019-08-07T18:08:53Z", "ansible_ec2_iam_instance_profile_role": "JenkinsPackerBuildRole", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:08:11Z\",\n \"Type\" : \"AWS-HMAC\",\n \"AccessKeyId\" : \"ASIA2Z2RLHZ2AZV6GYCN\",\n \"SecretAccessKey\" : \"PGCfI0vU+s9v7qz8H7frQn7IQOC0kIRMoKVXaNu6\",\n \"Token\" : \"AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJHMEUCIQCb7Ba76+y2lokP9D9fTwJ+8PRH9Yc8Rlzy8132Qwgm/AIgSvxAoe6wRTGUD0fFPgtfZjSIE0ucsubNkhWc3DHKBNQq2gMIYxAAGgw3NDI2NjMwNzc0OTIiDH5ajuehlAKUckTrsyq3A0RXyVTq1UzUdewaugoqbaeAzhgxjEoFNhqxSbMGd9f3rWJOJU64lFGvado0AsNTiYszGcOa3YgTpmw/ugJX8CLUljgdCYEJyNj3XZ0N2ennpvYYAMLN+sPbJnLwx7ZskeX9qDysHA9KQoGCr9pvQG0RSg4VWl3+I7yXiVxR8R5D0/j1IvLdfzq4Tv5ucBMgFHVVbzoRbkfkcA/f1Ai3EW4TCwlnch7DvgwazK/yzdB5wyvkcxXyHKXXTWz8x426iKMB/qJtetUBf92H7Xpf7mTwQKJ5wVfpm2fq6eDoGJr4O9Y4fA2bYBXzVquD9zG/V2a8zquT9IEq1sp1Y8dFm546wRnJprEdyx7qk1/eZIGiGOXDuyrr9II9NmOWBAmSf3tjfnBe9wk3xzothPUC464huADWmTrFo1Ox8p5z6lSa1CvBn7/GSSyBCwWymWifOnB+maq9i8BuOkdIYLz/zRUw5pDsTRq0nzUVWfAH2C6JGG2fBK71+9h5kcP8o79k4Cp+C2WN809k9kzkYLjqHWgTIoeUpB4FYk37fgZAcyg+ORl84Mee+A9/WoAH+Gqg1kWBYzg2L+Awxaes6gU6tAHok74zuwjB6gpNEeoUAQONcETBpFWsy6jAa4bQTkIwrmdJpfNsmjgRMv1EEa+IcZeamJxIyF4ITa6Fz5TC1i2qYacfzlYvuAGIPLc9jD38Op61qMsSsEUkCX1DDw7IfhSOwI0Yqno0M5UaKqnIOZgyzIFYAbJMTZVf42AUxMY+8lfrmCK39S6aEewc3X14bEKVWL3ZgtL2noRIdhXnvSDqtLa58m9QsixLoH63nz/lJsGbUd0=\",\n \"Expiration\" : \"2019-08-08T00:44:09Z\"\n}", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_accesskeyid": "ASIA2Z2RLHZ2AZV6GYCN", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_code": "Success", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_expiration": "2019-08-08T00:44:09Z", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_lastupdated": "2019-08-07T18:08:11Z", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_secretaccesskey": "PGCfI0vU+s9v7qz8H7frQn7IQOC0kIRMoKVXaNu6", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_token": "AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJHMEUCIQCb7Ba76+y2lokP9D9fTwJ+8PRH9Yc8Rlzy8132Qwgm/AIgSvxAoe6wRTGUD0fFPgtfZjSIE0ucsubNkhWc3DHKBNQq2gMIYxAAGgw3NDI2NjMwNzc0OTIiDH5ajuehlAKUckTrsyq3A0RXyVTq1UzUdewaugoqbaeAzhgxjEoFNhqxSbMGd9f3rWJOJU64lFGvado0AsNTiYszGcOa3YgTpmw/ugJX8CLUljgdCYEJyNj3XZ0N2ennpvYYAMLN+sPbJnLwx7ZskeX9qDysHA9KQoGCr9pvQG0RSg4VWl3+I7yXiVxR8R5D0/j1IvLdfzq4Tv5ucBMgFHVVbzoRbkfkcA/f1Ai3EW4TCwlnch7DvgwazK/yzdB5wyvkcxXyHKXXTWz8x426iKMB/qJtetUBf92H7Xpf7mTwQKJ5wVfpm2fq6eDoGJr4O9Y4fA2bYBXzVquD9zG/V2a8zquT9IEq1sp1Y8dFm546wRnJprEdyx7qk1/eZIGiGOXDuyrr9II9NmOWBAmSf3tjfnBe9wk3xzothPUC464huADWmTrFo1Ox8p5z6lSa1CvBn7/GSSyBCwWymWifOnB+maq9i8BuOkdIYLz/zRUw5pDsTRq0nzUVWfAH2C6JGG2fBK71+9h5kcP8o79k4Cp+C2WN809k9kzkYLjqHWgTIoeUpB4FYk37fgZAcyg+ORl84Mee+A9/WoAH+Gqg1kWBYzg2L+Awxaes6gU6tAHok74zuwjB6gpNEeoUAQONcETBpFWsy6jAa4bQTkIwrmdJpfNsmjgRMv1EEa+IcZeamJxIyF4ITa6Fz5TC1i2qYacfzlYvuAGIPLc9jD38Op61qMsSsEUkCX1DDw7IfhSOwI0Yqno0M5UaKqnIOZgyzIFYAbJMTZVf42AUxMY+8lfrmCK39S6aEewc3X14bEKVWL3ZgtL2noRIdhXnvSDqtLa58m9QsixLoH63nz/lJsGbUd0=", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_info": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:08:21Z\",\n \"AccountId\" : \"742663077492\"\n}", "ansible_ec2_identity_credentials_ec2_info_accountid": "742663077492", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2019-08-07T18:08:21Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:08:54Z\",\n \"Type\" : \"AWS-HMAC\",\n \"AccessKeyId\" : \"ASIA2Z2RLHZ2O6MR6YA5\",\n \"SecretAccessKey\" : \"aQQ2FJTbA69Mlc3m6jHp/mHxW1qS6NAG4ilhznvz\",\n \"Token\" : \"AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJIMEYCIQDq7gDh+/om3C8tkIAPKm8ivhpiUfWVSN3HXeOoUM2yEgIhALjPZtk6HK2ttCDZFMjD9lPWOjIkwuFslUuKmGb8y5DUKvIDCGMQABoMNzQyNjYzMDc3NDkyIgwjZwAnPc1D2SYebGkqzwO8RkdIyfQABWdfUUGs+SElCPIn1fPclyQpfEC3TiAlOxy3xTC+ZoLu31AJa8Rp7Cti9mO1/mP7n2UJkjzPHpTUG3BVuVtpNyKquXCBnR3yTsCGs5CZlaHjo/sye3krY/7nu+va3kNss1zacrMyq/1kIusbddYUkFcAdZa/lxgoT/3KnqQceZnWQYljQWyabzlxiiZBzc8Ukf2+DfzbY4sIjzVmfp880QDp15IG20KYyeMylS98RqK2qtEpcSJSQRhiT5YsFVEKniNmAFuA9kTQC/aERV6bbYysnU3AGVE6TdlvghLDW5OqNXQ7wNONbLODzE5QRNguIIbb/7jWAICQ4HWiOElWCHInlpdO4mIXo6rk5xM26BnbvZDCUnDqUbjvkcCK+ceaBL1FuLMvPecMjWPuWZJ0pzpWXz6C/hQBHocBj8Upkoz9EqRC4H2cMdzEQgdG3I8iJdP09WxT/Odghfet2VOHj9oxLG05p66C63TiDG4Mwuihc2/nYX6xeUuYHI+nKlz9jy4r26V3UrE4oRWd9lkmLM1LUgic4CamNEPxDGPiKRD8arrhBBzMBT8fQrDAB2ZRlKvBn4lswOgceKVfutULLNR3YNH31EpCMMWnrOoFOrMBMZdEHw7BDLYcedE7mfVMLQNwWMq8Xd9biUEFjuWlxJ0lF4w0jZ44sxgcJaZ5YrJnRUQn8xI8wSRHuoc714JcCy4CFX1I07fx+nYcMzpB8nUtFFc+s7NOrZqIoE6jYA0m/+j9xntevAV0mEK7/6uUAzd3I6QPQ/oi/Tmy6CndKgfIw5Cy2F3S4X68N8S4J145W7kF7Lr/P0AWzeEZGbw5YMuaOXE07Xpw8IQWVit57a8Wphg=\",\n \"Expiration\" : \"2019-08-08T00:35:27Z\"\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "ASIA2Z2RLHZ2O6MR6YA5", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2019-08-08T00:35:27Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2019-08-07T18:08:54Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "aQQ2FJTbA69Mlc3m6jHp/mHxW1qS6NAG4ilhznvz", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJIMEYCIQDq7gDh+/om3C8tkIAPKm8ivhpiUfWVSN3HXeOoUM2yEgIhALjPZtk6HK2ttCDZFMjD9lPWOjIkwuFslUuKmGb8y5DUKvIDCGMQABoMNzQyNjYzMDc3NDkyIgwjZwAnPc1D2SYebGkqzwO8RkdIyfQABWdfUUGs+SElCPIn1fPclyQpfEC3TiAlOxy3xTC+ZoLu31AJa8Rp7Cti9mO1/mP7n2UJkjzPHpTUG3BVuVtpNyKquXCBnR3yTsCGs5CZlaHjo/sye3krY/7nu+va3kNss1zacrMyq/1kIusbddYUkFcAdZa/lxgoT/3KnqQceZnWQYljQWyabzlxiiZBzc8Ukf2+DfzbY4sIjzVmfp880QDp15IG20KYyeMylS98RqK2qtEpcSJSQRhiT5YsFVEKniNmAFuA9kTQC/aERV6bbYysnU3AGVE6TdlvghLDW5OqNXQ7wNONbLODzE5QRNguIIbb/7jWAICQ4HWiOElWCHInlpdO4mIXo6rk5xM26BnbvZDCUnDqUbjvkcCK+ceaBL1FuLMvPecMjWPuWZJ0pzpWXz6C/hQBHocBj8Upkoz9EqRC4H2cMdzEQgdG3I8iJdP09WxT/Odghfet2VOHj9oxLG05p66C63TiDG4Mwuihc2/nYX6xeUuYHI+nKlz9jy4r26V3UrE4oRWd9lkmLM1LUgic4CamNEPxDGPiKRD8arrhBBzMBT8fQrDAB2ZRlKvBn4lswOgceKVfutULLNR3YNH31EpCMMWnrOoFOrMBMZdEHw7BDLYcedE7mfVMLQNwWMq8Xd9biUEFjuWlxJ0lF4w0jZ44sxgcJaZ5YrJnRUQn8xI8wSRHuoc714JcCy4CFX1I07fx+nYcMzpB8nUtFFc+s7NOrZqIoE6jYA0m/+j9xntevAV0mEK7/6uUAzd3I6QPQ/oi/Tmy6CndKgfIw5Cy2F3S4X68N8S4J145W7kF7Lr/P0AWzeEZGbw5YMuaOXE07Xpw8IQWVit57a8Wphg=", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-0e208b06d1e4c3df2", "ansible_ec2_instance_identity_document": "{\n \"accountId\" : \"742663077492\",\n \"availabilityZone\" : \"us-east-1c\",\n \"ramdiskId\" : null,\n \"kernelId\" : null,\n \"pendingTime\" : \"2019-08-07T18:08:57Z\",\n \"architecture\" : \"x86_64\",\n \"privateIp\" : \"10.204.42.212\",\n \"version\" : \"2017-09-30\",\n \"region\" : \"us-east-1\",\n \"devpayProductCodes\" : null,\n \"marketplaceProductCodes\" : null,\n \"imageId\" : \"ami-035b3c7efe6d061d5\",\n \"billingProducts\" : null,\n \"instanceId\" : \"i-0e208b06d1e4c3df2\",\n \"instanceType\" : \"t3.large\"\n}", "ansible_ec2_instance_identity_document_accountid": "742663077492", "ansible_ec2_instance_identity_document_architecture": "x86_64", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1c", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "ami-035b3c7efe6d061d5", "ansible_ec2_instance_identity_document_instanceid": "i-0e208b06d1e4c3df2", "ansible_ec2_instance_identity_document_instancetype": "t3.large", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_pendingtime": "2019-08-07T18:08:57Z", "ansible_ec2_instance_identity_document_privateip": "10.204.42.212", "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": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggHdewog\nICJhY2NvdW50SWQiIDogIjc0MjY2MzA3NzQ5MiIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVz\nLWVhc3QtMWMiLAogICJyYW1kaXNrSWQiIDogbnVsbCwKICAia2VybmVsSWQiIDogbnVsbCwKICAi\ncGVuZGluZ1RpbWUiIDogIjIwMTktMDgtMDdUMTg6MDg6NTdaIiwKICAiYXJjaGl0ZWN0dXJlIiA6\nICJ4ODZfNjQiLAogICJwcml2YXRlSXAiIDogIjEwLjIwNC40Mi4yMTIiLAogICJ2ZXJzaW9uIiA6\nICIyMDE3LTA5LTMwIiwKICAicmVnaW9uIiA6ICJ1cy1lYXN0LTEiLAogICJkZXZwYXlQcm9kdWN0\nQ29kZXMiIDogbnVsbCwKICAibWFya2V0cGxhY2VQcm9kdWN0Q29kZXMiIDogbnVsbCwKICAiaW1h\nZ2VJZCIgOiAiYW1pLTAzNWIzYzdlZmU2ZDA2MWQ1IiwKICAiYmlsbGluZ1Byb2R1Y3RzIiA6IG51\nbGwsCiAgImluc3RhbmNlSWQiIDogImktMGUyMDhiMDZkMWU0YzNkZjIiLAogICJpbnN0YW5jZVR5\ncGUiIDogInQzLmxhcmdlIgp9AAAAAAAAMYIBFzCCARMCAQEwaTBcMQswCQYDVQQGEwJVUzEZMBcG\nA1UECBMQV2FzaGluZ3RvbiBTdGF0ZTEQMA4GA1UEBxMHU2VhdHRsZTEgMB4GA1UEChMXQW1hem9u\nIFdlYiBTZXJ2aWNlcyBMTEMCCQCWukjZ5V4aZzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsG\nCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTkwODA3MTgwOTA4WjAjBgkqhkiG9w0BCQQxFgQU\nMxr7+uNz1Fw/qqTvgfhP9JdPs+wwCQYHKoZIzjgEAwQuMCwCFHLZQBxXeMGAKSH2/ZfGjUJxiQ/H\nAhQ8vWPWViKx7hM9BeVf5LxJJ799nwAAAAAAAA==", "ansible_ec2_instance_identity_rsa2048": "MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIIB\n3XsKICAiYWNjb3VudElkIiA6ICI3NDI2NjMwNzc0OTIiLAogICJhdmFpbGFiaWxpdHlab25lIiA6\nICJ1cy1lYXN0LTFjIiwKICAicmFtZGlza0lkIiA6IG51bGwsCiAgImtlcm5lbElkIiA6IG51bGws\nCiAgInBlbmRpbmdUaW1lIiA6ICIyMDE5LTA4LTA3VDE4OjA4OjU3WiIsCiAgImFyY2hpdGVjdHVy\nZSIgOiAieDg2XzY0IiwKICAicHJpdmF0ZUlwIiA6ICIxMC4yMDQuNDIuMjEyIiwKICAidmVyc2lv\nbiIgOiAiMjAxNy0wOS0zMCIsCiAgInJlZ2lvbiIgOiAidXMtZWFzdC0xIiwKICAiZGV2cGF5UHJv\nZHVjdENvZGVzIiA6IG51bGwsCiAgIm1hcmtldHBsYWNlUHJvZHVjdENvZGVzIiA6IG51bGwsCiAg\nImltYWdlSWQiIDogImFtaS0wMzViM2M3ZWZlNmQwNjFkNSIsCiAgImJpbGxpbmdQcm9kdWN0cyIg\nOiBudWxsLAogICJpbnN0YW5jZUlkIiA6ICJpLTBlMjA4YjA2ZDFlNGMzZGYyIiwKICAiaW5zdGFu\nY2VUeXBlIiA6ICJ0My5sYXJnZSIKfQAAAAAAADGCAf8wggH7AgEBMGkwXDELMAkGA1UEBhMCVVMx\nGTAXBgNVBAgTEFdhc2hpbmd0b24gU3RhdGUxEDAOBgNVBAcTB1NlYXR0bGUxIDAeBgNVBAoTF0Ft\nYXpvbiBXZWIgU2VydmljZXMgTExDAgkAsWnMQBVZpBkwDQYJYIZIAWUDBAIBBQCgaTAYBgkqhkiG\n9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xOTA4MDcxODA5MDhaMC8GCSqGSIb3\nDQEJBDEiBCB28RLdWudgFfJgu8J9fGxsZ/7X8r6ChHwb39f/cOfkCzANBgkqhkiG9w0BAQEFAASC\nAQA1dzEn0i+Vavg+z88T23IyfY1kc2IlovvqH3ZCM3n4YA7NVYl7eBlXikUxS7jVCX43VFJpl6Sv\ngVV3iJPWtqTDuqSZgXu253DtGYUtiW4l/n1Wi/nPTiJV3y6Qg7fGeYLIrDoheFNEwsHfCmXyKzCF\np2ukm5bd1lzSsG+i9bnCPEbkCvdQ8BTx1TkSUuGeOgnzO8wRwoTfbH4CQ6cIFUae6sw/1BE/F/+n\newTJJHba8lCOW4+RtW5r8J7WkmwxxELWnClJtTlEa8SzKF6B+uq23UUsZWEgZ/AARRwwNwkbzTWL\ncXMX2aCwvii4DqwdlHDBvZAPBb5gu3QevMUdyp1BAAAAAAAA", "ansible_ec2_instance_identity_signature": "Blv1wZUhGHte7XLDJMdqg5HkaO30C2GTfQXnS7qnaz75gDU3j+6LlCXX4iTSPS38K5oPFGYPgMYg\nlkb6vWFhBg81pAm6lUPeJDLKmXgPJHzN8nWz9lNKOCGxi8cfts40+fL8EOm6IVizyuFMo5npnZ62\nTSLXSRfrqbofxrOuONI=", "ansible_ec2_instance_type": "t3.large", "ansible_ec2_local_hostname": "ip-10-204-42-212.ec2.internal", "ansible_ec2_local_ipv4": "10.204.42.212", "ansible_ec2_mac": "02:58:3f:5a:2e:c0", "ansible_ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_device_number": "0", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_interface_id": "eni-030416cc014077e4c", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_local_hostname": "ip-10-204-42-212.ec2.internal", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_local_ipv4s": "10.204.42.212", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_mac": "02:58:3f:5a:2e:c0", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_owner_id": "742663077492", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_security_group_ids": "sg-0499e0c672d3ea0e9", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_security_groups": "packer_5d4b13b6-a980-89aa-f2af-1b85ff7e70fb", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_subnet_id": "subnet-04c8c1d14089b471e", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_subnet_ipv4_cidr_block": "10.204.32.0/20", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_vpc_id": "vpc-073cc3d0e93e56bd1", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_vpc_ipv4_cidr_block": "10.204.0.0/18", "ansible_ec2_network_interfaces_macs_02_58_3f_5a_2e_c0_vpc_ipv4_cidr_blocks": "10.204.0.0/18", "ansible_ec2_placement_availability_zone": "us-east-1c", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_profile": "default-hvm", "ansible_ec2_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCf8//bBtVjeC3BBtiKCXlgZgn/Q67EfJk2MCOK+VZvUxdQDJ38Fl2NYSg+BlWsIxZjBVk2ixEYFJTJ+Mz3f5uxf/rckNh/TpQkryt9K2jrkZgcdO89QOUfu4HzlGSsADcq5MC5MW6FE3JQoQm5XDKuYsgbn7gFsm/VzAh30rGQt2RotcLtx4U1SdohayRmd3J6UNaBBdytyRkpsCS3+DnfMvTEnKAcRfnPk1VAfdsqosFHADnidEHFBNOtsCNCZpJ/v9+qRp/fjL13bLZrk9CdDHANNcX2YW0mva5p53XzvHtV2ZV4WIXVf/wav+BBc6tAaLQvpC8WSt5+ktpNb9gz packer_5d4b13b5-a39b-b41a-0450-f6a5a844f1eb\n", "ansible_ec2_reservation_id": "r-00d4030bc7f40f865", "ansible_ec2_security_groups": "packer_5d4b13b6-a980-89aa-f2af-1b85ff7e70fb", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": ""}, "changed": false}
2019/08/07 18:09:54 ui:  amazon-ebs: TASK [packer : add the 'deployer' user] ****************************************
2019/08/07 18:09:54 ui:  amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/roles/packer/tasks/users.yml:2
2019/08/07 18:09:55 ui:  amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Group deployer does not exist"}
2019/08/07 18:09:55 ui:  amazon-ebs: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.retry
2019/08/07 18:09:55 ui:  amazon-ebs: PLAY RECAP *********************************************************************
2019/08/07 18:09:55 ui:  amazon-ebs: 127.0.0.1 : ok=2  changed=0 unreachable=0 failed=1 
2019/08/07 18:09:55 packer: 2019/08/07 18:09:55 [ERROR] Remote command exited with '2': cd /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer.yml --extra-vars "packer_build_name=amazon-ebs packer_builder_type=amazon-ebs packer_http_addr= -o IdentitiesOnly=yes" -e build_id=450539e8e6f6 -vv -c local -i /tmp/packer-provisioner-ansible-local/5d4b13b5-6ce3-9522-e94e-7fe1a9ebcdad/packer-provisioner-ansible-local255794741
2019/08/07 18:09:55 packer: 2019/08/07 18:09:55 [INFO] RPC endpoint: Communicator ended with: 2
2019/08/07 18:09:55 [INFO] 17368 bytes written for 'stdout'
2019/08/07 18:09:55 [INFO] 96 bytes written for 'stderr'
2019/08/07 18:09:55 [INFO] RPC client: Communicator ended with: 2
2019/08/07 18:09:55 [INFO] RPC endpoint: Communicator ended with: 2
2019/08/07 18:09:55 packer: 2019/08/07 18:09:55 [INFO] 17368 bytes written for 'stdout'
2019/08/07 18:09:55 packer: 2019/08/07 18:09:55 [INFO] 96 bytes written for 'stderr'
2019/08/07 18:09:55 packer: 2019/08/07 18:09:55 [INFO] RPC client: Communicator ended with: 2
2019/08/07 18:09:55 [INFO] (telemetry) ending ansible-local
2019/08/07 18:09:55 ui error: ==> amazon-ebs: Error executing Ansible: Non-zero exit status: 2
2019/08/07 18:09:55 ui: ==> amazon-ebs: Step "StepProvision" failed
2019/08/07 18:09:55 ui: ask: ==> amazon-ebs: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x2270426]
goroutine 302 [running]:
github.com/hashicorp/packer/vendor/github.com/mattn/go-tty.(*TTY).output(...)
/Users/mmarsh/go/src/github.com/hashicorp/packer/vendor/github.com/mattn/go-tty/tty_unix.go:101
github.com/hashicorp/packer/vendor/github.com/mattn/go-tty.(*TTY).Output(0x0, 0x258b280)
/Users/mmarsh/go/src/github.com/hashicorp/packer/vendor/github.com/mattn/go-tty/tty.go:46 +0x6
github.com/hashicorp/packer/vendor/github.com/mattn/go-tty.(*TTY).ReadString(0x0, 0x0, 0x0, 0x0, 0x0)
/Users/mmarsh/go/src/github.com/hashicorp/packer/vendor/github.com/mattn/go-tty/tty.go:90 +0x3c
github.com/hashicorp/packer/packer.(*BasicUi).Ask.func1(0xc000082e40, 0xc00030ff80)
/Users/mmarsh/go/src/github.com/hashicorp/packer/packer/ui.go:212 +0x40
created by github.com/hashicorp/packer/packer.(*BasicUi).Ask
/Users/mmarsh/go/src/github.com/hashicorp/packer/packer/ui.go:211 +0x238
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name: base-ami-official-20190807_180849
 amazon-ebs: Found Image ID: ami-035b3c7efe6d061d5
==> amazon-ebs: Creating temporary keypair: packer_5d4b19e7-cc5b-a268-2428-1ae6d001d03a
==> amazon-ebs: Creating temporary security group for this instance: packer_5d4b19e9-9f95-8bea-3ba1-c6d27adcfaf2
==> amazon-ebs: Authorizing access to port 22 from [0.0.0.0/0] in the temporary security groups...
==> amazon-ebs: Launching a source AWS instance...
 amazon-ebs: Finding spot price for Linux/UNIX (Amazon VPC) t3.large...
==> amazon-ebs: Adding tags to source instance
 amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
 amazon-ebs: Adding tag: "Project": "packer"
 amazon-ebs: Adding tag: "Environment": "devopsng"
 amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
 amazon-ebs: Requesting spot instance 't3.large' for: 0.030100000000000002
 amazon-ebs: Waiting for spot request (sir-paxr6aah) to become active...
 amazon-ebs: Adding tag: "Encrypted": "true"
 amazon-ebs: Adding tag: "ParentAmi": "ami-035b3c7efe6d061d5"
 amazon-ebs: Adding tag: "Application": "base"
 amazon-ebs: Adding tag: "Environment": "devopsng"
 amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
 amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
 amazon-ebs: Instance ID: i-03602953eb1096e4e
==> amazon-ebs: Waiting for instance (i-03602953eb1096e4e) to become ready...
==> amazon-ebs: Adding tags to source EBS Volumes
 amazon-ebs: Adding tag: "Name": "packer-base-devopsng"
 amazon-ebs: Adding tag: "Project": "packer"
 amazon-ebs: Adding tag: "Environment": "devopsng"
 amazon-ebs: Adding tag: "BuildId": "450539e8e6f6"
==> amazon-ebs: Using ssh communicator to connect: 10.204.45.62
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell929378399
 amazon-ebs: Collecting ansible==2.7.10
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/9a/9d/5e3d67bd998236f32a72f255394eccd1e22b3e2843aa60dc30dd164816d0/ansible-2.7.10.tar.gz (11.8MB)
 amazon-ebs: Requirement already satisfied: jinja2 in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
 amazon-ebs: Requirement already satisfied: PyYAML in /usr/lib64/python2.7/dist-packages (from ansible==2.7.10)
 amazon-ebs: Requirement already satisfied: paramiko in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
 amazon-ebs: Collecting cryptography (from ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/e6/68/50698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92/cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
 amazon-ebs: Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from ansible==2.7.10)
 amazon-ebs: Requirement already satisfied: markupsafe in /usr/lib64/python2.7/dist-packages (from jinja2->ansible==2.7.10)
 amazon-ebs: Requirement already satisfied: pycrypto!=2.4,>=2.1 in /usr/lib64/python2.7/dist-packages (from paramiko->ansible==2.7.10)
 amazon-ebs: Requirement already satisfied: ecdsa>=0.11 in /usr/lib/python2.7/dist-packages (from paramiko->ansible==2.7.10)
 amazon-ebs: Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
 amazon-ebs: Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography->ansible==2.7.10)
 amazon-ebs: Collecting ipaddress; python_version < "3" (from cryptography->ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
 amazon-ebs: Collecting asn1crypto>=0.21.0 (from cryptography->ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
 amazon-ebs: Collecting enum34; python_version < "3" (from cryptography->ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
 amazon-ebs: Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible==2.7.10)
 amazon-ebs: Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
 amazon-ebs: Installing collected packages: pycparser, cffi, ipaddress, asn1crypto, enum34, cryptography, ansible
 amazon-ebs: Running setup.py install for pycparser: started
 amazon-ebs: Running setup.py install for pycparser: finished with status 'done'
 amazon-ebs: Running setup.py install for ansible: started
 amazon-ebs: Running setup.py install for ansible: finished with status 'done'
 amazon-ebs: Successfully installed ansible-2.7.10 asn1crypto-0.24.0 cffi-1.12.3 cryptography-2.7 enum34-1.1.6 ipaddress-1.0.22 pycparser-2.19
==> amazon-ebs: You are using pip version 9.0.3, however version 19.2.1 is available.
==> amazon-ebs: You should consider upgrading via the 'pip install --upgrade pip' command.
==> amazon-ebs: Provisioning with Ansible...
 amazon-ebs: Uploading Playbook directory to Ansible staging directory...
 amazon-ebs: Creating directory: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1
 amazon-ebs: Uploading main Playbook file...
 amazon-ebs: Uploading inventory file...
 amazon-ebs: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer.yml --extra-vars "packer_build_name=amazon-ebs packer_builder_type=amazon-ebs packer_http_addr= -o IdentitiesOnly=yes" -e build_id=450539e8e6f6 -vv -c local -i /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer-provisioner-ansible-local344962378
==> amazon-ebs: [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting
 amazon-ebs: ansible-playbook 2.7.10
 amazon-ebs:  config file = /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/ansible.cfg
 amazon-ebs:  configured module search path = [u'/home/ec2-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
 amazon-ebs:  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
 amazon-ebs:  executable location = /usr/local/bin/ansible-playbook
 amazon-ebs:  python version = 2.7.16 (default, Mar 18 2019, 18:38:44) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
 amazon-ebs: Using /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/ansible.cfg as config file
 amazon-ebs: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer-provisioner-ansible-local344962378 did not meet host_list requirements, check plugin documentation if this is unexpected
 amazon-ebs: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer-provisioner-ansible-local344962378 did not meet script requirements, check plugin documentation if this is unexpected
 amazon-ebs: statically imported: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/roles/packer/tasks/users.yml
 amazon-ebs: statically imported: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/roles/packer/tasks/packages.yml
 amazon-ebs: PLAYBOOK: packer.yml ***********************************************************
 amazon-ebs: 1 plays in /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer.yml
 amazon-ebs: PLAY [localhost] ***************************************************************
 amazon-ebs: TASK [Gathering Facts] *********************************************************
 amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer.yml:12
 amazon-ebs: ok: [127.0.0.1]
 amazon-ebs: META: ran handlers
 amazon-ebs: TASK [packer : ec2_metadata_facts] *********************************************
 amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/roles/packer/tasks/main.yml:2
 amazon-ebs: ok: [127.0.0.1] => {"ansible_facts": {"ansible_ec2_ami_id": "ami-035b3c7efe6d061d5", "ansible_ec2_ami_launch_index": "0", "ansible_ec2_ami_manifest_path": "(unknown)", "ansible_ec2_block_device_mapping_ami": "xvda", "ansible_ec2_block_device_mapping_root": "/dev/xvda", "ansible_ec2_events_maintenance_history": "[]", "ansible_ec2_events_maintenance_scheduled": "[]", "ansible_ec2_hostname": "ip-10-204-45-62.ec2.internal", "ansible_ec2_iam_info": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:36:18Z\",\n \"InstanceProfileArn\" : \"arn:aws:iam::742663077492:instance-profile/JenkinsPackerBuildProfile\",\n \"InstanceProfileId\" : \"AIPA2Z2RLHZ2JSKFGSUE5\"\n}", "ansible_ec2_iam_info_code": "Success", "ansible_ec2_iam_info_instanceprofilearn": "arn:aws:iam::742663077492:instance-profile/JenkinsPackerBuildProfile", "ansible_ec2_iam_info_instanceprofileid": "AIPA2Z2RLHZ2JSKFGSUE5", "ansible_ec2_iam_info_lastupdated": "2019-08-07T18:36:18Z", "ansible_ec2_iam_instance_profile_role": "JenkinsPackerBuildRole", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:35:48Z\",\n \"Type\" : \"AWS-HMAC\",\n \"AccessKeyId\" : \"ASIA2Z2RLHZ2IG5S5BPC\",\n \"SecretAccessKey\" : \"P7+41AXAvwQ4dm9nkXeyqUDFptgYuxeNq70TNV+b\",\n \"Token\" : \"AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJIMEYCIQCNtnZutfBWioiItOrndhUBP8ZO4y6Ky3B7s4Q3dw/I8AIhAMPg165ruFik6FiHlqLFxMJ1D5sJ2BYE/levKCHEgliXKtoDCGQQABoMNzQyNjYzMDc3NDkyIgxnh03NB5UdBWqd8zcqtwPUy30FMtpuygnxC7v5RqBGxirOQsircwdk4JBUenKaxoX238QMZJO9aKV8P7ZJ9cTcqboj8e137dwfUyMUqBQKhmpSTXkCxTG+JA+qvUyoVX9RM90RYe1Gjo+pAPsJNpCh4fxUqMtauOJ+qGqO0yLJPojwY5d5m9c0yg1v1saF56ubduXLvX3maIbxTkIDXESiUTb89+4OWXwOpGMi7AVIXKZc/npW3tjVsZUO37WvscerQ63K7JHgrlFOxc+I85JQ1rOp0t7Hae0ZO5jL+GMIrjAbtKL/6N4/DQLPX+A5GqkzYSXRH8L986e3WKLVhsxnVTWAosn4Z60lCXgdbHn4EwQa2zUW6MLb2SrqJzX1HCUpGMyypBtHOD64fcywuulrL6rlGiHhvW1nv246B83fuE5LnQEyvUjTq+K8gwiv72Kbk3GP1qUK534ZBYSAqBqSrs42N+vdir1teWLMO/C5Bz+BYxPa62x0Tsx8m5m3p2TaXGT2rYiv3V0apwyBYbFP2wZcm3QU0PEVUFArdGeG+1iQmOZ0D0nL6O+ZpwWaR+xOn6Nl3hKEqucBhKPHIw1I/0LB04HYMPezrOoFOrMBocf6aZt3yCsBtPhNhJgXc5BN8qerdRVkXL/T0VppA6RVTJEfIEciqTX0Zen6ettkpa04gOkQscYKo/Tg1LbwfSgnYHRhqMbYX/cq4jPI45Qxg4RN/KQffYkYjERHk0khHGf/n4glOcz5QlVDGzGmZnzY14M5QF7QJyR8MqFd5EaO/HulJ1KfBg3fYKpCP3yMO/bIcLy7Gtz+QSpJDAAyq0GIarDdoN+oiRhz6g1cmNk+YpE=\",\n \"Expiration\" : \"2019-08-08T01:10:35Z\"\n}", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_accesskeyid": "ASIA2Z2RLHZ2IG5S5BPC", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_code": "Success", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_expiration": "2019-08-08T01:10:35Z", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_lastupdated": "2019-08-07T18:35:48Z", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_secretaccesskey": "P7+41AXAvwQ4dm9nkXeyqUDFptgYuxeNq70TNV+b", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_token": "AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJIMEYCIQCNtnZutfBWioiItOrndhUBP8ZO4y6Ky3B7s4Q3dw/I8AIhAMPg165ruFik6FiHlqLFxMJ1D5sJ2BYE/levKCHEgliXKtoDCGQQABoMNzQyNjYzMDc3NDkyIgxnh03NB5UdBWqd8zcqtwPUy30FMtpuygnxC7v5RqBGxirOQsircwdk4JBUenKaxoX238QMZJO9aKV8P7ZJ9cTcqboj8e137dwfUyMUqBQKhmpSTXkCxTG+JA+qvUyoVX9RM90RYe1Gjo+pAPsJNpCh4fxUqMtauOJ+qGqO0yLJPojwY5d5m9c0yg1v1saF56ubduXLvX3maIbxTkIDXESiUTb89+4OWXwOpGMi7AVIXKZc/npW3tjVsZUO37WvscerQ63K7JHgrlFOxc+I85JQ1rOp0t7Hae0ZO5jL+GMIrjAbtKL/6N4/DQLPX+A5GqkzYSXRH8L986e3WKLVhsxnVTWAosn4Z60lCXgdbHn4EwQa2zUW6MLb2SrqJzX1HCUpGMyypBtHOD64fcywuulrL6rlGiHhvW1nv246B83fuE5LnQEyvUjTq+K8gwiv72Kbk3GP1qUK534ZBYSAqBqSrs42N+vdir1teWLMO/C5Bz+BYxPa62x0Tsx8m5m3p2TaXGT2rYiv3V0apwyBYbFP2wZcm3QU0PEVUFArdGeG+1iQmOZ0D0nL6O+ZpwWaR+xOn6Nl3hKEqucBhKPHIw1I/0LB04HYMPezrOoFOrMBocf6aZt3yCsBtPhNhJgXc5BN8qerdRVkXL/T0VppA6RVTJEfIEciqTX0Zen6ettkpa04gOkQscYKo/Tg1LbwfSgnYHRhqMbYX/cq4jPI45Qxg4RN/KQffYkYjERHk0khHGf/n4glOcz5QlVDGzGmZnzY14M5QF7QJyR8MqFd5EaO/HulJ1KfBg3fYKpCP3yMO/bIcLy7Gtz+QSpJDAAyq0GIarDdoN+oiRhz6g1cmNk+YpE=", "ansible_ec2_iam_security_credentials_JenkinsPackerBuildRole_type": "AWS-HMAC", "ansible_ec2_identity_credentials_ec2_info": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:36:33Z\",\n \"AccountId\" : \"742663077492\"\n}", "ansible_ec2_identity_credentials_ec2_info_accountid": "742663077492", "ansible_ec2_identity_credentials_ec2_info_code": "Success", "ansible_ec2_identity_credentials_ec2_info_lastupdated": "2019-08-07T18:36:33Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance": "{\n \"Code\" : \"Success\",\n \"LastUpdated\" : \"2019-08-07T18:35:25Z\",\n \"Type\" : \"AWS-HMAC\",\n \"AccessKeyId\" : \"ASIA2Z2RLHZ2IT7UNLEE\",\n \"SecretAccessKey\" : \"JBN1zcq39UqTyZG7KPm4tlhAeioIbJhEUXeKQh7r\",\n \"Token\" : \"AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJHMEUCIByqqaNXs/Zc99bIXvScAbpxK8UBT/vko9Pkqp/mXmhRAiEAnXZJLUE5esKJiFM0+Gv6k11yZNohvS3EkaMI6u+//TYq8gMIZBAAGgw3NDI2NjMwNzc0OTIiDHmnGyje4iM31c2x1irPA40zfOQISpQBkBnVGreknB2FsoBhU4KEqPVxTW/56EWRdjiEKhRjyU0W4L/LAtza8Fv4dZipR6GmTShcGITGM06iZZYxo9Unk0MC20xW5k8BiA2vs5UXWci9hxGITfzF7pv6MShR8g8gI3HJd203aPFECBcxGZmamPxPFz1f83ywT+lSDHx0mvtjyPcIwtF3xyb9eQqimG+vR4mNyuUVmFgDncUzS0xboRFYfuZSECr3KDEEwzVizEVSnYDWYXuRbca+VoOLPfkaI3G9HOM+4wFB/gSxGLoW02f1KliVH0GwphVQz2whmnsxhP2MkyRshQvn8pptF0J3HjnpfwbdCoBqngPV8imYs4idq6pSVAbRHxSPo/OZYtmF9oskxncnj2Vbn3wHf6sKf75uP3P3rFv3uLQ8KxDb9/kZLKZd2OtL4x57GWAkY6ikYYhrYMZ6DclA1DQ2YBbRyHhrt5gH8SDFXR0m5N4xMeVefpDr7gY/j6gE5L+QEmMQPhNQZbLZhd9PbkXBm/8nQ1dYOpUS/KMSoHAIv85wtW7WIYO7rJRmBRDuzVx4p4g6BIDyR9QI91NMe8IFq/RCOH3Rxg+aJ4GbMpMBMhBAJ9XIAJp6mCUw97Os6gU6tAGkLmvSECNfdov/l54cP40IiZ0VzidVQL3b1HoVtrk+JHV0BKWszouG3IoULXkLtW4aEebu2MJyYvzK4D3lrz3zCrmy7LESNRKeB5o+kb7nRjHgfTk2/TLdK48QRhJ2ikSLMhAC4wdTOHnFhV6OLW2FQjxEBRewCD9UC81ayejgOPHbP8WZRXICMviCLFvzuJExWib8k1BUJDq91GIcOMYeqZc6tztExLb36HFC7U0Rb6P4WFc=\",\n \"Expiration\" : \"2019-08-08T00:53:33Z\"\n}", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_accesskeyid": "ASIA2Z2RLHZ2IT7UNLEE", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_code": "Success", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_expiration": "2019-08-08T00:53:33Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_lastupdated": "2019-08-07T18:35:25Z", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_secretaccesskey": "JBN1zcq39UqTyZG7KPm4tlhAeioIbJhEUXeKQh7r", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_token": "AgoJb3JpZ2luX2VjENv//////////wEaCXVzLWVhc3QtMSJHMEUCIByqqaNXs/Zc99bIXvScAbpxK8UBT/vko9Pkqp/mXmhRAiEAnXZJLUE5esKJiFM0+Gv6k11yZNohvS3EkaMI6u+//TYq8gMIZBAAGgw3NDI2NjMwNzc0OTIiDHmnGyje4iM31c2x1irPA40zfOQISpQBkBnVGreknB2FsoBhU4KEqPVxTW/56EWRdjiEKhRjyU0W4L/LAtza8Fv4dZipR6GmTShcGITGM06iZZYxo9Unk0MC20xW5k8BiA2vs5UXWci9hxGITfzF7pv6MShR8g8gI3HJd203aPFECBcxGZmamPxPFz1f83ywT+lSDHx0mvtjyPcIwtF3xyb9eQqimG+vR4mNyuUVmFgDncUzS0xboRFYfuZSECr3KDEEwzVizEVSnYDWYXuRbca+VoOLPfkaI3G9HOM+4wFB/gSxGLoW02f1KliVH0GwphVQz2whmnsxhP2MkyRshQvn8pptF0J3HjnpfwbdCoBqngPV8imYs4idq6pSVAbRHxSPo/OZYtmF9oskxncnj2Vbn3wHf6sKf75uP3P3rFv3uLQ8KxDb9/kZLKZd2OtL4x57GWAkY6ikYYhrYMZ6DclA1DQ2YBbRyHhrt5gH8SDFXR0m5N4xMeVefpDr7gY/j6gE5L+QEmMQPhNQZbLZhd9PbkXBm/8nQ1dYOpUS/KMSoHAIv85wtW7WIYO7rJRmBRDuzVx4p4g6BIDyR9QI91NMe8IFq/RCOH3Rxg+aJ4GbMpMBMhBAJ9XIAJp6mCUw97Os6gU6tAGkLmvSECNfdov/l54cP40IiZ0VzidVQL3b1HoVtrk+JHV0BKWszouG3IoULXkLtW4aEebu2MJyYvzK4D3lrz3zCrmy7LESNRKeB5o+kb7nRjHgfTk2/TLdK48QRhJ2ikSLMhAC4wdTOHnFhV6OLW2FQjxEBRewCD9UC81ayejgOPHbP8WZRXICMviCLFvzuJExWib8k1BUJDq91GIcOMYeqZc6tztExLb36HFC7U0Rb6P4WFc=", "ansible_ec2_identity_credentials_ec2_security_credentials_ec2_instance_type": "AWS-HMAC", "ansible_ec2_instance_action": "none", "ansible_ec2_instance_id": "i-03602953eb1096e4e", "ansible_ec2_instance_identity_document": "{\n \"accountId\" : \"742663077492\",\n \"availabilityZone\" : \"us-east-1c\",\n \"ramdiskId\" : null,\n \"kernelId\" : null,\n \"pendingTime\" : \"2019-08-07T18:35:23Z\",\n \"architecture\" : \"x86_64\",\n \"privateIp\" : \"10.204.45.62\",\n \"version\" : \"2017-09-30\",\n \"devpayProductCodes\" : null,\n \"marketplaceProductCodes\" : null,\n \"region\" : \"us-east-1\",\n \"imageId\" : \"ami-035b3c7efe6d061d5\",\n \"billingProducts\" : null,\n \"instanceId\" : \"i-03602953eb1096e4e\",\n \"instanceType\" : \"t3.large\"\n}", "ansible_ec2_instance_identity_document_accountid": "742663077492", "ansible_ec2_instance_identity_document_architecture": "x86_64", "ansible_ec2_instance_identity_document_availabilityzone": "us-east-1c", "ansible_ec2_instance_identity_document_billingproducts": null, "ansible_ec2_instance_identity_document_devpayproductcodes": null, "ansible_ec2_instance_identity_document_imageid": "ami-035b3c7efe6d061d5", "ansible_ec2_instance_identity_document_instanceid": "i-03602953eb1096e4e", "ansible_ec2_instance_identity_document_instancetype": "t3.large", "ansible_ec2_instance_identity_document_kernelid": null, "ansible_ec2_instance_identity_document_marketplaceproductcodes": null, "ansible_ec2_instance_identity_document_pendingtime": "2019-08-07T18:35:23Z", "ansible_ec2_instance_identity_document_privateip": "10.204.45.62", "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": "MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggHcewog\nICJhY2NvdW50SWQiIDogIjc0MjY2MzA3NzQ5MiIsCiAgImF2YWlsYWJpbGl0eVpvbmUiIDogInVz\nLWVhc3QtMWMiLAogICJyYW1kaXNrSWQiIDogbnVsbCwKICAia2VybmVsSWQiIDogbnVsbCwKICAi\ncGVuZGluZ1RpbWUiIDogIjIwMTktMDgtMDdUMTg6MzU6MjNaIiwKICAiYXJjaGl0ZWN0dXJlIiA6\nICJ4ODZfNjQiLAogICJwcml2YXRlSXAiIDogIjEwLjIwNC40NS42MiIsCiAgInZlcnNpb24iIDog\nIjIwMTctMDktMzAiLAogICJkZXZwYXlQcm9kdWN0Q29kZXMiIDogbnVsbCwKICAibWFya2V0cGxh\nY2VQcm9kdWN0Q29kZXMiIDogbnVsbCwKICAicmVnaW9uIiA6ICJ1cy1lYXN0LTEiLAogICJpbWFn\nZUlkIiA6ICJhbWktMDM1YjNjN2VmZTZkMDYxZDUiLAogICJiaWxsaW5nUHJvZHVjdHMiIDogbnVs\nbCwKICAiaW5zdGFuY2VJZCIgOiAiaS0wMzYwMjk1M2ViMTA5NmU0ZSIsCiAgImluc3RhbmNlVHlw\nZSIgOiAidDMubGFyZ2UiCn0AAAAAAAAxggEXMIIBEwIBATBpMFwxCzAJBgNVBAYTAlVTMRkwFwYD\nVQQIExBXYXNoaW5ndG9uIFN0YXRlMRAwDgYDVQQHEwdTZWF0dGxlMSAwHgYDVQQKExdBbWF6b24g\nV2ViIFNlcnZpY2VzIExMQwIJAJa6SNnlXhpnMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJ\nKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xOTA4MDcxODM1MzRaMCMGCSqGSIb3DQEJBDEWBBQn\nUxZWwU2mghdbICJuanbZGItXATAJBgcqhkjOOAQDBC4wLAIUCQFmuB09LoIlf6R/FDD6wCnkOaQC\nFClCp0omIL0Os13xG2DNNMk7KAqMAAAAAAAA", "ansible_ec2_instance_identity_rsa2048": "MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIIB\n3HsKICAiYWNjb3VudElkIiA6ICI3NDI2NjMwNzc0OTIiLAogICJhdmFpbGFiaWxpdHlab25lIiA6\nICJ1cy1lYXN0LTFjIiwKICAicmFtZGlza0lkIiA6IG51bGwsCiAgImtlcm5lbElkIiA6IG51bGws\nCiAgInBlbmRpbmdUaW1lIiA6ICIyMDE5LTA4LTA3VDE4OjM1OjIzWiIsCiAgImFyY2hpdGVjdHVy\nZSIgOiAieDg2XzY0IiwKICAicHJpdmF0ZUlwIiA6ICIxMC4yMDQuNDUuNjIiLAogICJ2ZXJzaW9u\nIiA6ICIyMDE3LTA5LTMwIiwKICAiZGV2cGF5UHJvZHVjdENvZGVzIiA6IG51bGwsCiAgIm1hcmtl\ndHBsYWNlUHJvZHVjdENvZGVzIiA6IG51bGwsCiAgInJlZ2lvbiIgOiAidXMtZWFzdC0xIiwKICAi\naW1hZ2VJZCIgOiAiYW1pLTAzNWIzYzdlZmU2ZDA2MWQ1IiwKICAiYmlsbGluZ1Byb2R1Y3RzIiA6\nIG51bGwsCiAgImluc3RhbmNlSWQiIDogImktMDM2MDI5NTNlYjEwOTZlNGUiLAogICJpbnN0YW5j\nZVR5cGUiIDogInQzLmxhcmdlIgp9AAAAAAAAMYIB/zCCAfsCAQEwaTBcMQswCQYDVQQGEwJVUzEZ\nMBcGA1UECBMQV2FzaGluZ3RvbiBTdGF0ZTEQMA4GA1UEBxMHU2VhdHRsZTEgMB4GA1UEChMXQW1h\nem9uIFdlYiBTZXJ2aWNlcyBMTEMCCQCxacxAFVmkGTANBglghkgBZQMEAgEFAKBpMBgGCSqGSIb3\nDQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE5MDgwNzE4MzUzNFowLwYJKoZIhvcN\nAQkEMSIEIEIY+Ivy+nNjDTl4sGyo2ACwSn6jzJ2HmhFI2AVHfdMKMA0GCSqGSIb3DQEBAQUABIIB\nAGGL6gEpTyABNVp/wtaeHugbBPCAQS2SfxFB9P34zJxML7P6aPWfkO4yUD3tUsqrG8Z+itsz4t08\nPnyBYJ+CaGOKAVbS2Bq1K0B3lUv9fsi/sZmIZ8AtnJUkWMg+SwnV7yYx+P3ubCkmTdDup+6apLaw\nDGoU/R/gvEbwDAijNB2TqRpS70WaxcGEN2DPbpDCX3IMb1UCgW1XDP8Eet4OkQGjWFx5w+DaTfpo\nhnaYiN3Miy4Ps+sr+jfSC4qoZSgTFXYzT+AjRGU9EhdMWrE2KNeKtJdcFKxoydMptHjT+viHEl98\nEAYcLHpK03VRZr2lKiX2HufRiZnudxSIS3AMSYIAAAAAAAA=", "ansible_ec2_instance_identity_signature": "gzArxpNlDwn8xmtHYuaQiUKeh6ihu8vXAO77x0Q9wpmM6r+HDeWQxTb9+CI2Dhl6CIiDogOpW3Fb\nf/Cr5Py+TdaYJ1S+jGOAYIKaSF+1zH4Oq8XSw8VJpO3MfsFuYA2Vk3BhMH1PbEjSGR2wy5GmbjHd\nl2kWNEUu0nrwKdttmps=", "ansible_ec2_instance_type": "t3.large", "ansible_ec2_local_hostname": "ip-10-204-45-62.ec2.internal", "ansible_ec2_local_ipv4": "10.204.45.62", "ansible_ec2_mac": "02:39:ea:68:c4:72", "ansible_ec2_metrics_vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_device_number": "0", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_interface_id": "eni-0704c9500b5dd9dab", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_local_hostname": "ip-10-204-45-62.ec2.internal", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_local_ipv4s": "10.204.45.62", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_mac": "02:39:ea:68:c4:72", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_owner_id": "742663077492", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_security_group_ids": "sg-0f1d32fbe6316558c", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_security_groups": "packer_5d4b19e9-9f95-8bea-3ba1-c6d27adcfaf2", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_subnet_id": "subnet-04c8c1d14089b471e", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_subnet_ipv4_cidr_block": "10.204.32.0/20", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_vpc_id": "vpc-073cc3d0e93e56bd1", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_vpc_ipv4_cidr_block": "10.204.0.0/18", "ansible_ec2_network_interfaces_macs_02_39_ea_68_c4_72_vpc_ipv4_cidr_blocks": "10.204.0.0/18", "ansible_ec2_placement_availability_zone": "us-east-1c", "ansible_ec2_placement_region": "us-east-1", "ansible_ec2_profile": "default-hvm", "ansible_ec2_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCPaNPCPQSP0jGB39A/o7b3/qguJgOcXm9kRK4ZDXcBMdjzECD5lgvKNOr8H8LbUeZKYvvNBtTLhXeF9piRi6pcmQX5kJZpl4RTMsOD2Zb8UeeOUZXIFoacjEfyEmFZslqKcN7M0wdv9zp5E4vyUvOdOwq8Gh1/9x7JsXfTpGAbZg1tSg0uZrRupfQIX90ZvU9BGFyJn3b1YS4hzztUeXx7qF6hhDQPwvdCq6cmKBGDwp1VUUq4bVeQ+O+DVxOlYqBWKEltpe/9N0LAglrl8AIFLgTyVpbJI67c/P/zSL7M2E4WBwKuyMxCI16NL3gLqoWEyA78KgvdCemah0OvkESt packer_5d4b19e7-cc5b-a268-2428-1ae6d001d03a\n", "ansible_ec2_reservation_id": "r-0e204be958aca4f3f", "ansible_ec2_security_groups": "packer_5d4b19e9-9f95-8bea-3ba1-c6d27adcfaf2", "ansible_ec2_services_domain": "amazonaws.com", "ansible_ec2_services_partition": "aws", "ansible_ec2_user_data": ""}, "changed": false}
 amazon-ebs: TASK [packer : add the 'deployer' user] ****************************************
 amazon-ebs: task path: /tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/roles/packer/tasks/users.yml:2
 amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Group deployer does not exist"}
 amazon-ebs: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/5d4b19e7-d30c-c7e4-bf87-1af473552fa1/packer.retry
 amazon-ebs: PLAY RECAP *********************************************************************
 amazon-ebs: 127.0.0.1 : ok=2  changed=0 unreachable=0 failed=1 
==> amazon-ebs: Error executing Ansible: Non-zero exit status: 2
==> amazon-ebs: Step "StepProvision" failed
==> amazon-ebs: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment