Stat module cause 'dict object' has no attribute 'islnk' if ...
github.com › ansible › ansibleMay 04, 2017 · The error was: error while evaluating conditional ((data_dir is defined and data_dir.stat.islnk == False) and (db_volume is defined and db_volume.stat.exists)): 'dict object' has no attribute 'islnk' The error appears to have been in '/my_working_dir/roles/mysql/tasks/RedHat.yml': line 15, column 3, but may be elsewhere in the file depending on the exact syntax problem.
Ansible stat module error 'dict object' has no attribute ...
www.reddit.com › r › ansibleThe offending line appears to be: register: t. - debug: ^ here. fatal: [ 192.168.100.3 ]: FAILED! =>. msg: |-. The conditional check 't.exists == True' failed. The error was: error while evaluating conditional (t.exists == True): 'dict object' has no attribute 'exists'. The error appears to be in '/home/ansible/playbooks/stig_high/test_path.yml': line 13, column 5, but may.