<commit_before>---

- name: Install backupninja packages
  apt: name="{{item}}" state=installed
  with_items:
    - dialog
    - backupninja
    - duplicity
    - python-paramiko

- name: Create reports directory
  file: state=directory path="{{item}}" owner=root group={{backupninja_admingroup}} mode=0700
  with_items:
    - "{{backupninja_configdir}}"
    - "{{backupninja_reportdir}}"
  tags:
    - backupninja

- name: Copy additional backupninja plugins
  copy: src="{{item}}" dest="/usr/share/backupninja/{{item}}" owner=root group=root mode=0644<commit_msg>Fix deprecation message for ansible 2.5 and up<commit_after>---

- name: Install backupninja packages
  apt: name="{{item}}" state=present
  with_items:
    - dialog
    - backupninja
    - duplicity
    - python-paramiko

- name: Create reports directory
  file: state=directory path="{{item}}" owner=root group={{backupninja_admingroup}} mode=0700
  with_items:
    - "{{backupninja_configdir}}"
    - "{{backupninja_reportdir}}"
  tags:
    - backupninja

- name: Copy additional backupninja plugins
  copy: src="{{item}}" dest="/usr/share/backupninja/{{item}}" owner=root group=root mode=0644
{'fraction_non_alphanumeric': 0.1421188630490956, 'fraction_numerical': 0.015503875968992248, 'mean_word_length': 4.118942731277533, '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': '2588328', 'n_tokens_mistral': 403, 'n_tokens_neox': 377, 'n_words': 84}