fixing httpd group for kickstart serving dir and moving httpd package installation to a more appropriate place

This commit is contained in:
Tim Flink 2014-03-17 21:58:04 +00:00
parent b4a4b3f70a
commit c3707ce75c
2 changed files with 6 additions and 2 deletions

View file

@ -54,6 +54,11 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks: tasks:
- name: install needed packages
yum: pkg={{ item }} state=installed
with_items:
- httpd
- name: create directories for local git repos - name: create directories for local git repos
file: path=/srv/git/{{ item.path }} state=directory owner=root group=root mode=1775 file: path=/srv/git/{{ item.path }} state=directory owner=root group=root mode=1775
with_items: "{{ gitrepos }}" with_items: "{{ gitrepos }}"
@ -66,4 +71,4 @@
file: path=/srv/ansible state=directory owner=root group=root mode=1775 file: path=/srv/ansible state=directory owner=root group=root mode=1775
- name: create directory for serving kickstarts - 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

View file

@ -7,7 +7,6 @@
with_items: with_items:
- ansible - ansible
- git - git
- httpd
tags: tags:
- packages - packages