<commit_before># Install the "REMI" repo which contain newer php packages that override the default
# that come with the distro (CentOS7: 5.4; CentOS6: 5.3)
- name: check for presence of the remi repository file
  stat:
    path: "/etc/yum.repos.d/remi.repo"
  register: remi_config

- name: Install REMI repo
  yum:
    name: "https://rpms.remirepo.net/enterprise/remi-release-7.rpm"
    state: present
  when:
    - remi_config.stat.exists == False

- name: Enable REMI repo
  copy:
      src: remi.repo
      dest: /etc/yum.repos.d/remi.repo
  when:
    - remi_config.stat.exists == False

- name: Install php-(cli,fpm), composer
  yum:
    name:
      - php-fpm
      - php-cli
      - php-pecl-apcu
      - php-curl
      - php-mbstring<commit_msg>PHP: Make sure that the remi.repo file matches the one on the target machine<commit_after># Install the "REMI" repo which contain newer php packages that override the default
# that come with the distro (CentOS7: 5.4; CentOS6: 5.3)
- name: check for presence of the remi repository file
  stat:
    path: "/etc/yum.repos.d/remi.repo"
  register: remi_config

- name: Install REMI repo
  yum:
    name: "https://rpms.remirepo.net/enterprise/remi-release-7.rpm"
    state: present
  when:
    - remi_config.stat.exists == False

- name: Enable REMI repo
  copy:
      src: remi.repo
      dest: /etc/yum.repos.d/remi.repo

- name: Install php-(cli,fpm), composer
  yum:
    name:
      - php-fpm
      - php-cli
      - php-pecl-apcu
      - php-curl
      - php-mbstring
{'fraction_non_alphanumeric': 0.11300919842312747, 'fraction_numerical': 0.009198423127463863, 'mean_word_length': 2.55011655011655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '888984', 'n_tokens_mistral': 573, 'n_tokens_neox': 546, 'n_words': 153}