unarchive failure when unix group specified doesn't exist #51848
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
m:unarchive
This issue/PR relates to the unarchive module.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
I receive an error because the "tomcat" group that I used was not created as a unix group...
ISSUE TYPE
COMPONENT NAME
unarchive
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
centos 7 inside of docker.
DEPENDENCY PROBLEMS
none
STEPS TO REPRODUCE
easy, just specify a group owner in your yaml that is not yet created in the unix file system. For example, the group 'tomcat' below was not created inside of my docker image, therefore unarchive throws the obscure error I mentioned earlier.
EXPECTED RESULTS
I would expect a better message like
unix group "tomcat" does not exist
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: