Hello,
We are attempting to install galaxy following the “Galaxy Installation with Ansible” tutorial (Hands-on: Hands-on: Galaxy Installation with Ansible / Galaxy Server administration). Everything is working fine through the galaxy installation. However, when we try to complete the systemd setup and execute “ansible-playbook -vvv galaxy.yml”, we get the following error:
<galaxy-dev.classe.cornell.edu> EXEC /bin/sh -c ‘rm -f -r /home/galaxy/.ansible/tmp/ansible-tmp-1630271534.663397-13888-233149462200077/ > /dev/null 2>&1 && sleep 0’
The full traceback is:
Traceback (most recent call last):
File “/mnt/galaxy/ansible/venv/lib/python3.6/site-packages/ansible/template/init.py”, line 1100, in do_template
res = j2_concat(rf)
File “”, line 24, in root
File “/mnt/galaxy/ansible/venv/lib/python3.6/site-packages/jinja2/runtime.py”, line 903, in _fail_with_undefined_error
raise self._undefined_exception(self._undefined_message)
jinja2.exceptions.UndefinedError: ‘__galaxy_user_group’ is undefinedDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/mnt/galaxy/ansible/venv/lib/python3.6/site-packages/ansible/plugins/action/template.py”, line 146, in run
resultant = templar.do_template(template_data, preserve_trailing_newlines=True, escape_backslashes=False)
File “/mnt/galaxy/ansible/venv/lib/python3.6/site-packages/ansible/template/init.py”, line 1137, in do_template
raise AnsibleUndefinedVariable(e)
ansible.errors.AnsibleUndefinedVariable: ‘__galaxy_user_group’ is undefined
fatal: [galaxy-dev.classe.cornell.edu]: FAILED! => {
“changed”: false,
“msg”: “AnsibleUndefinedVariable: ‘__galaxy_user_group’ is undefined”
}
Any help would be greatly appreciate.
Many thanks,
Devin