<commit_before>---
- name: Making sure we have the needed packages
  become: yes
  apt:
    pkg:
    - acl
    - samba
    - smbclient
    - nfs-kernel-server
    - imagemagick

- name: Making sure we have the backup user
  include_role:
    name: user
  vars:
    name: "{{ backup_user.name }}"
    uid: "{{ backup_user.uid }}"
    group: "{{ backup_user.group | default(backup_user.name) }}"
    gid: "{{ backup_user.gid | default(backup_user.uid) }}"

- name: Make sure we have all people user accounts
  include_role:
    name: user
  vars:
    name: "{{ item.key }}"
    uid: "{{ item.value.uid }}"
    gid: "{{ item.value.gid | default(item.value.uid) }}"
  loop: "{{ people | dict2items }}"

# MOUNT EXTRNAL DRIVE

- name: Making the mount point for the backup drive
  become: yes<commit_msg>Needs cifs utils for mounting SMB.<commit_after>---
- name: Making sure we have the needed packages
  become: yes
  apt:
    pkg:
    - acl
    - samba
    - smbclient
    - nfs-kernel-server
    - imagemagick
    - cifs-utils

- name: Making sure we have the backup user
  include_role:
    name: user
  vars:
    name: "{{ backup_user.name }}"
    uid: "{{ backup_user.uid }}"
    group: "{{ backup_user.group | default(backup_user.name) }}"
    gid: "{{ backup_user.gid | default(backup_user.uid) }}"

- name: Make sure we have all people user accounts
  include_role:
    name: user
  vars:
    name: "{{ item.key }}"
    uid: "{{ item.value.uid }}"
    gid: "{{ item.value.gid | default(item.value.uid) }}"
  loop: "{{ people | dict2items }}"

# MOUNT EXTRNAL DRIVE

- name: Making the mount point for the backup drive
  become: yes
{'fraction_non_alphanumeric': 0.13753056234718827, 'fraction_numerical': 0.0012224938875305623, 'mean_word_length': 2.7120181405895694, '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': '1548903', 'n_tokens_mistral': 583, 'n_tokens_neox': 573, 'n_words': 159}