and we should not try hacking on ansible at 10pm but hey..

This commit is contained in:
Stephen Smoogen 2014-10-03 03:56:52 +00:00
parent a4b4f28531
commit 058c2a1f90

View file

@ -65,6 +65,16 @@
# http://docs.openstack.org/trunk/install-guide/install/yum/content/basics-ntp.html
- service: name=ntpd state=started enabled=yes
# Try moving the yum lines before the mysql
- name: install yum repo items.
- yum: state=present name=http://rdo.fedorapeople.org/rdo-release.rpm
- yum: state=present name=http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
- yum: state=present name=openstack-utils
- yum: state=present name=openstack-selinux
- yum: state=present name=openstack-packstack
- yum: state=present name=python-glanceclient
- yum: name=* state=latest
# http://docs.openstack.org/trunk/install-guide/install/yum/content/basics-database-controller.html
- name: install mysql packages
action: yum state=present pkg={{ item }}
@ -99,14 +109,6 @@
action: mysql_db db=test state=absent
# http://openstack.redhat.com/Quickstart
- yum: state=present name=http://rdo.fedorapeople.org/rdo-release.rpm
- yum: state=present name=http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
- yum: state=present name=openstack-utils
- yum: state=present name=openstack-selinux
- yum: state=present name=openstack-packstack
- yum: state=present name=python-glanceclient
- yum: name=* state=latest
- template: src={{ files }}/fedora-cloud/packstack-controller-answers.txt dest=/root/ owner=root mode=0600
- authorized_key: user=root key="{{ lookup('file', files + '/fedora-cloud/fed09-ssh-key.pub') }}"
- command: packstack --answer-file=/root/packstack-controller-answers.txt