Skip to content

[glue script][ansible] - ansible cleanup fails due to undefined 'files_to_delete' variable #77

@lpalovsky

Description

@lpalovsky

http://openqaworker15.qa.suse.cz/tests/50653#step/Cleanup%20resources/8

ERROR:QESAPDEP:STDOUT:          TASK [Append delete list] ******************************************************
ERROR:QESAPDEP:STDOUT:          task path: /root/qe-sap-deployment/ansible/playbooks/deregister.yaml:34
ERROR:QESAPDEP:STDOUT:          fatal: [vmhana01]: FAILED! => {
ERROR:QESAPDEP:STDOUT:              "msg": "The task includes an option with an undefined variable. The error was: 'Files_to_delete' is undefined\n\nThe error appears to be in '/root/qe-sap-deployment/ansible/playbooks/deregister.yaml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Append delete list\n      ^ here\n"
ERROR:QESAPDEP:STDOUT:          }
ERROR:QESAPDEP:STDOUT:          fatal: [vmhana02]: FAILED! => {
ERROR:QESAPDEP:STDOUT:              "msg": "The task includes an option with an undefined variable. The error was: 'Files_to_delete' is undefined\n\nThe error appears to be in '/root/qe-sap-deployment/ansible/playbooks/deregister.yaml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Append delete list\n      ^ here\n"
ERROR:QESAPDEP:STDOUT:          }
ERROR:QESAPDEP:STDOUT:          skipping: [vmiscsi01] => {
ERROR:QESAPDEP:STDOUT:              "changed": false,
ERROR:QESAPDEP:STDOUT:              "skip_reason": "Conditional result was False"
ERROR:QESAPDEP:STDOUT:          }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions