User Tools

Site Tools


wiki:ansible_troubleshooting

This is an old revision of the document!


ansible troubleshooting

undefined variable

atal: [10.21.21.11]: FAILED! =>                                                                                                                                                                                   
  msg: |-                                                                                                                                                                                                          
    The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute bla bla

Check the names in group_vars! They need to match the name of the group in the inventory file.

Tested on

See also

References

wiki/ansible_troubleshooting.1702910085.txt.gz · Last modified: 2023/12/18 15:34 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki