git: update gitignore

* ignore yml files in general
* refactor based on commit f8e043b6ea5ac4e886532d4f2f675c507b44b955 that
changed directory layouts

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit ec5c6f5da566611c4e0b88f925cbd26dc90368d6)
pull/1152/head
Sébastien Han 2016-12-01 16:34:03 +01:00
parent 6707c82fa0
commit 4444d7d78e
2 changed files with 2 additions and 71 deletions

17
.gitignore vendored
View File

@ -10,23 +10,10 @@ group_vars/mdss
group_vars/rgws
group_vars/restapis
group_vars/agent
group_vars/*.yml
*.DS_Store
site.yml
site-docker.yml
*.yml
*.pyc
*.sw?
purge-cluster.yml
shrink-mon.yml
cluster-maintenance.yml
purge-docker-cluster.yml
shrink-osd.yml
cluster-os-migration.yml
purge-multisite.yml
switch-from-non-containerized-to-containerized-ceph-daemons.yml
localrepo-site.yml.sample
rgw-standalone.yml
take-over-existing-cluster.yml
osd-configure.yml
rolling_update.yml
.tox
ceph-ansible.spec

View File

@ -1,56 +0,0 @@
---
# Sample Playbook for local mirrors.
# Additional/optional step to generate repos.d file for local mirrors.
# Defines deployment design and assigns role to server groups
- hosts: all
max_fail_percentage: 0
become: True
vars:
repolist:
- { src: "/<path to repo file>/localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" }
tasks:
- name: Copy User provided repo files to /etc/yum.repos.d/
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
with_items:
- "{{ repolist }}"
- hosts: mons
become: True
roles:
- ceph-mon
- hosts: agents
become: True
roles:
- ceph-agent
- hosts: osds
become: True
roles:
- ceph-osd
- hosts: mdss
become: True
roles:
- ceph-mds
- hosts: rgws
become: True
roles:
- ceph-rgw
- hosts: nfss
become: True
roles:
- ceph-nfs
- hosts: restapis
become: True
roles:
- ceph-restapi