Closed broskees closed 3 years ago
Quick update. I've tried this now on a fresh DO droplet and have the same error.
🤔 this is coming from the logrotate galaxy role. I found https://github.com/nickhammond/ansible-logrotate/pull/34
Maybe you haven't updated logrotate in a while? Make sure your galaxy.yml
has this version: https://github.com/roots/trellis/blob/a81c10b5b0bc01c5ffb61891dd7c6b82c166278a/galaxy.yml#L11 (I updated it 2 years ago)
And need to ensure that you've updated the roles with ansible-galaxy install -rf galaxy.yml
Just to add that you can also use trellis-cli to update:
trellis galaxy install
Description
Getting the following error during server provisioning:
Using python3, from what I can tell there is no section of trellis’ code that uses
iteritems
without first including fromansible.module_utils.six import iteritems
so not sure what the issue is.Perhaps a dependency is? I believe this is a bug because as far as I understand this is a python3 error and trellis is python compatible
Deploys run fine.
Steps to reproduce
server.yml
)Expected behavior: Server provisioning script to complete without errors
Actual behavior: It fails with
AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'
Reproduces how often: 100%
Versions
Here’s my system:
Additional information
N/A