<commit_before>---
- name: Bootstrap the machines
  hosts: myproxy-servers
  remote_user: root
  roles:
  - bootstrap<commit_msg>Bootstrap play is now reporting to Slack.<commit_after>---
- hosts: all
  user: ansible
  sudo: true
  sudo_user: root
  tasks:
    - name: Send slack message
      action:
        module: slack
        domain: africa-arabia-roc.slack.com
        token: <KEY>
        msg: "Starting bootstrap on {{ inventory_hostname }}"
        channel: "#devops-bootstrap"
        username: "Ansible on {{ inventory_hostname }}"
     #icon_url: "http://www.example.com/some-image-file.png"
        link_names: 0
        parse: 'none'

- name: bootstrap the machines
  hosts: all
  user: ansible
  sudo: true
  roles:
  - bootstrap
  post_tasks:
    - name: Send notification message via Slack
      action:
        module: slack
        domain: africa-arabia-roc.slack.com
        token: <KEY>
        msg: "bootstrap on {{ inventory_hostname }} has run"
        channel: "#devops-bootstrap"
        username: "Ansible on {{ inventory_hostname }}"
       #icon_url: "http://www.example.com/some-image-file.png"
        link_names: 0
        parse: 'none'
{'fraction_non_alphanumeric': 0.11120615911035073, 'fraction_numerical': 0.001710863986313088, 'mean_word_length': 2.4110787172011663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6397794', 'n_tokens_mistral': 376, 'n_tokens_neox': 366, 'n_words': 98}