<commit_before>- name: Configure cluster common parts
  hosts:
    - masters
    - nodes
    - etcd
    - lbs
    - nfsservers
  become: yes
  roles:
    - base
    - cluster_common

- name: Configure cluster masters
  hosts:
    - masters
  become: yes
  roles:
    - cluster_master

- name: Configure openshift VMs
  hosts:
    - masters
    - nodes
    - lbs
  become: yes
  roles:
    - role: lvm_storage

    - role: docker_host
      docker_lvol_vg_name: "vg_data"
      docker_lvol_size: "99%FREE"

- name: Configure openshift masters
  hosts:
    - masters
  become: yes
  roles:
    - openshift_master

- name: Configure openshift nodes
  hosts:
    - nodes
  become: yes
  roles:
    - openshift_node

- name: Prepare nfs server for OpenShift NFS playbook
  hosts:
    - nfsservers
  become: yes
  roles:
    - lvm_storage
    - nfs_server<commit_msg>Creation of temporary cert/key files on localhost<commit_after>- name: Configure cluster common parts
  hosts:
    - masters
    - nodes
    - etcd
    - lbs
    - nfsservers
  become: yes
  roles:
    - base
    - cluster_common

- name: Configure cluster masters
  hosts:
    - masters
  become: yes
  roles:
    - cluster_master

- name: Configure openshift VMs
  hosts:
    - masters
    - nodes
    - lbs
  become: yes
  roles:
    - role: lvm_storage

    - role: docker_host
      docker_lvol_vg_name: "vg_data"
      docker_lvol_size: "99%FREE"

- name: Configure openshift masters
  hosts:
    - masters
  become: yes
  roles:
    - openshift_master

- name: Configure openshift nodes
  hosts:
    - nodes
  become: yes
  roles:
    - openshift_node

- name: Prepare nfs server for OpenShift NFS playbook
  hosts:
    - nfsservers
  become: yes
  roles:
    - lvm_storage
    - nfs_server

- name: Create temporary files on a RAM disk for TLS certs and keys
  hosts: localhost
  tasks:
    - name: Create a temporary directory on the RAM disk
      file:
        path: "/dev/shm/{{ cluster_name }}"
        state: directory
        mode: 0700
    - name: Place TLS certificate under temp dir
      copy:
        dest: "/dev/shm/{{ cluster_name }}/{{ openshift_public_hostname }}.crt"
        content: "{{ tls_certificate }}"
        mode: 0600
    - name: Place TLS key under temp dir
      copy:
        dest: "/dev/shm/{{ cluster_name }}/{{ openshift_public_hostname }}.key"
        content: "{{ tls_secret_key }}"
        mode: 0600
    - name: Place CA cert under temp dir
      copy:
        dest: "/dev/shm/{{ cluster_name }}/ca.crt"
        content: "{{ tls_ca_certificate }}"
        mode: 0600
{'fraction_non_alphanumeric': 0.08670295489891135, 'fraction_numerical': 0.007776049766718507, 'mean_word_length': 2.1726263871763254, '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': '4492142', 'n_tokens_mistral': 898, 'n_tokens_neox': 882, 'n_words': 250}