You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in the following error when executing the playbook:
TASK: [aem_packages_common | Upload common packages] **************************
fatal: [xx.xx.xx.xx] => One or more undefined variables: 'unicode object' has no attribute 'name'
...
The text was updated successfully, but these errors were encountered:
I did change the module at some stage, it looks like I forgot to update the sample to match. I'll fix it and push a new version.
You need to specify name at a minimum; if the file name doesn't match the package name, you also need to specify file. So, something like this:
packages_common:
# package name and file name the same
- name: 'cq-6.0.0-hotfix-5869-1.0.2.zip'
# package name and file name different
- name: 'cq-6.0.0-hotfix-5918-wrapper-1.6.zip'
file: 'cq-6.0.0-hotfix-5918-1.6.zip'
When executing the
aem_packages_common
role, the definition ofpackages_common
and the usage in the task don't match.It looks like the task expects something like this:
whereas the sample (and in my config) they are defined simply as this:
This results in the following error when executing the playbook:
The text was updated successfully, but these errors were encountered: