diff --git a/inventory/group_vars/batcave b/inventory/group_vars/batcave index 500a30ddb8..e15cc94e73 100644 --- a/inventory/group_vars/batcave +++ b/inventory/group_vars/batcave @@ -11,4 +11,3 @@ custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', ' fas_client_groups: sysadmin-ask,sysadmin-build,sysadmin-cvs,sysadmin-main,sysadmin-web,sysadmin-noc,sysadmin-hosted,sysadmin-releng,sysadmin-qa,sysadmin-tools,sysadmin-cloud,sysadmin-bot,sysadmin-centos,sysadmin-koschei,fi-apprentice ansible_base: /srv/web/infra/ansible -gitrepos: [ 'ansible', 'ansible-private', 'badges', 'dns', 'infra-docs', 'kickstarts', 'private', 'puppet' ] diff --git a/playbooks/groups/batcave.yml b/playbooks/groups/batcave.yml index 300dd53b9b..11c68981dd 100644 --- a/playbooks/groups/batcave.yml +++ b/playbooks/groups/batcave.yml @@ -28,33 +28,3 @@ handlers: - include: "{{ handlers }}/restart_services.yml" - -- name: configure batcave - hosts: batcave - 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 - - tasks: - - name: install needed packages - yum: pkg={{ item }} state=present - 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 - - - name: initialize git repos - command: chdir=/srv/git/{{ item.path }} creates={{ item.path }}/HEAD git init --bare - with_items: gitrepos - - - name: create ansible base working directory - 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=apache group=apache mode=1755