Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Switch to unarchive module #5

Merged
merged 1 commit into from
Sep 4, 2018

Conversation

edwinkortman
Copy link

Using this module sends out a warning. This PR will fix that warning by switching to the ansible unarchive module instead of executing a tar command.

[WARNING]: Consider using the unarchive module rather than running tar.  If
you need to use command because unarchive is insufficient you can add
warn=False to this command task or set command_warnings=False in ansible.cfg to
get rid of this message.

@ramondelafuente
Copy link
Member

This does not work I think? The unarchive module assumes the archive to be on the host, not on the guest

@ramondelafuente
Copy link
Member

This also does not work with the currect destination path. I'm working on it...

@ramondelafuente
Copy link
Member

The following line worked on my local test:
unarchive: remote_src=true src=/tmp/beanstalkd-{{ beanstalkd_version }}.tar.gz dest=/tmp

@edwinkortman
Copy link
Author

Thanks! Tested it as well and it works now. :)

@ramondelafuente ramondelafuente merged commit baad208 into f500:master Sep 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants