Open svanschalkwyk opened 7 years ago
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: gce_instances_ips
Getting the below error. Can you please help?
god441347@vgstest1:~/compute-video-demo-ansible$ ansible-playbook site.yml [DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [Create Compute Engine instances] * TASK [Bring up the instances in the first zone] **** fatal: [127.0.0.1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\ n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nPermissions 0755 for '/home/god441347 /.ssh/google_compute_engine' are too open.\r\nIt is required that your private key files are NOT accessible by others.\r\nThis private key will be ignored.\r\nLoad key \"/home/god441347/.ssh/google_compute_engine\": bad permissions\r\nPermission denied (publickey).\r\n", "unreachable": true} to retry, use: --limit @/home/god441347/compute-video-demo-ansible/site.retry PLAY RECAP ***** 127.0.0.1 : ok=0 changed=0 unreachable=1 failed=0
skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: gce_instances_ips
Any idea why this is ? Seems as if this should be correct, as the IP addresses have not been supplied by GCP yet?