add setup and packages needed for oz/imagefactory to work

This commit is contained in:
Dennis Gilmore 2014-04-05 15:55:30 +00:00
parent ba3d99eb3a
commit ef70c3164c

View file

@ -57,6 +57,19 @@
- ntpdate
- rsyslog
- audit
- oz
- imagefactory
- imagefactory-plugins-TinMan
- imagefactory-plugins-vSphere
- imagefactory-plugins-ovfcommon
- imagefactory-plugins
- imagefactory-plugins-OVA
- imagefactory-plugins-EC2
- imagefactory-plugins-RHEVM
- python-psphere
- VMDKstream
- pykickstart
- name: /etc/kojid/kojid.conf
copy: src=kojid.conf dest=/etc/kojid/kojid.conf
@ -78,6 +91,17 @@
copy: src=arm-koji.conf dest=/etc/koji.conf
when: inventory_hostname.startswith(('arm01','arm03'))
# setup for oz/imagefactory
- name: make .psphere dir
file: state=directory path=/root/.psphere mode=775 owner=root group=root
- name: make .psphere/templates dir
file: state=directory path=/root/.psphere/templates mode=775 owner=root group=root
- name: copy over /root/.psphere/config.yaml
copy: src={{ private }}/files/koji/config.yaml dest=/root/.psphere/config.yaml
# done oz/imagefactory
- name: copy over koji ca cert
copy: src="{{ private }}/files/koji/buildercerts/fedora-ca.cert" dest=/etc/kojid/cacert.pem