Skip to content

Missing package 'ansible' #171

Closed Locked Answered by kmcgrego1307
kmcgrego1307 asked this question in Help
Discussion options

You must be logged in to vote

This is interesting - I removed the 'ansible' item and got a lot further. Packer moved on to "Executing Ansible" and from the output it seemed to be running so I guess there was some version of Ansible installed anyway. At
TASK [base : Updating the guest operating system.]
I got
fatal: [default]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: "}

After that failure Packer powered off and removed the VM, so I can't explore it for logs unless there is some way to tell Packer to leave the VM?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tenthirtyam
Comment options

@tenthirtyam
Comment options

@tenthirtyam
Comment options

Answer selected by tenthirtyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
2 participants