<commit_before>---
- hosts: all
  gather_facts: false
  become: yes
  tags:
    - vagrant_setup
  tasks:

    - name: change centos/7 vagrant box name to rhel7
      replace:
        regexp: "centos/7"
        replace: "rhel7"
        dest: "{{ change_dir }}/vagrant_variables.yml"
      when: change_dir is defined

- hosts: all
  gather_facts: true
  become: yes
  tasks:

    - name: check if it is Atomic host
      stat: path=/run/ostree-booted
      register: stat_ostree
      always_run: true

    - name: set fact for using Atomic host
      set_fact:
        is_atomic: '{{ stat_ostree.stat.exists }}'

- hosts: mons
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph mon repo
      yum_repository:
        name: ceph-mon
        description: repo for rhcs ceph-mon
        baseurl: "{{ repo_url }}/MON/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic

- hosts: osds
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph osd repo
      yum_repository:
        name: ceph-osd
        description: repo for rhcs ceph-osd
        baseurl: "{{ repo_url }}/OSD/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic

- hosts: mdss:rgws:clients 
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph tools repo
      yum_repository:
        name: ceph-osd
        description: repo for rhcs ceph tools
        baseurl: "{{ repo_url }}/TOOLS/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic<commit_msg>tests: fix ceph tools baseurl<commit_after>---
- hosts: all
  gather_facts: false
  become: yes
  tags:
    - vagrant_setup
  tasks:

    - name: change centos/7 vagrant box name to rhel7
      replace:
        regexp: "centos/7"
        replace: "rhel7"
        dest: "{{ change_dir }}/vagrant_variables.yml"
      when: change_dir is defined

- hosts: all
  gather_facts: true
  become: yes
  tasks:

    - name: check if it is Atomic host
      stat: path=/run/ostree-booted
      register: stat_ostree
      always_run: true

    - name: set fact for using Atomic host
      set_fact:
        is_atomic: '{{ stat_ostree.stat.exists }}'

- hosts: mons
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph mon repo
      yum_repository:
        name: ceph-mon
        description: repo for rhcs ceph-mon
        baseurl: "{{ repo_url }}/MON/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic

- hosts: osds
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph osd repo
      yum_repository:
        name: ceph-osd
        description: repo for rhcs ceph-osd
        baseurl: "{{ repo_url }}/OSD/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic

- hosts: mdss:rgws:clients 
  gather_facts: false
  become: yes
  tasks:

    - name: install ceph tools repo
      yum_repository:
        name: ceph-osd
        description: repo for rhcs ceph tools
        baseurl: "{{ repo_url }}/Tools/x86_64/os/"
        gpgcheck: no
        enabled: yes
      when:
        - not is_atomic
{'fraction_non_alphanumeric': 0.08996212121212122, 'fraction_numerical': 0.010101010101010102, 'mean_word_length': 1.9534016775396086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6937104', 'n_tokens_mistral': 1112, 'n_tokens_neox': 1086, 'n_words': 305}