You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception trace:
Traceback
Traceback (most recent call last):
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 712, in main
payload = handler.handle()
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 402, in handle
result = self._run_operation_func(ctx, kwargs)
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 431, in _run_operation_func
return self.func(*self.args, **kwargs)
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible/init.py", line 77, in wrapper
func(playbook_args, ansible_env_vars, ctx)
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible/tasks.py", line 45, in run
output, error, return_code = playbook.execute()
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 173, in execute
return self._execute()
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 155, in _execute
'args': self.command,
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 149, in command
options=self.options,
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 116, in options
self.options_config['extra_vars'] = {}
TypeError: list indices must be integers, not str
The text was updated successfully, but these errors were encountered:
Blueprint:
`tosca_definitions_version: cloudify_dsl_1_3
imports:
inputs:
remote_host:
type: string
default:
username:
default:
type: string
node_templates:
RunPlay:
type: cloudify.nodes.Compute
properties:
ip:
get_input: remote_host
agent_config:
install_method: none
interfaces:
cloudify.interfaces.lifecycle:
start:
implementation: ansible.cloudify_ansible.tasks.run
inputs:
playbook_path: ansible/play.yaml
debug_level: 4
options_config:
- private_key_file: /path/to/p.key
- remote_user: root
- extra_vars: ''
`
Exception trace:
Traceback
Traceback (most recent call last):
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 712, in main
payload = handler.handle()
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 402, in handle
result = self._run_operation_func(ctx, kwargs)
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 431, in _run_operation_func
return self.func(*self.args, **kwargs)
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible/init.py", line 77, in wrapper
func(playbook_args, ansible_env_vars, ctx)
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible/tasks.py", line 45, in run
output, error, return_code = playbook.execute()
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 173, in execute
return self._execute()
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 155, in _execute
'args': self.command,
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 149, in command
options=self.options,
File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-ansible-plugin-2.2.0/lib/python2.7/site-packages/cloudify_ansible_sdk/init.py", line 116, in options
self.options_config['extra_vars'] = {}
TypeError: list indices must be integers, not str
The text was updated successfully, but these errors were encountered: