<commit_before>---

- hosts: all
  sudo: yes
  vars:
    ssh_ip_mask: "10.0.0.*"
  tasks:
    # upgrade pbr first, old version throws strange errors
    - shell: pip install pbr -U
    # Setup development env for solar
    - shell: pip install -e . chdir=/vagrant
    - shell: pip install git+git://github.com/Mirantis/solar-agent.git
    - include: tasks/ssh_conf.yaml

- hosts: all
  tasks:
    #  setup solar-resources
    # change to openstack/solar-resources later
    - git: repo=https://github.com/Mirantis/solar-resources.git dest=/vagrant/solar-resources update=no owner=vagrant

    # set default config location
    - lineinfile:
        dest: /home/vagrant/.bashrc
        line: export SOLAR_CONFIG="/vagrant/.config"
        state: present

    # create custom config file /vagrant/.solar_config_override for vagrant env
    - file: path=/.solar_config_override state=touch mode=0644
    - lineinfile:
        dest: /.solar_config_override
        line: "solar_db: riak://10.0.0.2:8087"
        state: present
        create: yes
    - lineinfile:
        dest: /.solar_config_override
        line: "redis: redis://10.0.0.2:6379/1"
        state: present
        create: yes<commit_msg>Removed wrong git option from solar-resources clone<commit_after>---

- hosts: all
  sudo: yes
  vars:
    ssh_ip_mask: "10.0.0.*"
  tasks:
    # upgrade pbr first, old version throws strange errors
    - shell: pip install pbr -U
    # Setup development env for solar
    - shell: pip install -e . chdir=/vagrant
    - shell: pip install git+git://github.com/Mirantis/solar-agent.git
    - include: tasks/ssh_conf.yaml

- hosts: all
  tasks:
    #  setup solar-resources
    # change to openstack/solar-resources later
    - git: repo=https://github.com/Mirantis/solar-resources.git dest=/vagrant/solar-resources update=no

    # set default config location
    - lineinfile:
        dest: /home/vagrant/.bashrc
        line: export SOLAR_CONFIG="/vagrant/.config"
        state: present

    # create custom config file /vagrant/.solar_config_override for vagrant env
    - file: path=/.solar_config_override state=touch mode=0644
    - lineinfile:
        dest: /.solar_config_override
        line: "solar_db: riak://10.0.0.2:8087"
        state: present
        create: yes
    - lineinfile:
        dest: /.solar_config_override
        line: "redis: redis://10.0.0.2:6379/1"
        state: present
        create: yes
{'fraction_non_alphanumeric': 0.11056105610561057, 'fraction_numerical': 0.022277227722772276, 'mean_word_length': 2.44950213371266, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '2621167', 'n_tokens_mistral': 837, 'n_tokens_neox': 796, 'n_words': 196}