diff --git a/playbooks/groups/lockbox.yml b/playbooks/groups/lockbox.yml index ced49a6175..9ee2ee34e9 100644 --- a/playbooks/groups/lockbox.yml +++ b/playbooks/groups/lockbox.yml @@ -54,6 +54,11 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml tasks: + - name: install needed packages + yum: pkg={{ item }} state=installed + with_items: + - httpd + - name: create directories for local git repos file: path=/srv/git/{{ item.path }} state=directory owner=root group=root mode=1775 with_items: "{{ gitrepos }}" @@ -66,4 +71,4 @@ file: path=/srv/ansible state=directory owner=root group=root mode=1775 - name: create directory for serving kickstarts - file: path=/var/www/html/ks state=directory owner=httpd group=httpd mode=1755 + file: path=/var/www/html/ks state=directory owner=apache group=apache mode=1755 diff --git a/roles/ansible-server/tasks/main.yml b/roles/ansible-server/tasks/main.yml index 75fd264c65..b9c778bed3 100644 --- a/roles/ansible-server/tasks/main.yml +++ b/roles/ansible-server/tasks/main.yml @@ -7,7 +7,6 @@ with_items: - ansible - git - - httpd tags: - packages