Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis- #7

Open
codyzhang opened this issue Apr 24, 2019 · 1 comment

Comments

@codyzhang
Copy link

[root@ha-master-test1 ansible-kubernetes-ha-cluster]# ansible-playbook -i inventory/mycluster playbooks/k8s-all.yaml

PLAY [k8s-nodes] ***************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************************************************************************************
ok: [HA_node_test11]
ok: [HA_node_test21]
ok: [ha-master-test1]
ok: [ha-master-test2]
ok: [ha-node-test2]

TASK [repos : include_vars] ****************************************************************************************************************************************************************************************************************
fatal: [ha-master-test1]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/../../../../whis-platform/inventory/group_vars/local/vault on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
fatal: [ha-node-test2]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/../../../../whis-platform/inventory/group_vars/local/vault on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
fatal: [HA_node_test21]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/../../../../whis-platform/inventory/group_vars/local/vault on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
fatal: [HA_node_test11]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/../../../../whis-platform/inventory/group_vars/local/vault on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
fatal: [ha-master-test2]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access '../../../../whis-platform/inventory/group_vars/local/vault'\nSearched in:\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/roles/repos/tasks/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/vars/../../../../whis-platform/inventory/group_vars/local/vault\n\t/root/workspace/ansible-kubernetes-ha-cluster/playbooks/../../../../whis-platform/inventory/group_vars/local/vault on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

PLAY RECAP *********************************************************************************************************************************************************************************************************************************
HA_node_test11 : ok=1 changed=0 unreachable=0 failed=1
HA_node_test21 : ok=1 changed=0 unreachable=0 failed=1
ha-master-test1 : ok=1 changed=0 unreachable=0 failed=1
ha-master-test2 : ok=1 changed=0 unreachable=0 failed=1
ha-node-test2 : ok=1 changed=0 unreachable=0 failed=1

@rioberkas
Copy link

i have same probelm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants