Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: gce_instances_ips #6

Open
svanschalkwyk opened this issue Jul 14, 2017 · 2 comments

Comments

@svanschalkwyk
Copy link

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?

@svanschalkwyk
Copy link
Author


< PLAY [Create Compute Engine instances] >

    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||

skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: gce_instances_ips

@gsahaya
Copy link

gsahaya commented Apr 26, 2018

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

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