From 49a157ca023545529eb0fe3d8118e2f76983adc7 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Fri, 2 Nov 2012 04:32:10 +0000 Subject: [PATCH] add mounts for the copr-repo and copr-work volumes fix service startup --- playbooks/hosts/copr-be.cloud.fedoraproject.org.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml b/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml index f3e27ddaab..f1e6b74062 100644 --- a/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/copr-be.cloud.fedoraproject.org.yml @@ -28,6 +28,12 @@ tasks: - include: $tasks/cloud_setup_basic.yml + - name: mount up disk of copr repo + action: mount name=/srv/copr-repo src='LABEL=copr-repo' fstype=ext4 state=mounted + + - name: mount up disk of copr work + action: mount name=/srv/copr-work src='LABEL=copr-work' fstype=ext4 state=mounted + # open up ports (22, 80, 443) - name: poke holes in the firewall action: command lokkit $item @@ -36,11 +42,12 @@ - --service=https - --service=http + # setup webserver - name: add lighttpd action: yum state=present name=lighttpd - name: start webserver - action: server state=running enable=1 name=lighttpd + action: service state=running enable=true name=lighttpd handlers: