ansible-kubernetes-ha-cluster icon indicating copy to clipboard operation
ansible-kubernetes-ha-cluster copied to clipboard

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-

Open codyzhang opened this issue 6 years ago • 1 comments

[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

codyzhang avatar Apr 24 '19 05:04 codyzhang

i have same probelm

rioberkas avatar Oct 16 '23 06:10 rioberkas