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