<commit_before>---

- hosts: localhost
  remote_user: root

  vars:

    workdir: /var/lib/ansible/local
    logfile: /var/log/ansible-pull.log
    cron_user: root
    schedule: '*/15 * * * *'
    repo_url: https://github.com/CSC-IT-Center-for-Science/fgci-ansible.git

  tasks:

    - name: Install ansible
      yum: pkg=ansible state=installed

    - name: Create local directory to work from
      file: path={{workdir}} state=directory owner=root group=root mode=0751<commit_msg>run the yum role<commit_after>---

- hosts: localhost
  remote_user: root

  vars:

    workdir: /var/lib/ansible/local
    logfile: /var/log/ansible-pull.log
    cron_user: root
    schedule: '*/15 * * * *'
    repo_url: https://github.com/CSC-IT-Center-for-Science/fgci-ansible.git

  tasks:

    - name: Install ansible
      yum: pkg=ansible state=installed

    - name: Create local directory to work from
      file: path={{workdir}} state=directory owner=root group=root mode=0751

     # grab files we don't want in the main github:
     #  - the hosts file
     #    - IP addr
     #  - the munge key
     # get some variables:
     #  - facts from the install node 
     #    - hostname, ip address
     #  - adminMailAddr
     #  - root_keys


  roles: 
  - { role: ansible-role-yum, tags: [ 'yum', 'repos', 'login' ] }
{'fraction_non_alphanumeric': 0.12404870624048706, 'fraction_numerical': 0.0091324200913242, 'mean_word_length': 2.469656992084433, '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': '279256', 'n_tokens_mistral': 479, 'n_tokens_neox': 447, 'n_words': 111}