add some meat to the data-analysis playbook

This commit is contained in:
Stephen Smoogen 2015-08-04 23:43:48 +00:00
parent d2419e5efe
commit a8e5a9c268
2 changed files with 28 additions and 1 deletions

View file

@ -43,7 +43,6 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: configure lockbox
hosts: lockbox
user: root

View file

@ -27,3 +27,31 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- include: "{{ handlers }}/semanage.yml"
- name: get the system ready for data handling.
hosts: data-analysis01.phx2.fedoraproject.org
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- role: nfs/client
mnt_dir: '/srv/fedora_stats'
nfs_src_dir: 'fedora_stats'
tasks:
- name: install needed packages
yum: pkg={{ item }} state=present
with_items:
- httpd
- mod_ssl
- awstats
- rsync
- httpd-tools
- openssh-clients
##