From 058c2a1f90f847ec50be01518c8e33e4f65c1c95 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Fri, 3 Oct 2014 03:56:52 +0000 Subject: [PATCH] and we should not try hacking on ansible at 10pm but hey.. --- .../fed-cloud09.cloud.fedoraproject.org.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml b/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml index a5cc408dd8..5e165f200a 100644 --- a/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml @@ -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