Skip to content

Instantly share code, notes, and snippets.

@cmacrae
Last active March 5, 2017 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmacrae/38d2de7c65735d621f8bfacd49fa1a6a to your computer and use it in GitHub Desktop.
Save cmacrae/38d2de7c65735d621f8bfacd49fa1a6a to your computer and use it in GitHub Desktop.
{
"variables":
{
"sonarr_source_machine_name": "packer-sonarr-provision-{{timestamp}}",
"sonarr_source_machine_pkg": "b7ea1559-b600-ef40-afd1-8e6b8375a0de",
"sonarr_source_machine_img": "8879c758-c0da-11e6-9e4b-93e32a67e805"
},
"builders": [
{
"type": "triton",
"triton_url": "{{user `triton_url`}}",
"triton_account": "{{user `triton_account`}}",
"triton_key_id": "{{user `triton_key_id`}}",
"triton_key_material": "{{user `triton_key_material`}}",
"ssh_username": "root",
"ssh_private_key_file": "{{user `triton_key_material`}}",
"source_machine_name": "{{user `sonarr_source_machine_name`}}",
"source_machine_package": "{{user `sonarr_source_machine_pkg`}}",
"source_machine_image": "{{user `sonarr_source_machine_img`}}",
"source_machine_networks": "{{user `triton_global_networks`}}",
"image_name": "sonarr-{{uuid}}",
"image_version": "1.0.0",
"image_description": "Smart PVR for newsgroup and bittorrent users",
"image_homepage": "https://sonarr.tv/",
"image_tags": {
"triton.cns.services": "sonarr"
}
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"apt-get update && apt-get install -y ansible"
]
},
{
"type": "ansible-local",
"extra_arguments": [
"-vvvv"
],
"playbook_dir": "{{user `ansible_relative_path`}}/plays",
"playbook_file": "{{user `ansible_relative_path`}}/plays/sonarr.yml",
"inventory_groups": "sonarr_servers",
"role_paths": ["{{user `ansible_relative_path`}}/roles/external/cmacrae.sonarr"]
}
]
}
- hosts: sonarr_servers
tasks:
- name: Ensure nfs-common package is present
package:
name: nfs-common
state: present
tags: sonarr
- name: Ensure media NFS shares are mounted
mount:
name: /media/network/{{ item }}
src: the-ark.cmacr.ae:/export/media/{{ item }}
fstype: nfs
state: mounted
opts: 'rw,bg,hard,nointr,rsize=32768,wsize=32768,vers=3,suid'
with_items:
- movies
- tv
- downloads
tags: sonarr
roles:
- cmacrae.sonarr
2017/03/05 16:20:51 [INFO] Packer version: 0.12.3
2017/03/05 16:20:51 Packer Target OS/Arch: darwin amd64
2017/03/05 16:20:51 Built with Go Version: go1.8
2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 Using internal plugin for openstack
2017/03/05 16:20:51 Using internal plugin for amazon-ebsvolume
2017/03/05 16:20:51 Using internal plugin for amazon-ebssurrogate
2017/03/05 16:20:51 Using internal plugin for cloudstack
2017/03/05 16:20:51 Using internal plugin for file
2017/03/05 16:20:51 Using internal plugin for googlecompute
2017/03/05 16:20:51 Using internal plugin for hyperv-iso
2017/03/05 16:20:51 Using internal plugin for oneandone
2017/03/05 16:20:51 Using internal plugin for amazon-chroot
2017/03/05 16:20:51 Using internal plugin for profitbricks
2017/03/05 16:20:51 Using internal plugin for parallels-pvm
2017/03/05 16:20:51 Using internal plugin for docker
2017/03/05 16:20:51 Using internal plugin for null
2017/03/05 16:20:51 Using internal plugin for virtualbox-iso
2017/03/05 16:20:51 Using internal plugin for virtualbox-ovf
2017/03/05 16:20:51 Using internal plugin for vmware-iso
2017/03/05 16:20:51 Using internal plugin for vmware-vmx
2017/03/05 16:20:51 Using internal plugin for amazon-instance
2017/03/05 16:20:51 Using internal plugin for azure-arm
2017/03/05 16:20:51 Using internal plugin for digitalocean
2017/03/05 16:20:51 Using internal plugin for parallels-iso
2017/03/05 16:20:51 Using internal plugin for qemu
2017/03/05 16:20:51 Using internal plugin for triton
2017/03/05 16:20:51 Using internal plugin for amazon-ebs
2017/03/05 16:20:51 Using internal plugin for shell-local
2017/03/05 16:20:51 Using internal plugin for windows-restart
2017/03/05 16:20:51 Using internal plugin for ansible-local
2017/03/05 16:20:51 Using internal plugin for puppet-masterless
2017/03/05 16:20:51 Using internal plugin for puppet-server
2017/03/05 16:20:51 Using internal plugin for chef-solo
2017/03/05 16:20:51 Using internal plugin for file
2017/03/05 16:20:51 Using internal plugin for salt-masterless
2017/03/05 16:20:51 Using internal plugin for windows-shell
2017/03/05 16:20:51 Using internal plugin for powershell
2017/03/05 16:20:51 Using internal plugin for shell
2017/03/05 16:20:51 Using internal plugin for ansible
2017/03/05 16:20:51 Using internal plugin for chef-client
2017/03/05 16:20:51 Using internal plugin for converge
2017/03/05 16:20:51 Using internal plugin for atlas
2017/03/05 16:20:51 Using internal plugin for docker-tag
2017/03/05 16:20:51 Using internal plugin for shell-local
2017/03/05 16:20:51 Using internal plugin for vsphere
2017/03/05 16:20:51 Using internal plugin for artifice
2017/03/05 16:20:51 Using internal plugin for compress
2017/03/05 16:20:51 Using internal plugin for docker-push
2017/03/05 16:20:51 Using internal plugin for docker-save
2017/03/05 16:20:51 Using internal plugin for googlecompute-export
2017/03/05 16:20:51 Using internal plugin for amazon-import
2017/03/05 16:20:51 Using internal plugin for docker-import
2017/03/05 16:20:51 Using internal plugin for manifest
2017/03/05 16:20:51 Using internal plugin for vagrant
2017/03/05 16:20:51 Using internal plugin for vagrant-cloud
2017/03/05 16:20:51 Using internal plugin for checksum
2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 Attempting to open config file: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 [WARN] Config file doesn't exist: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance qemu:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu parallels-pvm:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm null:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null vmware-iso:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso azure-arm:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm parallels-iso:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-ebsvolume:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume cloudstack:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack amazon-chroot:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot docker:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker virtualbox-ovf:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx digitalocean:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean amazon-ebs:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate googlecompute:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute oneandone:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone profitbricks:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks virtualbox-iso:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso triton:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton openstack:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack file:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hyperv-iso:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso] PostProcessors:map[atlas:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas amazon-import:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import manifest:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-save:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant shell-local:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vsphere:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push checksum:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-tag:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag compress:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-import:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vagrant-cloud:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud] Provisioners:map[puppet-masterless:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-client:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client converge:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge shell-local:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file ansible:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local puppet-server:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-shell:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/opt/hashi/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell]}
2017/03/05 16:20:51 Setting cache directory: /Users/cmacrae/code/git/devops/packer/triton/pantheon/packer_cache
2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 Loading builder: triton
2017/03/05 16:20:51 Plugin could not be found. Checking same directory as executable.
2017/03/05 16:20:51 Current exe path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Creating plugin client for path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Starting plugin: /opt/hashi/bin/packer []string{"/opt/hashi/bin/packer", "plugin", "packer-builder-triton"}
2017/03/05 16:20:51 Waiting for RPC address for: /opt/hashi/bin/packer
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [INFO] Packer version: 0.12.3
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer Target OS/Arch: darwin amd64
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Built with Go Version: go1.8
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Attempting to open config file: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [WARN] Config file doesn't exist: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Setting cache directory: /Users/cmacrae/code/git/devops/packer/triton/pantheon/packer_cache
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 args: []string{"packer-builder-triton"}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin minimum port: 10000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin maximum port: 25000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin address: unix /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-plugin150589948
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Waiting for connection...
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Serving a plugin connection...
2017/03/05 16:20:51 Loading provisioner: shell
2017/03/05 16:20:51 Plugin could not be found. Checking same directory as executable.
2017/03/05 16:20:51 Current exe path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Creating plugin client for path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Starting plugin: /opt/hashi/bin/packer []string{"/opt/hashi/bin/packer", "plugin", "packer-provisioner-shell"}
2017/03/05 16:20:51 Waiting for RPC address for: /opt/hashi/bin/packer
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [INFO] Packer version: 0.12.3
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer Target OS/Arch: darwin amd64
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Built with Go Version: go1.8
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Attempting to open config file: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [WARN] Config file doesn't exist: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Setting cache directory: /Users/cmacrae/code/git/devops/packer/triton/pantheon/packer_cache
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 args: []string{"packer-provisioner-shell"}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin minimum port: 10000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin maximum port: 25000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin address: unix /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-plugin807071721
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Waiting for connection...
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Serving a plugin connection...
2017/03/05 16:20:51 Loading provisioner: ansible-local
2017/03/05 16:20:51 Plugin could not be found. Checking same directory as executable.
2017/03/05 16:20:51 Current exe path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Creating plugin client for path: /opt/hashi/bin/packer
2017/03/05 16:20:51 Starting plugin: /opt/hashi/bin/packer []string{"/opt/hashi/bin/packer", "plugin", "packer-provisioner-ansible-local"}
2017/03/05 16:20:51 Waiting for RPC address for: /opt/hashi/bin/packer
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [INFO] Packer version: 0.12.3
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer Target OS/Arch: darwin amd64
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Built with Go Version: go1.8
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Attempting to open config file: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 [WARN] Config file doesn't exist: /Users/cmacrae/.packerconfig
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Setting cache directory: /Users/cmacrae/code/git/devops/packer/triton/pantheon/packer_cache
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 args: []string{"packer-provisioner-ansible-local"}
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin minimum port: 10000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin maximum port: 25000
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Detected home directory from env var: /Users/cmacrae
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Plugin address: unix /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-plugin709696245
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Waiting for connection...
2017/03/05 16:20:51 packer: 2017/03/05 16:20:51 Serving a plugin connection...
2017/03/05 16:20:51 ui: triton output will be in this color.
2017/03/05 16:20:51 ui:
2017/03/05 16:20:51 Build debug mode: false
2017/03/05 16:20:51 Force build: false
2017/03/05 16:20:51 On error:
2017/03/05 16:20:51 Preparing build: triton
triton output will be in this color.
2017/03/05 16:20:51 Waiting on builds to complete...
2017/03/05 16:20:51 Starting build run: triton
2017/03/05 16:20:51 Running builder: triton
2017/03/05 16:20:51 ui: ==> triton: Creating source machine...
==> triton: Creating source machine...
2017/03/05 16:20:51 ui: ==> triton: Waiting for source machine to become available...
==> triton: Waiting for source machine to become available...
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] Waiting for SSH, up to timeout: 5m0s
2017/03/05 16:21:01 ui: ==> triton: Waiting for SSH to become available...
==> triton: Waiting for SSH to become available...
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Configuring SSH private key '/Users/cmacrae/.ssh/id_rsa'.
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] Attempting SSH connection...
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 reconnecting to TCP connection for SSH
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 handshaking with SSH
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 handshake complete!
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 opening new ssh session
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] agent forwarding enabled
2017/03/05 16:21:01 ui: ==> triton: Connected to SSH!
==> triton: Connected to SSH!
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Running the provision hook
2017/03/05 16:21:01 ui: ==> triton: Provisioning with shell script: /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-shell149057588
==> triton: Provisioning with shell script: /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-shell149057588
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Opening /var/folders/sn/f0p54j5x3l926vy3br_h1c3r0000gn/T/packer-shell149057588 for reading
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] 58 bytes written for 'uploadData'
2017/03/05 16:21:01 [INFO] 58 bytes written for 'uploadData'
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 opening new ssh session
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Starting remote scp process: scp -vt /tmp
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Started SCP session, beginning transfers...
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Copying input data into temporary file so we can read the length
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [DEBUG] scp: Uploading script_7539.sh: perms=C0644 size=58
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 SCP session complete, closing stdin pipe.
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 Waiting for SSH session to complete.
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 scp stderr (length 30): Sink: C0644 58 script_7539.sh
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 opening new ssh session
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 starting remote command: chmod 0755 /tmp/script_7539.sh
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:01 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:01 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 opening new ssh session
2017/03/05 16:21:01 packer: 2017/03/05 16:21:01 starting remote command: chmod +x /tmp/script_7539.sh; PACKER_BUILDER_TYPE='triton' PACKER_BUILD_NAME='triton' /tmp/script_7539.sh
2017/03/05 16:21:01 ui:  triton: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
 triton: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
2017/03/05 16:21:01 ui:  triton: Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
 triton: Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
2017/03/05 16:21:01 ui:  triton: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
 triton: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
2017/03/05 16:21:01 ui:  triton: Get:4 http://security.ubuntu.com/ubuntu xenial-security/main Sources [61.1 kB]
 triton: Get:4 http://security.ubuntu.com/ubuntu xenial-security/main Sources [61.1 kB]
2017/03/05 16:21:01 ui:  triton: Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [23.4 kB]
 triton: Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [23.4 kB]
2017/03/05 16:21:01 ui:  triton: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [219 kB]
 triton: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [219 kB]
2017/03/05 16:21:02 ui:  triton: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [235 kB]
 triton: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [235 kB]
2017/03/05 16:21:02 ui:  triton: Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [92.0 kB]
 triton: Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [92.0 kB]
2017/03/05 16:21:02 ui:  triton: Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [89.5 kB]
 triton: Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [89.5 kB]
2017/03/05 16:21:02 ui:  triton: Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [49.5 kB]
 triton: Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [49.5 kB]
2017/03/05 16:21:02 ui:  triton: Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [139 kB]
 triton: Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [139 kB]
2017/03/05 16:21:03 ui:  triton: Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [485 kB]
 triton: Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [485 kB]
2017/03/05 16:21:05 ui:  triton: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [193 kB]
 triton: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [193 kB]
2017/03/05 16:21:05 ui:  triton: Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [429 kB]
 triton: Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [429 kB]
2017/03/05 16:21:06 ui:  triton: Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [163 kB]
 triton: Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [163 kB]
2017/03/05 16:21:07 ui:  triton: Fetched 2,382 kB in 6s (391 kB/s)
 triton: Fetched 2,382 kB in 6s (391 kB/s)
2017/03/05 16:21:08 ui:  triton: Reading package lists...
 triton: Reading package lists...
2017/03/05 16:21:08 ui:  triton: Reading package lists...
 triton: Reading package lists...
2017/03/05 16:21:08 ui:  triton: Building dependency tree...
 triton: Building dependency tree...
2017/03/05 16:21:08 ui:  triton: Reading state information...
 triton: Reading state information...
2017/03/05 16:21:08 ui:  triton: The following additional packages will be installed:
 triton: The following additional packages will be installed:
2017/03/05 16:21:08 ui:  triton: ieee-data libyaml-0-2 python-crypto python-ecdsa python-httplib2
 triton: ieee-data libyaml-0-2 python-crypto python-ecdsa python-httplib2
2017/03/05 16:21:08 ui:  triton: python-jinja2 python-markupsafe python-netaddr python-paramiko
 triton: python-jinja2 python-markupsafe python-netaddr python-paramiko
2017/03/05 16:21:08 ui:  triton: python-pkg-resources python-selinux python-six python-yaml
 triton: python-pkg-resources python-selinux python-six python-yaml
2017/03/05 16:21:08 ui:  triton: Suggested packages:
 triton: Suggested packages:
2017/03/05 16:21:08 ui:  triton: sshpass python-crypto-dbg python-crypto-doc python-jinja2-doc ipython
 triton: sshpass python-crypto-dbg python-crypto-doc python-jinja2-doc ipython
2017/03/05 16:21:08 ui:  triton: python-netaddr-docs python-setuptools
 triton: python-netaddr-docs python-setuptools
2017/03/05 16:21:08 ui:  triton: The following NEW packages will be installed:
 triton: The following NEW packages will be installed:
2017/03/05 16:21:08 ui:  triton: ansible ieee-data libyaml-0-2 python-crypto python-ecdsa python-httplib2
 triton: ansible ieee-data libyaml-0-2 python-crypto python-ecdsa python-httplib2
2017/03/05 16:21:08 ui:  triton: python-jinja2 python-markupsafe python-netaddr python-paramiko
 triton: python-jinja2 python-markupsafe python-netaddr python-paramiko
2017/03/05 16:21:08 ui:  triton: python-pkg-resources python-selinux python-six python-yaml
 triton: python-pkg-resources python-selinux python-six python-yaml
2017/03/05 16:21:08 ui:  triton: 0 upgraded, 14 newly installed, 0 to remove and 46 not upgraded.
 triton: 0 upgraded, 14 newly installed, 0 to remove and 46 not upgraded.
2017/03/05 16:21:08 ui:  triton: Need to get 3,012 kB of archives.
 triton: Need to get 3,012 kB of archives.
2017/03/05 16:21:08 ui:  triton: After this operation, 18.0 MB of additional disk space will be used.
 triton: After this operation, 18.0 MB of additional disk space will be used.
2017/03/05 16:21:08 ui:  triton: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libyaml-0-2 amd64 0.1.6-3 [47.6 kB]
 triton: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libyaml-0-2 amd64 0.1.6-3 [47.6 kB]
2017/03/05 16:21:08 ui:  triton: Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-crypto amd64 2.6.1-6ubuntu0.16.04.2 [246 kB]
 triton: Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-crypto amd64 2.6.1-6ubuntu0.16.04.2 [246 kB]
2017/03/05 16:21:09 ui:  triton: Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-markupsafe amd64 0.23-2build2 [15.5 kB]
 triton: Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-markupsafe amd64 0.23-2build2 [15.5 kB]
2017/03/05 16:21:09 ui:  triton: Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-jinja2 all 2.8-1 [109 kB]
 triton: Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-jinja2 all 2.8-1 [109 kB]
2017/03/05 16:21:09 ui:  triton: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
 triton: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
2017/03/05 16:21:09 ui:  triton: Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-ecdsa all 0.13-2 [34.0 kB]
 triton: Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-ecdsa all 0.13-2 [34.0 kB]
2017/03/05 16:21:09 ui:  triton: Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-paramiko all 1.16.0-1 [109 kB]
 triton: Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-paramiko all 1.16.0-1 [109 kB]
2017/03/05 16:21:10 ui:  triton: Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
 triton: Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
2017/03/05 16:21:10 ui:  triton: Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-yaml amd64 3.11-3build1 [105 kB]
 triton: Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-yaml amd64 3.11-3build1 [105 kB]
2017/03/05 16:21:11 ui:  triton: Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-httplib2 all 0.9.1+dfsg-1 [34.2 kB]
 triton: Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-httplib2 all 0.9.1+dfsg-1 [34.2 kB]
2017/03/05 16:21:11 ui:  triton: Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 ieee-data all 20150531.1 [830 kB]
 triton: Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 ieee-data all 20150531.1 [830 kB]
2017/03/05 16:21:14 ui:  triton: Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-netaddr all 0.7.18-1 [174 kB]
 triton: Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-netaddr all 0.7.18-1 [174 kB]
2017/03/05 16:21:14 ui:  triton: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 ansible all 2.0.0.2-2ubuntu1 [1,016 kB]
 triton: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 ansible all 2.0.0.2-2ubuntu1 [1,016 kB]
2017/03/05 16:21:16 ui:  triton: Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-selinux amd64 2.4-3build2 [173 kB]
 triton: Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-selinux amd64 2.4-3build2 [173 kB]
2017/03/05 16:21:17 ui:  triton: debconf: unable to initialize frontend: Dialog
 triton: debconf: unable to initialize frontend: Dialog
2017/03/05 16:21:17 ui:  triton: debconf: (TERM is not set, so the dialog frontend is not usable.)
 triton: debconf: (TERM is not set, so the dialog frontend is not usable.)
2017/03/05 16:21:17 ui:  triton: debconf: falling back to frontend: Readline
 triton: debconf: falling back to frontend: Readline
2017/03/05 16:21:17 ui:  triton: debconf: unable to initialize frontend: Readline
 triton: debconf: unable to initialize frontend: Readline
2017/03/05 16:21:17 ui:  triton: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 14.)
2017/03/05 16:21:17 ui:  triton: debconf: falling back to frontend: Teletype
 triton: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 14.)
 triton: debconf: falling back to frontend: Teletype
2017/03/05 16:21:17 ui:  triton: dpkg-preconfigure: unable to re-open stdin:
 triton: dpkg-preconfigure: unable to re-open stdin:
2017/03/05 16:21:17 ui:  triton: Fetched 3,012 kB in 8s (343 kB/s)
 triton: Fetched 3,012 kB in 8s (343 kB/s)
2017/03/05 16:21:17 ui:  triton: Selecting previously unselected package libyaml-0-2:amd64.
 triton: Selecting previously unselected package libyaml-0-2:amd64.
2017/03/05 16:21:17 ui:  triton: (Reading database ... 14294 files and directories currently installed.)
 triton: (Reading database ... 14294 files and directories currently installed.)
2017/03/05 16:21:17 ui:  triton: Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ...
 triton: Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ...
2017/03/05 16:21:17 ui:  triton: Unpacking libyaml-0-2:amd64 (0.1.6-3) ...
 triton: Unpacking libyaml-0-2:amd64 (0.1.6-3) ...
2017/03/05 16:21:17 ui:  triton: Selecting previously unselected package python-crypto.
 triton: Selecting previously unselected package python-crypto.
2017/03/05 16:21:17 ui:  triton: Preparing to unpack .../python-crypto_2.6.1-6ubuntu0.16.04.2_amd64.deb ...
 triton: Preparing to unpack .../python-crypto_2.6.1-6ubuntu0.16.04.2_amd64.deb ...
2017/03/05 16:21:17 ui:  triton: Unpacking python-crypto (2.6.1-6ubuntu0.16.04.2) ...
 triton: Unpacking python-crypto (2.6.1-6ubuntu0.16.04.2) ...
2017/03/05 16:21:17 ui:  triton: Selecting previously unselected package python-markupsafe.
 triton: Selecting previously unselected package python-markupsafe.
2017/03/05 16:21:17 ui:  triton: Preparing to unpack .../python-markupsafe_0.23-2build2_amd64.deb ...
 triton: Preparing to unpack .../python-markupsafe_0.23-2build2_amd64.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-markupsafe (0.23-2build2) ...
 triton: Unpacking python-markupsafe (0.23-2build2) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-jinja2.
 triton: Selecting previously unselected package python-jinja2.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-jinja2_2.8-1_all.deb ...
 triton: Preparing to unpack .../python-jinja2_2.8-1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-jinja2 (2.8-1) ...
 triton: Unpacking python-jinja2 (2.8-1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-six.
 triton: Selecting previously unselected package python-six.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-six_1.10.0-3_all.deb ...
 triton: Preparing to unpack .../python-six_1.10.0-3_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-six (1.10.0-3) ...
 triton: Unpacking python-six (1.10.0-3) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-ecdsa.
 triton: Selecting previously unselected package python-ecdsa.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-ecdsa_0.13-2_all.deb ...
 triton: Preparing to unpack .../python-ecdsa_0.13-2_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-ecdsa (0.13-2) ...
 triton: Unpacking python-ecdsa (0.13-2) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-paramiko.
 triton: Selecting previously unselected package python-paramiko.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-paramiko_1.16.0-1_all.deb ...
 triton: Preparing to unpack .../python-paramiko_1.16.0-1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-paramiko (1.16.0-1) ...
 triton: Unpacking python-paramiko (1.16.0-1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-pkg-resources.
 triton: Selecting previously unselected package python-pkg-resources.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
 triton: Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-pkg-resources (20.7.0-1) ...
 triton: Unpacking python-pkg-resources (20.7.0-1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-yaml.
 triton: Selecting previously unselected package python-yaml.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-yaml_3.11-3build1_amd64.deb ...
 triton: Preparing to unpack .../python-yaml_3.11-3build1_amd64.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-yaml (3.11-3build1) ...
 triton: Unpacking python-yaml (3.11-3build1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-httplib2.
 triton: Selecting previously unselected package python-httplib2.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-httplib2_0.9.1+dfsg-1_all.deb ...
 triton: Preparing to unpack .../python-httplib2_0.9.1+dfsg-1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-httplib2 (0.9.1+dfsg-1) ...
 triton: Unpacking python-httplib2 (0.9.1+dfsg-1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package ieee-data.
 triton: Selecting previously unselected package ieee-data.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../ieee-data_20150531.1_all.deb ...
 triton: Preparing to unpack .../ieee-data_20150531.1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking ieee-data (20150531.1) ...
 triton: Unpacking ieee-data (20150531.1) ...
2017/03/05 16:21:18 ui:  triton: Selecting previously unselected package python-netaddr.
 triton: Selecting previously unselected package python-netaddr.
2017/03/05 16:21:18 ui:  triton: Preparing to unpack .../python-netaddr_0.7.18-1_all.deb ...
 triton: Preparing to unpack .../python-netaddr_0.7.18-1_all.deb ...
2017/03/05 16:21:18 ui:  triton: Unpacking python-netaddr (0.7.18-1) ...
 triton: Unpacking python-netaddr (0.7.18-1) ...
2017/03/05 16:21:19 ui:  triton: Selecting previously unselected package ansible.
 triton: Selecting previously unselected package ansible.
2017/03/05 16:21:19 ui:  triton: Preparing to unpack .../ansible_2.0.0.2-2ubuntu1_all.deb ...
 triton: Preparing to unpack .../ansible_2.0.0.2-2ubuntu1_all.deb ...
2017/03/05 16:21:19 ui:  triton: Unpacking ansible (2.0.0.2-2ubuntu1) ...
 triton: Unpacking ansible (2.0.0.2-2ubuntu1) ...
2017/03/05 16:21:20 ui:  triton: Selecting previously unselected package python-selinux.
 triton: Selecting previously unselected package python-selinux.
2017/03/05 16:21:20 ui:  triton: Preparing to unpack .../python-selinux_2.4-3build2_amd64.deb ...
 triton: Preparing to unpack .../python-selinux_2.4-3build2_amd64.deb ...
2017/03/05 16:21:20 ui:  triton: Unpacking python-selinux (2.4-3build2) ...
 triton: Unpacking python-selinux (2.4-3build2) ...
2017/03/05 16:21:20 ui:  triton: Processing triggers for man-db (2.7.5-1) ...
 triton: Processing triggers for man-db (2.7.5-1) ...
2017/03/05 16:21:21 ui:  triton: Setting up libyaml-0-2:amd64 (0.1.6-3) ...
 triton: Setting up libyaml-0-2:amd64 (0.1.6-3) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-crypto (2.6.1-6ubuntu0.16.04.2) ...
 triton: Setting up python-crypto (2.6.1-6ubuntu0.16.04.2) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-markupsafe (0.23-2build2) ...
 triton: Setting up python-markupsafe (0.23-2build2) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-jinja2 (2.8-1) ...
 triton: Setting up python-jinja2 (2.8-1) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-six (1.10.0-3) ...
 triton: Setting up python-six (1.10.0-3) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-ecdsa (0.13-2) ...
 triton: Setting up python-ecdsa (0.13-2) ...
2017/03/05 16:21:21 ui:  triton: Setting up python-paramiko (1.16.0-1) ...
 triton: Setting up python-paramiko (1.16.0-1) ...
2017/03/05 16:21:22 ui:  triton: Setting up python-pkg-resources (20.7.0-1) ...
 triton: Setting up python-pkg-resources (20.7.0-1) ...
2017/03/05 16:21:22 ui:  triton: Setting up python-yaml (3.11-3build1) ...
 triton: Setting up python-yaml (3.11-3build1) ...
2017/03/05 16:21:22 ui:  triton: Setting up python-httplib2 (0.9.1+dfsg-1) ...
 triton: Setting up python-httplib2 (0.9.1+dfsg-1) ...
2017/03/05 16:21:22 ui:  triton: Setting up ieee-data (20150531.1) ...
 triton: Setting up ieee-data (20150531.1) ...
2017/03/05 16:21:22 ui:  triton: Setting up python-netaddr (0.7.18-1) ...
 triton: Setting up python-netaddr (0.7.18-1) ...
2017/03/05 16:21:22 ui:  triton: Setting up ansible (2.0.0.2-2ubuntu1) ...
 triton: Setting up ansible (2.0.0.2-2ubuntu1) ...
2017/03/05 16:21:23 ui:  triton: Setting up python-selinux (2.4-3build2) ...
 triton: Setting up python-selinux (2.4-3build2) ...
2017/03/05 16:21:23 ui:  triton: Processing triggers for libc-bin (2.23-0ubuntu5) ...
 triton: Processing triggers for libc-bin (2.23-0ubuntu5) ...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] 7164 bytes written for 'stdout'
2017/03/05 16:21:23 [INFO] 739 bytes written for 'stderr'
2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 739 bytes written for 'stderr'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 7164 bytes written for 'stdout'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 starting remote command: rm -f /tmp/script_7539.sh
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 ui: ==> triton: Provisioning with Ansible...
==> triton: Provisioning with Ansible...
2017/03/05 16:21:23 ui:  triton: Uploading Playbook directory to Ansible staging directory...
 triton: Uploading Playbook directory to Ansible staging directory...
2017/03/05 16:21:23 ui:  triton: Creating directory: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b
 triton: Creating directory: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 starting remote command: mkdir -p '/tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] 0 bytes written for 'stdout'
2017/03/05 16:21:23 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 0 bytes written for 'stdout'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Upload dir '../../../ansible/plays/' to '/tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Starting remote scp process: scp -rvt /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Started SCP session, beginning transfers...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading couchpotato.yml: perms=C0644 size=819
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading dhcp_servers.yml: perms=C0644 size=105
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading name_server.yml: perms=C0644 size=110
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading nzb_stack.yml: perms=C0644 size=1840
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading nzbhydra.yml: perms=C0644 size=884
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading plex.yml: perms=C0644 size=1343
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading sabnzbd.yml: perms=C0644 size=653
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading site.yml: perms=C0644 size=294
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading sonarr.yml: perms=C0644 size=555
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP session complete, closing stdin pipe.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Waiting for SSH session to complete.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 scp stderr (length 263): Sink: C0644 819 couchpotato.yml
2017/03/05 16:21:23 packer: Sink: C0644 105 dhcp_servers.yml
2017/03/05 16:21:23 packer: Sink: C0644 110 name_server.yml
2017/03/05 16:21:23 packer: Sink: C0644 1840 nzb_stack.yml
2017/03/05 16:21:23 packer: Sink: C0644 884 nzbhydra.yml
2017/03/05 16:21:23 packer: Sink: C0644 1343 plex.yml
2017/03/05 16:21:23 packer: Sink: C0644 653 sabnzbd.yml
2017/03/05 16:21:23 packer: Sink: C0644 294 site.yml
2017/03/05 16:21:23 packer: Sink: C0644 555 sonarr.yml
2017/03/05 16:21:23 ui:  triton: Uploading main Playbook file...
 triton: Uploading main Playbook file...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 555 bytes written for 'uploadData'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 [INFO] 555 bytes written for 'uploadData'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Starting remote scp process: scp -vt /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Started SCP session, beginning transfers...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Copying input data into temporary file so we can read the length
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading sonarr.yml: perms=C0644 size=555
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP session complete, closing stdin pipe.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Waiting for SSH session to complete.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 scp stderr (length 27): Sink: C0644 555 sonarr.yml
2017/03/05 16:21:23 ui:  triton: Uploading inventory file...
 triton: Uploading inventory file...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Starting remote scp process: scp -vt /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Started SCP session, beginning transfers...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Copying input data into temporary file so we can read the length
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 27 bytes written for 'uploadData'
2017/03/05 16:21:23 [INFO] 27 bytes written for 'uploadData'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading packer-provisioner-ansible-local084719056: perms=C0644 size=27
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP session complete, closing stdin pipe.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Waiting for SSH session to complete.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 scp stderr (length 57): Sink: C0644 27 packer-provisioner-ansible-local084719056
2017/03/05 16:21:23 ui:  triton: Uploading role directories...
 triton: Uploading role directories...
2017/03/05 16:21:23 ui:  triton: Creating directory: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr
 triton: Creating directory: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 starting remote command: mkdir -p '/tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] 0 bytes written for 'stdout'
2017/03/05 16:21:23 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 [INFO] RPC endpoint: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 0 bytes written for 'stdout'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [INFO] RPC client: Communicator ended with: 0
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Upload dir '../../../ansible/roles/external/cmacrae.sonarr/' to '/tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr'
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Starting remote scp process: scp -rvt /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Started SCP session, beginning transfers...
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading .gitignore: perms=C0644 size=16
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: defaults
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading main.yml: perms=C0644 size=577
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: files
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading mono.repo: perms=C0644 size=81
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: handlers
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading main.yml: perms=C0644 size=170
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: meta
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading .galaxy_install_info: perms=C0644 size=60
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading main.yml: perms=C0644 size=1847
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading README.md: perms=C0644 size=2377
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: tasks
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading Debian.yml: perms=C0644 size=885
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading main.yml: perms=C0644 size=1748
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading RedHat.yml: perms=C0644 size=395
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: templates
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading sonarr.service.j2: perms=C0644 size=360
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP: starting directory upload: tests
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading provision.yml: perms=C0644 size=134
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 [DEBUG] scp: Uploading Vagrantfile: perms=C0644 size=1268
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 SCP session complete, closing stdin pipe.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 Waiting for SSH session to complete.
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 scp stderr (length 568): Sink: C0644 16 .gitignore
2017/03/05 16:21:23 packer: Sink: D0755 0 defaults
2017/03/05 16:21:23 packer: Sink: C0644 577 main.yml
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: D0755 0 files
2017/03/05 16:21:23 packer: Sink: C0644 81 mono.repo
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: D0755 0 handlers
2017/03/05 16:21:23 packer: Sink: C0644 170 main.yml
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: D0755 0 meta
2017/03/05 16:21:23 packer: Sink: C0644 60 .galaxy_install_info
2017/03/05 16:21:23 packer: Sink: C0644 1847 main.yml
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: C0644 2377 README.md
2017/03/05 16:21:23 packer: Sink: D0755 0 tasks
2017/03/05 16:21:23 packer: Sink: C0644 885 Debian.yml
2017/03/05 16:21:23 packer: Sink: C0644 1748 main.yml
2017/03/05 16:21:23 packer: Sink: C0644 395 RedHat.yml
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: D0755 0 templates
2017/03/05 16:21:23 packer: Sink: C0644 360 sonarr.service.j2
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 packer: Sink: D0755 0 tests
2017/03/05 16:21:23 packer: Sink: C0644 134 provision.yml
2017/03/05 16:21:23 packer: Sink: C0644 1268 Vagrantfile
2017/03/05 16:21:23 packer: Sink: E
2017/03/05 16:21:23 ui:  triton: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/sonarr.yml -vvvv -c local -i /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/packer-provisioner-ansible-local084719056
 triton: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/sonarr.yml -vvvv -c local -i /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/packer-provisioner-ansible-local084719056
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 opening new ssh session
2017/03/05 16:21:23 packer: 2017/03/05 16:21:23 starting remote command: cd /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/sonarr.yml -vvvv -c local -i /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/packer-provisioner-ansible-local084719056
2017/03/05 16:21:24 ui:  triton: Using /etc/ansible/ansible.cfg as config file
 triton: Using /etc/ansible/ansible.cfg as config file
2017/03/05 16:21:24 ui:  triton: Loaded callback default of type stdout, v2.0
 triton: Loaded callback default of type stdout, v2.0
2017/03/05 16:21:24 ui:  triton: 1 plays in /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/sonarr.yml
 triton: 1 plays in /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/sonarr.yml
2017/03/05 16:21:24 ui:  triton:
 triton:
2017/03/05 16:21:24 ui:  triton: PLAY ***************************************************************************
 triton: PLAY ***************************************************************************
2017/03/05 16:21:24 ui:  triton:
 triton:
2017/03/05 16:21:24 ui:  triton: TASK [setup] *******************************************************************
 triton: TASK [setup] *******************************************************************
2017/03/05 16:21:24 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:24 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426 )" )
2017/03/05 16:21:24 ui:  triton: 127.0.0.1 PUT /tmp/tmpvCY49L TO /root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/setup
 triton: 127.0.0.1 PUT /tmp/tmpvCY49L TO /root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/setup
2017/03/05 16:21:24 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730884.38-161945014634426/" > /dev/null 2>&1
2017/03/05 16:21:24 ui:  triton: ok: [127.0.0.1]
 triton: ok: [127.0.0.1]
2017/03/05 16:21:24 ui:  triton:
 triton:
2017/03/05 16:21:24 ui:  triton: TASK [cmacrae.sonarr : include] ************************************************
 triton: TASK [cmacrae.sonarr : include] ************************************************
2017/03/05 16:21:24 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:2
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:2
2017/03/05 16:21:24 ui:  triton: included: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml for 127.0.0.1
 triton: included: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml for 127.0.0.1
2017/03/05 16:21:24 ui:  triton:
 triton:
2017/03/05 16:21:24 ui:  triton: TASK [cmacrae.sonarr : Ensure the Mono GPG key has been imported] **************
 triton: TASK [cmacrae.sonarr : Ensure the Mono GPG key has been imported] **************
2017/03/05 16:21:24 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:3
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:3
2017/03/05 16:21:25 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:25 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481 )" )
2017/03/05 16:21:25 ui:  triton: 127.0.0.1 PUT /tmp/tmpkuHzNl TO /root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/apt_key
 triton: 127.0.0.1 PUT /tmp/tmpkuHzNl TO /root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/apt_key
2017/03/05 16:21:25 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/apt_key; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/apt_key; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730885.04-219680401861481/" > /dev/null 2>&1
2017/03/05 16:21:26 ui:  triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"data": null, "file": null, "id": null, "key": null, "keyring": null, "keyserver": null, "state": "present", "url": "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF", "validate_certs": true}, "module_name": "apt_key"}}
 triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"data": null, "file": null, "id": null, "key": null, "keyring": null, "keyserver": null, "state": "present", "url": "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF", "validate_certs": true}, "module_name": "apt_key"}}
2017/03/05 16:21:26 ui:  triton:
 triton:
2017/03/05 16:21:26 ui:  triton: TASK [cmacrae.sonarr : Ensure the Mono APT repository is present] **************
 triton: TASK [cmacrae.sonarr : Ensure the Mono APT repository is present] **************
2017/03/05 16:21:26 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:8
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:8
2017/03/05 16:21:26 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:26 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543 )" )
2017/03/05 16:21:26 ui:  triton: 127.0.0.1 PUT /tmp/tmpMZD7Fi TO /root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/apt_repository
 triton: 127.0.0.1 PUT /tmp/tmpMZD7Fi TO /root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/apt_repository
2017/03/05 16:21:26 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/apt_repository; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/apt_repository; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730886.3-197676040728543/" > /dev/null 2>&1
2017/03/05 16:21:28 ui:  triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"install_python_apt": true, "mode": 420, "repo": "deb http://download.mono-project.com/repo/debian wheezy main", "state": "present", "update_cache": true, "validate_certs": true}, "module_name": "apt_repository"}, "repo": "deb http://download.mono-project.com/repo/debian wheezy main", "state": "present"}
 triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"install_python_apt": true, "mode": 420, "repo": "deb http://download.mono-project.com/repo/debian wheezy main", "state": "present", "update_cache": true, "validate_certs": true}, "module_name": "apt_repository"}, "repo": "deb http://download.mono-project.com/repo/debian wheezy main", "state": "present"}
2017/03/05 16:21:28 ui:  triton:
 triton:
2017/03/05 16:21:28 ui:  triton: TASK [cmacrae.sonarr : Ensure the Mono Xamarin APT repository is present [Ubuntu]] ***
 triton: TASK [cmacrae.sonarr : Ensure the Mono Xamarin APT repository is present [Ubuntu]] ***
2017/03/05 16:21:28 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:13
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:13
2017/03/05 16:21:28 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:28 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101 )" )
2017/03/05 16:21:28 ui:  triton: 127.0.0.1 PUT /tmp/tmpKf9Ehk TO /root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/apt_repository
 triton: 127.0.0.1 PUT /tmp/tmpKf9Ehk TO /root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/apt_repository
2017/03/05 16:21:28 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/apt_repository; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/apt_repository; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730888.5-38688413587101/" > /dev/null 2>&1
2017/03/05 16:21:30 ui:  triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"install_python_apt": true, "mode": 420, "repo": "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main", "state": "present", "update_cache": true, "validate_certs": true}, "module_name": "apt_repository"}, "repo": "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main", "state": "present"}
 triton: changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"install_python_apt": true, "mode": 420, "repo": "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main", "state": "present", "update_cache": true, "validate_certs": true}, "module_name": "apt_repository"}, "repo": "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main", "state": "present"}
2017/03/05 16:21:30 ui:  triton:
 triton:
2017/03/05 16:21:30 ui:  triton: TASK [cmacrae.sonarr : Ensure the Mono Xamarin APT repository is present [Debian]] ***
 triton: TASK [cmacrae.sonarr : Ensure the Mono Xamarin APT repository is present [Debian]] ***
2017/03/05 16:21:30 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:19
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:19
2017/03/05 16:21:30 ui:  triton: skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
 triton: skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
2017/03/05 16:21:30 ui:  triton:
 triton:
2017/03/05 16:21:30 ui:  triton: TASK [cmacrae.sonarr : Ensure libmediainfo0v5 is installed] ********************
 triton: TASK [cmacrae.sonarr : Ensure libmediainfo0v5 is installed] ********************
2017/03/05 16:21:30 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:25
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/Debian.yml:25
2017/03/05 16:21:30 ui:  triton: Running apt
 triton: Running apt
2017/03/05 16:21:30 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:30 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994 )" )
2017/03/05 16:21:30 ui:  triton: 127.0.0.1 PUT /tmp/tmpRCzPyb TO /root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/apt
 triton: 127.0.0.1 PUT /tmp/tmpRCzPyb TO /root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/apt
2017/03/05 16:21:30 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/apt; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/apt; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730890.89-166530468103994/" > /dev/null 2>&1
2017/03/05 16:21:42 ui:  triton: changed: [127.0.0.1] => {"cache_update_time": 0, "cache_updated": false, "changed": true, "invocation": {"module_args": {"cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": "libmediainfo0v5", "package": ["libmediainfo0v5"], "purge": false, "state": "present", "update_cache": false, "upgrade": null}}, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libmms0 libtinyxml2-2v5 libzen0v5\nThe following NEW packages will be installed:\n libmediainfo0v5 libmms0 libtinyxml2-2v5 libzen0v5\n0 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.\nNeed to get 1,941 kB of archives.\nAfter this operation, 6,705 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmms0 amd64 0.6.4-1 [27.4 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtinyxml2-2v5 amd64 2.2.0-1.1ubuntu1 [25.7 kB]\nGet:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libzen0v5 amd64 0.4.32-1 [91.8 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmediainfo0v5 amd64 0.7.82-1 [1,796 kB]\nFetched 1,941 kB in 8s (235 kB/s)\nSelecting previously unselected package libmms0:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 15653 files and directories currently installed.)\r\nPreparing to unpack .../libmms0_0.6.4-1_amd64.deb ...\r\nUnpacking libmms0:amd64 (0.6.4-1) ...\r\nSelecting previously unselected package libtinyxml2-2v5:amd64.\r\nPreparing to unpack .../libtinyxml2-2v5_2.2.0-1.1ubuntu1_amd64.deb ...\r\nUnpacking libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...\r\nSelecting previously unselected package libzen0v5:amd64.\r\nPreparing to unpack .../libzen0v5_0.4.32-1_amd64.deb ...\r\nUnpacking libzen0v5:amd64 (0.4.32-1) ...\r\nSelecting previously unselected package libmediainfo0v5:amd64.\r\nPreparing to unpack .../libmediainfo0v5_0.7.82-1_amd64.deb ...\r\nUnpacking libmediainfo0v5:amd64 (0.7.82-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) ...\r\nSetting up libmms0:amd64 (0.6.4-1) ...\r\nSetting up libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...\r\nSetting up libzen0v5:amd64 (0.4.32-1) ...\r\nSetting up libmediainfo0v5:amd64 (0.7.82-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libmms0 libtinyxml2-2v5 libzen0v5", "The following NEW packages will be installed:", " libmediainfo0v5 libmms0 libtinyxml2-2v5 libzen0v5", "0 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.", "Need to get 1,941 kB of archives.", "After this operation, 6,705 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmms0 amd64 0.6.4-1 [27.4 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtinyxml2-2v5 amd64 2.2.0-1.1ubuntu1 [25.7 kB]", "Get:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libzen0v5 amd64 0.4.32-1 [91.8 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmediainfo0v5 amd64 0.7.82-1 [1,796 kB]", "Fetched 1,941 kB in 8s (235 kB/s)", "Selecting previously unselected package libmms0:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 15653 files and directories currently installed.)", "Preparing to unpack .../libmms0_0.6.4-1_amd64.deb ...", "Unpacking libmms0:amd64 (0.6.4-1) ...", "Selecting previously unselected package libtinyxml2-2v5:amd64.", "Preparing to unpack .../libtinyxml2-2v5_2.2.0-1.1ubuntu1_amd64.deb ...", "Unpacking libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...", "Selecting previously unselected package libzen0v5:amd64.", "Preparing to unpack .../libzen0v5_0.4.32-1_amd64.deb ...", "Unpacking libzen0v5:amd64 (0.4.32-1) ...", "Selecting previously unselected package libmediainfo0v5:amd64.", "Preparing to unpack .../libmediainfo0v5_0.7.82-1_amd64.deb ...", "Unpacking libmediainfo0v5:amd64 (0.7.82-1) ...", "Processing triggers for libc-bin (2.23-0ubuntu5) ...", "Setting up libmms0:amd64 (0.6.4-1) ...", "Setting up libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...", "Setting up libzen0v5:amd64 (0.4.32-1) ...", "Setting up libmediainfo0v5:amd64 (0.7.82-1) ...", "Processing triggers for libc-bin (2.23-0ubuntu5) ..."]}
2017/03/05 16:21:42 ui:  triton:
2017/03/05 16:21:42 ui:  triton: TASK [cmacrae.sonarr : Ensure Sonarr service group exists] *********************
2017/03/05 16:21:42 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:4
 triton: changed: [127.0.0.1] => {"cache_update_time": 0, "cache_updated": false, "changed": true, "invocation": {"module_args": {"cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": "libmediainfo0v5", "package": ["libmediainfo0v5"], "purge": false, "state": "present", "update_cache": false, "upgrade": null}}, "stderr": "", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libmms0 libtinyxml2-2v5 libzen0v5\nThe following NEW packages will be installed:\n libmediainfo0v5 libmms0 libtinyxml2-2v5 libzen0v5\n0 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.\nNeed to get 1,941 kB of archives.\nAfter this operation, 6,705 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmms0 amd64 0.6.4-1 [27.4 kB]\nGet:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtinyxml2-2v5 amd64 2.2.0-1.1ubuntu1 [25.7 kB]\nGet:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libzen0v5 amd64 0.4.32-1 [91.8 kB]\nGet:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmediainfo0v5 amd64 0.7.82-1 [1,796 kB]\nFetched 1,941 kB in 8s (235 kB/s)\nSelecting previously unselected package libmms0:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 15653 files and directories currently installed.)\r\nPreparing to unpack .../libmms0_0.6.4-1_amd64.deb ...\r\nUnpacking libmms0:amd64 (0.6.4-1) ...\r\nSelecting previously unselected package libtinyxml2-2v5:amd64.\r\nPreparing to unpack .../libtinyxml2-2v5_2.2.0-1.1ubuntu1_amd64.deb ...\r\nUnpacking libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...\r\nSelecting previously unselected package libzen0v5:amd64.\r\nPreparing to unpack .../libzen0v5_0.4.32-1_amd64.deb ...\r\nUnpacking libzen0v5:amd64 (0.4.32-1) ...\r\nSelecting previously unselected package libmediainfo0v5:amd64.\r\nPreparing to unpack .../libmediainfo0v5_0.7.82-1_amd64.deb ...\r\nUnpacking libmediainfo0v5:amd64 (0.7.82-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) ...\r\nSetting up libmms0:amd64 (0.6.4-1) ...\r\nSetting up libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...\r\nSetting up libzen0v5:amd64 (0.4.32-1) ...\r\nSetting up libmediainfo0v5:amd64 (0.7.82-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu5) ...\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libmms0 libtinyxml2-2v5 libzen0v5", "The following NEW packages will be installed:", " libmediainfo0v5 libmms0 libtinyxml2-2v5 libzen0v5", "0 upgraded, 4 newly installed, 0 to remove and 46 not upgraded.", "Need to get 1,941 kB of archives.", "After this operation, 6,705 kB of additional disk space will be used.", "Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmms0 amd64 0.6.4-1 [27.4 kB]", "Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtinyxml2-2v5 amd64 2.2.0-1.1ubuntu1 [25.7 kB]", "Get:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libzen0v5 amd64 0.4.32-1 [91.8 kB]", "Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmediainfo0v5 amd64 0.7.82-1 [1,796 kB]", "Fetched 1,941 kB in 8s (235 kB/s)", "Selecting previously unselected package libmms0:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 15653 files and directories currently installed.)", "Preparing to unpack .../libmms0_0.6.4-1_amd64.deb ...", "Unpacking libmms0:amd64 (0.6.4-1) ...", "Selecting previously unselected package libtinyxml2-2v5:amd64.", "Preparing to unpack .../libtinyxml2-2v5_2.2.0-1.1ubuntu1_amd64.deb ...", "Unpacking libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...", "Selecting previously unselected package libzen0v5:amd64.", "Preparing to unpack .../libzen0v5_0.4.32-1_amd64.deb ...", "Unpacking libzen0v5:amd64 (0.4.32-1) ...", "Selecting previously unselected package libmediainfo0v5:amd64.", "Preparing to unpack .../libmediainfo0v5_0.7.82-1_amd64.deb ...", "Unpacking libmediainfo0v5:amd64 (0.7.82-1) ...", "Processing triggers for libc-bin (2.23-0ubuntu5) ...", "Setting up libmms0:amd64 (0.6.4-1) ...", "Setting up libtinyxml2-2v5:amd64 (2.2.0-1.1ubuntu1) ...", "Setting up libzen0v5:amd64 (0.4.32-1) ...", "Setting up libmediainfo0v5:amd64 (0.7.82-1) ...", "Processing triggers for libc-bin (2.23-0ubuntu5) ..."]}
 triton:
 triton: TASK [cmacrae.sonarr : Ensure Sonarr service group exists] *********************
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:4
2017/03/05 16:21:42 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182 )" )
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 PUT /tmp/tmppOLLuU TO /root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/group
 triton: 127.0.0.1 PUT /tmp/tmppOLLuU TO /root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/group
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/group; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/group; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.14-73605254234182/" > /dev/null 2>&1
2017/03/05 16:21:42 ui:  triton: changed: [127.0.0.1] => {"changed": true, "gid": 1005, "invocation": {"module_args": {"gid": "1005", "name": "sonarr", "state": "present", "system": true}, "module_name": "group"}, "name": "sonarr", "state": "present", "system": true}
 triton: changed: [127.0.0.1] => {"changed": true, "gid": 1005, "invocation": {"module_args": {"gid": "1005", "name": "sonarr", "state": "present", "system": true}, "module_name": "group"}, "name": "sonarr", "state": "present", "system": true}
2017/03/05 16:21:42 ui:  triton:
 triton:
2017/03/05 16:21:42 ui:  triton: TASK [cmacrae.sonarr : Ensure Sonarr service user exists] **********************
 triton: TASK [cmacrae.sonarr : Ensure Sonarr service user exists] **********************
2017/03/05 16:21:42 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:11
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:11
2017/03/05 16:21:42 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418 )" )
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 PUT /tmp/tmp5gM8K8 TO /root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/user
 triton: 127.0.0.1 PUT /tmp/tmp5gM8K8 TO /root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/user
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/user; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/user; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.32-76811273302418/" > /dev/null 2>&1
2017/03/05 16:21:42 ui:  triton: changed: [127.0.0.1] => {"changed": true, "comment": "", "createhome": true, "group": 1005, "home": "/var/lib/sonarr", "invocation": {"module_args": {"append": false, "comment": null, "createhome": true, "expires": null, "force": false, "generate_ssh_key": null, "group": "sonarr", "groups": null, "home": "/var/lib/sonarr", "login_class": null, "move_home": false, "name": "sonarr", "non_unique": false, "password": null, "remove": false, "shell": null, "skeleton": null, "ssh_key_bits": "2048", "ssh_key_comment": "ansible-generated on 5949de88-bd22-4735-86dc-a70ddb7acf8e", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": true, "uid": "1005", "update_password": "always"}, "module_name": "user"}, "name": "sonarr", "shell": "", "state": "present", "system": true, "uid": 1005}
 triton: changed: [127.0.0.1] => {"changed": true, "comment": "", "createhome": true, "group": 1005, "home": "/var/lib/sonarr", "invocation": {"module_args": {"append": false, "comment": null, "createhome": true, "expires": null, "force": false, "generate_ssh_key": null, "group": "sonarr", "groups": null, "home": "/var/lib/sonarr", "login_class": null, "move_home": false, "name": "sonarr", "non_unique": false, "password": null, "remove": false, "shell": null, "skeleton": null, "ssh_key_bits": "2048", "ssh_key_comment": "ansible-generated on 5949de88-bd22-4735-86dc-a70ddb7acf8e", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": true, "uid": "1005", "update_password": "always"}, "module_name": "user"}, "name": "sonarr", "shell": "", "state": "present", "system": true, "uid": 1005}
2017/03/05 16:21:42 ui:  triton:
 triton:
2017/03/05 16:21:42 ui:  triton: TASK [cmacrae.sonarr : Ensure Sonarr dependencies are installed] ***************
 triton: TASK [cmacrae.sonarr : Ensure Sonarr dependencies are installed] ***************
2017/03/05 16:21:42 ui:  triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:20
 triton: task path: /tmp/packer-provisioner-ansible-local/58bc3ae3-c6f2-001d-654a-8472571c7b8b/roles/cmacrae.sonarr/tasks/main.yml:20
2017/03/05 16:21:42 ui:  triton: Running apt
 triton: Running apt
2017/03/05 16:21:42 ui:  triton: ESTABLISH LOCAL CONNECTION FOR USER: root
 triton: ESTABLISH LOCAL CONNECTION FOR USER: root
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469 )" )
 triton: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469 )" )
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 PUT /tmp/tmpg9Q7AT TO /root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/apt
 triton: 127.0.0.1 PUT /tmp/tmpg9Q7AT TO /root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/apt
2017/03/05 16:21:42 ui:  triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/apt; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/" > /dev/null 2>&1
 triton: 127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/apt; rm -rf "/root/.ansible/tmp/ansible-tmp-1488730902.51-260962334577469/" > /dev/null 2>&1
2017/03/05 16:22:28 packer: 2017/03/05 16:22:28 Remote command exited without exit status or exit signal.
2017/03/05 16:22:28 packer: 2017/03/05 16:22:28 [INFO] RPC endpoint: Communicator ended with: 2300218
2017/03/05 16:22:28 [INFO] 15572 bytes written for 'stdout'
2017/03/05 16:22:28 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:22:28 [INFO] RPC client: Communicator ended with: 2300218
2017/03/05 16:22:28 [INFO] RPC endpoint: Communicator ended with: 2300218
2017/03/05 16:22:28 packer: 2017/03/05 16:22:28 [INFO] 0 bytes written for 'stderr'
2017/03/05 16:22:28 packer: 2017/03/05 16:22:28 [INFO] 15572 bytes written for 'stdout'
2017/03/05 16:22:28 packer: 2017/03/05 16:22:28 [INFO] RPC client: Communicator ended with: 2300218
2017/03/05 16:22:28 ui: ==> triton: Stopping source machine (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
==> triton: Stopping source machine (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
2017/03/05 16:22:28 ui: ==> triton: Waiting for source machine to stop (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
==> triton: Waiting for source machine to stop (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
2017/03/05 16:22:44 ui: ==> triton: Deleting source machine (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
==> triton: Deleting source machine (5949de88-bd22-4735-86dc-a70ddb7acf8e)...
2017/03/05 16:22:44 ui error: Build 'triton' errored: Error executing Ansible: Non-zero exit status: 2300218
2017/03/05 16:22:44 Builds completed. Waiting on interrupt barrier...
2017/03/05 16:22:44 machine readable: error-count []string{"1"}
2017/03/05 16:22:44 ui error:
==> Some builds didn't complete successfully and had errors:
2017/03/05 16:22:44 machine readable: triton,error []string{"Error executing Ansible: Non-zero exit status: 2300218"}
2017/03/05 16:22:44 ui error: --> triton: Error executing Ansible: Non-zero exit status: 2300218
2017/03/05 16:22:44 ui:
==> Builds finished but no artifacts were created.
2017/03/05 16:22:44 waiting for all plugin processes to complete...
Build 'triton' errored: Error executing Ansible: Non-zero exit status: 2300218
==> Some builds didn't complete successfully and had errors:
--> triton: Error executing Ansible: Non-zero exit status: 2300218
==> Builds finished but no artifacts were created.
2017/03/05 16:22:44 /opt/hashi/bin/packer: plugin process exited
2017/03/05 16:22:44 /opt/hashi/bin/packer: plugin process exited
2017/03/05 16:22:44 /opt/hashi/bin/packer: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment