During a fresh monolith deployment on Ubuntu 18.04.3 LTS, when running the deploy-stack scripts, the system consistently halts on:
TASK [pgbouncer : pgbouncer users] **********************************************************************************************************************************************************
fatal: [192.168.253.21]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: Unable to look up a name or access an attribute in template string ({% for group in postgres_users.values() %}\n\"{{ group.username }}\" \"{{ group.password }}\"\n{% endfor %}\n{% if inventory_hostname in groups['citusdb_worker'] %}\n\"postgres\" \"\"\n{% endif %}\n).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'AnsibleUndefined' is not iterable"}
Where are these group.username and group.password variables meant to be? Also, I don’t see reference to citusdb_worker in any of the config files.
My inventory.ini is as folows:
[monolith]
192.168.253.21
[monolith:vars]
elasticsearch_node_name=es0
kafka_broker_id=0
hostname='monolith'
ufw_private_interface=eth0
[control:children]
monolith
[proxy:children]
monolith
[webworkers:children]
monolith
[celery:children]
monolith
[pillowtop:children]
monolith
[formplayer:children]
monolith
[django_manage:children]
monolith
[postgresql:children]
monolith
[pg_backup:children]
monolith
[pg_standby]
[couchdb2:children]
monolith
[couchdb2_proxy:children]
monolith
[redis:children]
monolith
[zookeeper:children]
monolith
[kafka:children]
monolith
[elasticsearch:children]
monolith
[rabbitmq:children]
[shared_dir_host:children]
[riakcs]
Any assistance would be appreciated!