hashicorp/packer-plugin-ansible

clean up .ansible dir left behind in ~/

Open

#18 opened on Apr 16, 2021

 (0 comments) (0 reactions) (0 assignees)Go (39 forks)auto 404
enhancementgood first issueprovisioner/ansible-remote

Repository metrics

Stars
 (64 stars)
PR merge metrics
 (PR metrics pending)

Description

This issue was originally opened by @SwampDragons as hashicorp/packer#9436. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.

When the ansible provisioner runs, it leaves behind a .ansible folder in the ansible user's homedir. It would be cool if we could clean that directory up so that the image is left in a more pristine state.

See comment https://github.com/hashicorp/packer/issues/9118#issuecomment-644529777 for more details.

Contributor guide