Skip to content

ERROR! the playbook: /setup_local_environment.yml could not be found #97

@prasenforu

Description

@prasenforu

OS - ubuntu 16.0
Openshit Setup: oc cluster up (using v1.5.0)

When I execute run_setup_local.sh getting following error.

ERROR! the playbook: /setup_local_environment.yml could not be found

After export ANS_CODE=/catasb/local/linux/ansible/ error gone but got following error.

root@ip-172-31-26-21:~/catasb/local/linux# ./run_setup_local.sh
 [WARNING]: provided hosts list is empty, only localhost is available

Enter your dockerhub username: prasenforu
Enter your dockerhub password:
Enter the dockerhub organization you'd like to pull images from: ansibleplaybookbundle

PLAY [localhost] *******************************************************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
skipping: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
skipping: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
ok: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
skipping: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
ok: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
ok: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
ok: [localhost]

TASK [openshift_setup : set_fact] **************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'openshift_build_type' is undefined\n\nThe error appears to have been in '/root/catasb/ansible/roles/openshift_setup/tasks/main.yml': line 31, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - set_fact:\n    ^ here\n"}
        to retry, use: --limit @/root/catasb/ansible/setup_local_environment.retry

PLAY RECAP *************************************************************************************************************************************************************
localhost                  : ok=5    changed=0    unreachable=0    failed=1


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