getting error while removing volume group using anisble playbook

Hi Friends,

someone please help me in below issue.

[root@swift own-create-ymal]# ansible-playbook lvm-remove.yaml

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [10.0.0.1]

TASK [umounting file system] ***************************************************
ok: [10.0.0.1]

TASK [remove of logical volume] ************************************************
ok: [10.0.0.1]

TASK [volume group remove] *****************************************************
fatal: [10.0.0.1]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “”, “module_stdout”: “Traceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1463143277.92-153051286528588/lvg", line 2213, in \r\n main()\r\n File "/root/.ansible/tmp/ansible-tmp-1463143277.92-153051286528588/lvg", line 140, in main\r\n for idx, dev in enumerate(dev_list):\r\nUnboundLocalError: local variable ‘dev_list’ referenced before assignment\r\n”, “msg”: “MODULE FAILURE”, “parsed”: false}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @lvm-remove.retry

PLAY RECAP *********************************************************************
10.0.0.1 : ok=3 changed=0 unreachable=0 failed=1

What parameter did i miss?

BR,
Kishore