<commit_before>
- name: add GPG key
  apt_key:
    url: https://download.docker.com/linux/ubuntu/gpg
    state: present
  tags:
    - docker

- name: add docker repository to apt
  apt_repository:
    repo: deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable
    state: present
  tags:
    - docker

- name: install docker
  apt:
    name: "{{item}}"
    state: present
    update_cache: yes
  loop:
    - docker-ce
    - docker-ce-cli
  tags:
    - docker

- name: Allow docker to access redis
  lineinfile:
    path: /etc/redis/redis.conf
    line: bind 127.0.0.1 ::1 172.17.0.1
    regex: ^bind
  tags:
    - docker
  notify:
   - restart redis

- name: Make sure docker can access MariaDB
  copy:
    src: mysql/docker.cnf
    dest: /etc/mysql/mariadb.conf.d/60-docker.cnf
    owner: root<commit_msg>Add spaces to make lint happy<commit_after>
- name: add GPG key
  apt_key:
    url: https://download.docker.com/linux/ubuntu/gpg
    state: present
  tags:
    - docker

- name: add docker repository to apt
  apt_repository:
    repo: deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable
    state: present
  tags:
    - docker

- name: install docker
  apt:
    name: "{{ item }}"
    state: present
    update_cache: yes
  loop:
    - docker-ce
    - docker-ce-cli
  tags:
    - docker

- name: Allow docker to access redis
  lineinfile:
    path: /etc/redis/redis.conf
    line: bind 127.0.0.1 ::1 172.17.0.1
    regex: ^bind
  tags:
    - docker
  notify:
   - restart redis

- name: Make sure docker can access MariaDB
  copy:
    src: mysql/docker.cnf
    dest: /etc/mysql/mariadb.conf.d/60-docker.cnf
    owner: root
{'fraction_non_alphanumeric': 0.11202830188679246, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 2.4213709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2635626', 'n_tokens_mistral': 653, 'n_tokens_neox': 598, 'n_words': 160}