Not able to setup trellis for the first time

ansible
trellis

#1
default: Running ansible-playbook...
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 
'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
 This feature will be removed in a future release. Deprecation warnings can be 
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
 discouraged. The module documentation details page may explain more about this
 rationale.. This feature will be removed in a future release. Deprecation 
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

PLAY [WordPress Server: Install LEMP Stack with PHP 7.2 and MariaDB MySQL] *****
 [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin
(<ansible.plugins.callback.vars.CallbackModule object at 0x104d04470>): 'dict'
object has no attribute 'iteritems'


TASK [Gathering Facts] *********************************************************
 [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x103c47a58>): name
'unicode' is not defined


TASK [common : Load wordpress_sites.yml vars into <env>_sites vars] ************
 [WARNING]: Failure using method (v2_runner_item_on_skipped) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x103c47a58>): name
'unicode' is not defined


TASK [common : Fail if there are duplicate site keys within host's wordpress_sites] ***

TASK [common : Validate wordpress_sites] ***************************************
 [WARNING]: Failure using method (v2_runner_on_skipped) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x103c47a58>): name
'unicode' is not defined


TASK [common : Validate format of site_hosts] **********************************

TASK [common : Verify dict format for apt package component variables] *********
 [WARNING]: Failure using method (v2_runner_on_failed) in callback plugin
(<ansible.plugins.callback.output.CallbackModule object at 0x103c47a58>): name
'unicode' is not defined

	to retry, use: --limit @/Applications/MAMP/htdocs/example.com/trellis/dev.retry

PLAY RECAP *********************************************************************
default                    : ok=1    changed=0    unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

#2

Searching for that particular error finds posts where the solution was to use python 2 instead of python 3. You could check your python version (python --version) and potentially switch to 2.7.x if necessary.

https://www.google.com/search?q=“name‘unicode’+is+not+defined”+site%3Adiscourse.roots.io