i'm using ansible 2.1.0 (devel 0c013f592a) last updated 2015/12/21 14:26:10
(GMT -700)
installed from source in ubuntu desktop.
here's my playbook task:
- name: create openstack network
become: no
os_network:
cloud: testing
name: mynetwork
register: mynetwork_results
here's my clouds.yml file (in same directory as playbook):
clouds:
testing:
auth:
auth_url: http://3.0.0.10:35357/v3
project_domain_id: default
user_domain_id: default
username: admin
password: password
project_name: admin
here's the error I get when i run the task:\
fatal: [3.0.0.10]: FAILED! => {"changed": false, "failed": true, "msg":
"Traceback (most recent call last):\r\n File
\"/home/stack/.ansible/tmp/ansible-tmp-1450816900.25-86035633817923/os_network\",
line 2199, in <module>\r\n main()\r\n File
\"/home/stack/.ansible/tmp/ansible-tmp-1450816900.25-86035633817923/os_network\",
line 144, in main\r\n cloud = shade.openstack_cloud(**module.params)\r\n
File \"/usr/local/lib/python2.7/dist-packages/shade/__init__.py\", line
68, in openstack_cloud\r\n cloud_config =
config.get_one_cloud(**kwargs)\r\n File
\"/usr/local/lib/python2.7/dist-packages/os_client_config/config.py\", line
621, in get_one_cloud\r\n config =
self._get_base_cloud_config(cloud)\r\n File
\"/usr/local/lib/python2.7/dist-packages/os_client_config/config.py\", line
313, in _get_base_cloud_config\r\n
name=name))\r\nos_client_config.exceptions.OpenStackConfigException: *Named
cloud testing requested that was not found*.\r\n", "parsed": false}
any idea why it cannot find my cloud.yml file or my named cloud inside of
that file?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/782a9d1b-b257-4ad2-a3a3-312ffb3a1d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.