The conditional check 'vm_recreate or vm_teardown' failed. The error was: error while evaluating conditional (vm_recreate or vm_teardown): 'dict object' has no attribute 'vm_teardown'
The error appears to be in '/home/tosin/openshift-home-lab/playbooks/roles/ansible-role-rhel7-kvm-cloud-init/tasks/teardown-vm.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The conditional check 'vm_recreate or vm_teardown' failed. The error was: error while evaluating conditional (vm_recreate or vm_teardown): 'dict object' has no attribute 'vm_teardown'
The error appears to be in '/home/tosin/openshift-home-lab/playbooks/roles/ansible-role-rhel7-kvm-cloud-init/tasks/teardown-vm.yml': line 9, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
TASK [ansible-role-rhel7-kvm-cloud-init : Destroy vm] *** Thursday 08 August 2019 01:15:00 -0400 (0:00:00.437) 0:00:00.738 * fatal: [localhost]: FAILED! => {}
MSG:
The conditional check 'vm_recreate or vm_teardown' failed. The error was: error while evaluating conditional (vm_recreate or vm_teardown): 'dict object' has no attribute 'vm_teardown'
The error appears to be in '/home/tosin/openshift-home-lab/playbooks/roles/ansible-role-rhel7-kvm-cloud-init/tasks/teardown-vm.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
...ignoring
TASK [ansible-role-rhel7-kvm-cloud-init : Undefine vm] **** Thursday 08 August 2019 01:15:00 -0400 (0:00:00.028) 0:00:00.767 *** fatal: [localhost]: FAILED! => {}
MSG:
The conditional check 'vm_recreate or vm_teardown' failed. The error was: error while evaluating conditional (vm_recreate or vm_teardown): 'dict object' has no attribute 'vm_teardown'
The error appears to be in '/home/tosin/openshift-home-lab/playbooks/roles/ansible-role-rhel7-kvm-cloud-init/tasks/teardown-vm.yml': line 9, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
PLAY RECAP **** localhost : ok=5 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=1