ansible-galaxy and requirements.yml

Hello.

I’m learning Ansible and found that example on this page:
http://docs.ansible.com/galaxy.html#the-ansible-galaxy-command-line-tool
does not work.

When I put inside of requirements.yml any yaml, ansible-galaxy trying to download pieces of yaml like it is a text file:

$ head requirements.yml

from galaxy

  • src: yatesr.timezone

$ ansible-galaxy install -r requirements.yml
downloading role ‘timezone’, owned by -%20src%3A%20yatesr
Sorry, - src: yatesr.timezone was not found on galaxy.ansible.com.

I’m running ansible 1.7.2+dfsg-1 from ubuntu 15.04.

What I’m doing wrong?