Skip to content

Instantly share code, notes, and snippets.

@justinhohner
Created May 6, 2018 16:07
Show Gist options
  • Save justinhohner/e85ad4957790833e1004d4bb882435e2 to your computer and use it in GitHub Desktop.
Save justinhohner/e85ad4957790833e1004d4bb882435e2 to your computer and use it in GitHub Desktop.
$ PACKER_LOG=1 packer build packer/test.json
2018/05/06 10:52:41 [INFO] Packer version: 1.2.3
2018/05/06 10:52:41 Packer Target OS/Arch: darwin amd64
2018/05/06 10:52:41 Built with Go Version: go1.10.1
2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 Using internal plugin for alicloud-ecs
2018/05/06 10:52:41 Using internal plugin for amazon-ebssurrogate
2018/05/06 10:52:41 Using internal plugin for amazon-ebsvolume
2018/05/06 10:52:41 Using internal plugin for hyperv-vmcx
2018/05/06 10:52:41 Using internal plugin for profitbricks
2018/05/06 10:52:41 Using internal plugin for vmware-iso
2018/05/06 10:52:41 Using internal plugin for lxd
2018/05/06 10:52:41 Using internal plugin for openstack
2018/05/06 10:52:41 Using internal plugin for qemu
2018/05/06 10:52:41 Using internal plugin for ncloud
2018/05/06 10:52:41 Using internal plugin for vmware-vmx
2018/05/06 10:52:41 Using internal plugin for amazon-instance
2018/05/06 10:52:41 Using internal plugin for cloudstack
2018/05/06 10:52:41 Using internal plugin for docker
2018/05/06 10:52:41 Using internal plugin for file
2018/05/06 10:52:41 Using internal plugin for hyperv-iso
2018/05/06 10:52:41 Using internal plugin for parallels-iso
2018/05/06 10:52:41 Using internal plugin for virtualbox-iso
2018/05/06 10:52:41 Using internal plugin for amazon-chroot
2018/05/06 10:52:41 Using internal plugin for digitalocean
2018/05/06 10:52:41 Using internal plugin for oracle-oci
2018/05/06 10:52:41 Using internal plugin for parallels-pvm
2018/05/06 10:52:41 Using internal plugin for amazon-ebs
2018/05/06 10:52:41 Using internal plugin for null
2018/05/06 10:52:41 Using internal plugin for oracle-classic
2018/05/06 10:52:41 Using internal plugin for googlecompute
2018/05/06 10:52:41 Using internal plugin for lxc
2018/05/06 10:52:41 Using internal plugin for oneandone
2018/05/06 10:52:41 Using internal plugin for azure-arm
2018/05/06 10:52:41 Using internal plugin for scaleway
2018/05/06 10:52:41 Using internal plugin for triton
2018/05/06 10:52:41 Using internal plugin for virtualbox-ovf
2018/05/06 10:52:41 Using internal plugin for windows-restart
2018/05/06 10:52:41 Using internal plugin for windows-shell
2018/05/06 10:52:41 Using internal plugin for shell-local
2018/05/06 10:52:41 Using internal plugin for ansible
2018/05/06 10:52:41 Using internal plugin for chef-client
2018/05/06 10:52:41 Using internal plugin for powershell
2018/05/06 10:52:41 Using internal plugin for puppet-server
2018/05/06 10:52:41 Using internal plugin for salt-masterless
2018/05/06 10:52:41 Using internal plugin for puppet-masterless
2018/05/06 10:52:41 Using internal plugin for shell
2018/05/06 10:52:41 Using internal plugin for ansible-local
2018/05/06 10:52:41 Using internal plugin for chef-solo
2018/05/06 10:52:41 Using internal plugin for converge
2018/05/06 10:52:41 Using internal plugin for file
2018/05/06 10:52:41 Using internal plugin for docker-import
2018/05/06 10:52:41 Using internal plugin for docker-push
2018/05/06 10:52:41 Using internal plugin for googlecompute-export
2018/05/06 10:52:41 Using internal plugin for manifest
2018/05/06 10:52:41 Using internal plugin for shell-local
2018/05/06 10:52:41 Using internal plugin for vagrant
2018/05/06 10:52:41 Using internal plugin for amazon-import
2018/05/06 10:52:41 Using internal plugin for artifice
2018/05/06 10:52:41 Using internal plugin for checksum
2018/05/06 10:52:41 Using internal plugin for docker-tag
2018/05/06 10:52:41 Using internal plugin for vagrant-cloud
2018/05/06 10:52:41 Using internal plugin for vsphere
2018/05/06 10:52:41 Using internal plugin for alicloud-import
2018/05/06 10:52:41 Using internal plugin for atlas
2018/05/06 10:52:41 Using internal plugin for compress
2018/05/06 10:52:41 Using internal plugin for docker-save
2018/05/06 10:52:41 Using internal plugin for vsphere-template
2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 Attempting to open config file: /Users/username/.packerconfig
2018/05/06 10:52:41 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2018/05/06 10:52:41 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso] PostProcessors:map[amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant] Provisioners:map[windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local 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]}
2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 Setting cache directory: /Users/username/src/sideprojects/project-ops-api/packer_cache
2018/05/06 10:52:41 Loading builder: amazon-ebs
2018/05/06 10:52:41 Plugin could not be found. Checking same directory as executable.
2018/05/06 10:52:41 Current exe path: /usr/local/bin/packer
2018/05/06 10:52:41 Creating plugin client for path: /usr/local/bin/packer
2018/05/06 10:52:41 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
2018/05/06 10:52:41 Waiting for RPC address for: /usr/local/bin/packer
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 [INFO] Packer version: 1.2.3
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Packer Target OS/Arch: darwin amd64
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Built with Go Version: go1.10.1
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Attempting to open config file: /Users/username/.packerconfig
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Setting cache directory: /Users/username/src/sideprojects/project-ops-api/packer_cache
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 args: []string{"packer-builder-amazon-ebs"}
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin minimum port: 10000
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin maximum port: 25000
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin address: unix /var/folders/cz/rxdtny1j7hb8gfvm_49n8c5w0000gn/T/packer-plugin447832780
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Waiting for connection...
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Serving a plugin connection...
2018/05/06 10:52:41 Loading provisioner: ansible
2018/05/06 10:52:41 Plugin could not be found. Checking same directory as executable.
2018/05/06 10:52:41 Current exe path: /usr/local/bin/packer
2018/05/06 10:52:41 Creating plugin client for path: /usr/local/bin/packer
2018/05/06 10:52:41 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"}
2018/05/06 10:52:41 Waiting for RPC address for: /usr/local/bin/packer
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 [INFO] Packer version: 1.2.3
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Packer Target OS/Arch: darwin amd64
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Built with Go Version: go1.10.1
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Attempting to open config file: /Users/username/.packerconfig
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Setting cache directory: /Users/username/src/sideprojects/project-ops-api/packer_cache
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 args: []string{"packer-provisioner-ansible"}
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin minimum port: 10000
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin maximum port: 25000
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Plugin address: unix /var/folders/cz/rxdtny1j7hb8gfvm_49n8c5w0000gn/T/packer-plugin577733581
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Waiting for connection...
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Serving a plugin connection...
2018/05/06 10:52:41 ui: amazon-ebs output will be in this color.
2018/05/06 10:52:41 ui:
2018/05/06 10:52:41 Build debug mode: false
2018/05/06 10:52:41 Force build: false
2018/05/06 10:52:41 On error:
2018/05/06 10:52:41 Preparing build: amazon-ebs
amazon-ebs output will be in this color.
2018/05/06 10:52:41 packer: 2018/05/06 10:52:41 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_secret_key:<Filtered> iam_instance_profile:api-stage aws_access_key:<Filtered>]} AccessConfig:{AccessKey:<Filtered> CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-east-1 SecretKey:<Filtered> SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:api-stage 1525621961 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4201affd0:0xc4201afff0 0xc420524020:0xc420524040 0xc420524060:0xc420524080] Owners:[0xc420524100] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-c3c805a7 TemporaryKeyPairName:packer_5aef24c9-d5ca-52fd-867c-2554f8c14a0f UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: SSHKeepAliveInterval:5s SSHReadWriteTimeout:0s WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHInterface:} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x18430a0] UserVariables:map[aws_access_key:<Filtered> aws_secret_key:<Filtered> iam_instance_profile:api-stage] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/username/src/sideprojects/project-ops-api/packer/test.json}}
2018/05/06 10:52:42 packer: 2018/05/06 10:52:42 ansible-playbook version: 2.5.0
2018/05/06 10:52:42 Waiting on builds to complete...
2018/05/06 10:52:42 Starting build run: amazon-ebs
2018/05/06 10:52:42 Running builder: amazon-ebs
2018/05/06 10:52:42 [INFO] (telemetry) Starting builder amazon-ebs
2018/05/06 10:52:42 packer: 2018/05/06 10:52:42 Found region us-east-1
2018/05/06 10:52:42 packer: 2018/05/06 10:52:42 [INFO] AWS Auth provider used: "StaticProvider"
2018/05/06 10:52:42 packer: 2018/05/06 10:52:42 [INFO] Finding AZ and VpcId for the given subnet 'subnet-c3c805a7'
2018/05/06 10:52:43 packer: 2018/05/06 10:52:43 [INFO] AvailabilityZone found: 'us-east-1a'
2018/05/06 10:52:43 packer: 2018/05/06 10:52:43 [INFO] VpcId found: 'vpc-bc694ec5'
2018/05/06 10:52:43 ui: ==> amazon-ebs: Prevalidating AMI Name: api-stage 1525621961
==> amazon-ebs: Prevalidating AMI Name: api-stage 1525621961
2018/05/06 10:52:44 packer: 2018/05/06 10:52:44 Using AMI Filters {
2018/05/06 10:52:44 packer: Filters: [{
2018/05/06 10:52:44 packer: Name: "name",
2018/05/06 10:52:44 packer: Values: ["ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"]
2018/05/06 10:52:44 packer: },{
2018/05/06 10:52:44 packer: Name: "root-device-type",
2018/05/06 10:52:44 packer: Values: ["ebs"]
2018/05/06 10:52:44 packer: },{
2018/05/06 10:52:44 packer: Name: "virtualization-type",
2018/05/06 10:52:44 packer: Values: ["hvm"]
2018/05/06 10:52:44 packer: }],
2018/05/06 10:52:44 packer: Owners: ["099720109477"]
2018/05/06 10:52:44 packer: }
2018/05/06 10:52:47 ui: amazon-ebs: Found Image ID: ami-9c56efe3
amazon-ebs: Found Image ID: ami-9c56efe3
2018/05/06 10:52:47 ui: ==> amazon-ebs: Creating temporary keypair: packer_5aef24c9-d5ca-52fd-867c-2554f8c14a0f
==> amazon-ebs: Creating temporary keypair: packer_5aef24c9-d5ca-52fd-867c-2554f8c14a0f
2018/05/06 10:52:47 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5aef24cf-d79a-22e9-e818-8760f29a1c71
==> amazon-ebs: Creating temporary security group for this instance: packer_5aef24cf-d79a-22e9-e818-8760f29a1c71
==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
2018/05/06 10:52:47 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
2018/05/06 10:52:47 packer: 2018/05/06 10:52:47 [DEBUG] Waiting for temporary security group: sg-919e76d9
2018/05/06 10:52:47 packer: 2018/05/06 10:52:47 [DEBUG] Found security group sg-919e76d9
2018/05/06 10:52:47 ui: ==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Launching a source AWS instance...
2018/05/06 10:52:47 ui: ==> amazon-ebs: Adding tags to source instance
==> amazon-ebs: Adding tags to source instance
2018/05/06 10:52:47 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Adding tag: "Name": "Packer Builder"
2018/05/06 10:52:49 ui: amazon-ebs: Instance ID: i-02c0e9bb2547c0e79
amazon-ebs: Instance ID: i-02c0e9bb2547c0e79
2018/05/06 10:52:49 ui: ==> amazon-ebs: Waiting for instance (i-02c0e9bb2547c0e79) to become ready...
==> amazon-ebs: Waiting for instance (i-02c0e9bb2547c0e79) to become ready...
==> amazon-ebs: Waiting for SSH to become available...
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [INFO] Not using winrm communicator, skipping get password...
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [INFO] Waiting for SSH, up to timeout: 5m0s
2018/05/06 10:53:20 ui: ==> amazon-ebs: Waiting for SSH to become available...
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [INFO] Attempting SSH connection...
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [DEBUG] reconnecting to TCP connection for SSH
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [DEBUG] handshaking with SSH
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [DEBUG] handshake complete!
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [DEBUG] Opening new ssh session
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 [INFO] agent forwarding enabled
2018/05/06 10:53:20 ui: ==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Connected to SSH!
2018/05/06 10:53:20 packer: 2018/05/06 10:53:20 Running the provision hook
2018/05/06 10:53:20 [INFO] (telemetry) Starting provisioner ansible
2018/05/06 10:53:20 ui: ==> amazon-ebs: Provisioning with Ansible...
==> amazon-ebs: Provisioning with Ansible...
2018/05/06 10:53:21 packer: 2018/05/06 10:53:21 SSH proxy: serving on 127.0.0.1:57347
2018/05/06 10:53:21 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i ansible/ /Users/username/src/sideprojects/project-ops-api/ansible/site.yml -e ansible_ssh_private_key_file=/var/folders/cz/rxdtny1j7hb8gfvm_49n8c5w0000gn/T/ansible-key609343176 --extra-vars {ansible_python_interpreter: '/usr/bin/env python3'}
==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i ansible/ /Users/username/src/sideprojects/project-ops-api/ansible/site.yml -e ansible_ssh_private_key_file=/var/folders/cz/rxdtny1j7hb8gfvm_49n8c5w0000gn/T/ansible-key609343176 --extra-vars {ansible_python_interpreter: '/usr/bin/env python3'}
Password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment