| # Play: Create credentials, set up some basic OpenStack |
| - shell: uvt-kvm ip keystone |
| - name: Create credentials |
| template: src=templates/admin-openrc-cord.sh.j2 |
| dest={{ ansible_env['PWD'] }}/admin-openrc-cord.sh |
| - name: Copy credentials to nova-cloud-controller |
| shell: "scp admin-openrc.sh ubuntu@nova-cloud-controller:" |
| # - name: Copy network setup script |
| # copy: src=scripts/network-setup.sh |
| # dest=/usr/local/src/network-setup.sh |
| # - name: Run network setup script |
| # shell: ansible nova-cloud-controller -m script -u ubuntu -a "/usr/local/src/network-setup.sh" |