Difference between revisions of "Ansible, has no attribute"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
'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"} | '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"} | ||
+ | == Related == | ||
+ | * <code>[[with_dict:]]</code> | ||
+ | == See also == | ||
* {{Ansible}} | * {{Ansible}} | ||
+ | |||
+ | [[Category:Ansible]] |
Revision as of 16:33, 11 August 2022
fatal: (localhost]: FAILED! => {"msg":"The task includes an option with an undefined variable. The error was: "dict object' has no attribute "auto_scaling_group_arn" \n\nThe error appears to be in '/path/to/your/file/create.yml': line 75, column 3, but may be elsewhere in the file depending on the exact syntax problem.\m\n The offending line appears to be: \n\n\n- name: Create my capacity provider\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"}
Related
See also
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: