Skip to content

Instantly share code, notes, and snippets.

@alextricity25
Created December 15, 2016 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alextricity25/bba3f9124b464b9a189a5936b5b093fb to your computer and use it in GitHub Desktop.
Save alextricity25/bba3f9124b464b9a189a5936b5b093fb to your computer and use it in GitHub Desktop.
maas task referencing swift_proxy ansible inventory group
TASK [rpc_maas : Create a keystone user for swift filecheck] *******************
fatal: [573970-infra01]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname == groups['swift_proxy'][0]' failed. The error was: error while evaluating conditional (inventory_hostname == groups['swift_proxy'][0]): list obj
ect has no element 0\n\nThe error appears to have been in '/opt/rpc-openstack/rpcd/playbooks/roles/rpc_maas/tasks/main.yml': line 48, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears t
o be:\n\n\n- include: swift_access_check.yml\n ^ here\n"}
fatal: [578083-storage03]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname == groups['swift_proxy'][0]' failed. The error was: error while evaluating conditional (inventory_hostname == groups['swift_proxy'][0]): list o
bject has no element 0\n\nThe error appears to have been in '/opt/rpc-openstack/rpcd/playbooks/roles/rpc_maas/tasks/main.yml': line 48, 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- include: swift_access_check.yml\n ^ here\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment