Difference between revisions of "Fatal:"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{lc}}
 
  fatal: [localhost]: [[FAILED!]] => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.parsing.yaml.objects.[[AnsibleUnicode]] object' [[has no attribute]] 'stdout'\n\nThe error appears to be in '/Users/my-user/myfile.yml': line 16, column 6, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: My third task to print a text and variable\n    ^ here\n"}
 
  fatal: [localhost]: [[FAILED!]] => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.parsing.yaml.objects.[[AnsibleUnicode]] object' [[has no attribute]] 'stdout'\n\nThe error appears to be in '/Users/my-user/myfile.yml': line 16, column 6, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: My third task to print a text and variable\n    ^ here\n"}
  
 +
[[fatal:]] [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was:
 +
'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'stdout'\n\nThe error appears to be in '/Users/your-user/your-ansible.yml': line 16, column 6, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: My third task to print a text and variable\n    ^ here\n"}
  
 
== See also ==
 
== See also ==

Revision as of 16:27, 11 August 2022

fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'stdout'\n\nThe error appears to be in '/Users/my-user/myfile.yml': line 16, column 6, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n   - name: My third task to print a text and variable\n     ^ here\n"}
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 
'ansible.parsing.yaml.objects.AnsibleUnicode object' has no attribute 'stdout'\n\nThe error appears to be in '/Users/your-user/your-ansible.yml': line 16, column 6, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n   - name: My third task to print a text and variable\n     ^ here\n"}

See also

Advertising: