<commit_before>---
# file: roles/pacemaker/tasks/install.yml
- name: Installing Pacemaker packages (Debian family)
  apt:
    name={{ item }}
    state=latest
    update_cache=yes
  with_items:
    - pacemaker
    - pcs
    - pcsd
  when: ansible_os_family == 'Debian'
  tags:
    - pacemaker
    - pacemaker-package

- name: Installing Pacemaker packages (RedHat family)
  yum:
    name={{ item }}
    state=latest
    update_cache=yes
  with_items:
    - pacemaker
    - pcs
  when: ansible_os_family == 'RedHat'
  tags:
    - pacemaker
    - pacemaker-package

- name: Enabling Pacemaker service
  service:
    name=pacemaker
    state=started
    enabled=yes
  tags:
    - pacemaker
    - pacemaker-service

- name: Enabling and starting pcsd service
  service:
    name=pcsd
    state=started
    enabled=yes<commit_msg>[install.yml] Fix description name about the starting service<commit_after>---
# file: roles/pacemaker/tasks/install.yml
- name: Installing Pacemaker packages (Debian family)
  apt:
    name={{ item }}
    state=latest
    update_cache=yes
  with_items:
    - pacemaker
    - pcs
    - pcsd
  when: ansible_os_family == 'Debian'
  tags:
    - pacemaker
    - pacemaker-package

- name: Installing Pacemaker packages (RedHat family)
  yum:
    name={{ item }}
    state=latest
    update_cache=yes
  with_items:
    - pacemaker
    - pcs
  when: ansible_os_family == 'RedHat'
  tags:
    - pacemaker
    - pacemaker-package

- name: Starting Pacemaker service
  service:
    name=pacemaker
    state=started
    enabled=yes
  tags:
    - pacemaker
    - pacemaker-service

- name: Enabling and starting pcsd service
  service:
    name=pcsd
    state=started
    enabled=yes
{'fraction_non_alphanumeric': 0.09246171967020024, 'fraction_numerical': 0.0, 'mean_word_length': 2.685466377440347, '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': '4466657', 'n_tokens_mistral': 610, 'n_tokens_neox': 569, 'n_words': 136}