From 4444d7d78e644b94991d05b3ae2138e4bb081900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 1 Dec 2016 16:34:03 +0100 Subject: [PATCH] git: update gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ignore yml files in general * refactor based on commit f8e043b6ea5ac4e886532d4f2f675c507b44b955 that changed directory layouts Signed-off-by: Sébastien Han (cherry picked from commit ec5c6f5da566611c4e0b88f925cbd26dc90368d6) --- .gitignore | 17 +----- .../localrepo-site.yml.sample | 56 ------------------- 2 files changed, 2 insertions(+), 71 deletions(-) delete mode 100644 infrastructure-playbooks/localrepo-site.yml.sample diff --git a/.gitignore b/.gitignore index 90d52cfa7..b17d8d892 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/infrastructure-playbooks/localrepo-site.yml.sample b/infrastructure-playbooks/localrepo-site.yml.sample deleted file mode 100644 index d7fdf8320..000000000 --- a/infrastructure-playbooks/localrepo-site.yml.sample +++ /dev/null @@ -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: "//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 -