and we should not try hacking on ansible at 10pm but hey..
This commit is contained in:
parent
a4b4f28531
commit
058c2a1f90
1 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue