Skip to content

Instantly share code, notes, and snippets.

@yudaykiran
Last active May 1, 2017 17:19
Show Gist options
  • Save yudaykiran/a4bd4b137681d4dec441509c4fabed54 to your computer and use it in GitHub Desktop.
Save yudaykiran/a4bd4b137681d4dec441509c4fabed54 to your computer and use it in GitHub Desktop.
TASK [volume : Update Target Portal] *******************************************
task path: /ansible/roles/volume/tasks/main.yml:23
ok: [localhost -> None] => {
"ansible_facts": {
"target_portal": "172.28.128.11"
},
"changed": false,
"invocation": {
"module_args": {
"target_portal": "172.28.128.11"
},
"module_name": "set_fact"
}
}
TASK [fio : Establish ISCSI Connection] ****************************************
task path: /ansible/roles/fio/tasks/main.yml:2
fatal: [localhost]: FAILED! => {
"failed": true,
"msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'target_portal'\n\nThe error appears to have been in '/ansible/roles/fio/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Establish ISCSI Connection\n ^ here\n"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment