CubicrootXYZ / workstation

Ansible for setting up a workstation
0 stars 0 forks source link

Git role error #19

Closed CubicrootXYZ closed 5 months ago

CubicrootXYZ commented 5 months ago
An exception occurred during task execution. To see the full traceback, use -vvv. The error was:     excludesfile = {{ user_home_directory }}/.gitignore. unexpected 'end of statement block'
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleError: template error while templating string: unexpected 'end of statement block'. String: [user]\n\temail = {{ git.email }}\n\tname = {{ git.name }}\n\t{% if git.signingkey is defined %%}\n\tsigningkey = {{ git.signingkey }}\n\t{% endif %}\n[core]\n    excludesfile = {{ user_home_directory }}/.gitignore. unexpected 'end of statement block'"}
CubicrootXYZ commented 5 months ago
TASK [dotfiles : Create files] *************************************************************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'goproxy'. 'dict object' has no attribute 'goproxy'
failed: [localhost] (item=roles/dotfiles/templates/.bashrc_workstation.j2) => {"ansible_loop_var": "item", "changed": false, "item": "roles/dotfiles/templates/.bashrc_workstation.j2", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'goproxy'. 'dict object' has no attribute 'goproxy'"}
CubicrootXYZ commented 5 months ago

should be fixed, later one is a missing config file entry