<commit_before>---
- hosts: localhost
  gather_facts: no
  #strategy: free

  vars_files:
    - colorschemes.yml

  vars:
    become: false
    colorscheme: "{{ colorscheme_brin }}"
    username: siddharthist
    ci: "{{ lookup('env', 'CI') | bool }}" # are we running in Travis?
    home: "{% playbook_dir if ci else lookup('env', 'HOME') %}"
    xdg_config_home: "{% playbook_dir if ci else lookup('env', 'XDG_CONFIG_HOME') %}"
    symlinks:
      - src: beets.yml
        dst: "{{ xdg_config_home }}/beets/config.yaml"
      - src: gtkrc-2.0
        dst: "{{ home }}/.gtkrc-2.0"
      - src: gtkrc-3.0.ini
        dst: "{{ xdg_config_home }}/gtk-3.0/settings.ini"
      - src: conkyrc
        dst: "{{ xdg_config_home }}/conky/conkyrc"
      - src: compton.conf
        dst: "{{ xdg_config_home }}/compton.conf"
      - src: gitconfig
        dst: "{{ home }}/.gitconfig"
      - src: gitignore
        dst: "{{ xdg_config_home }}/gitignore"
      - src: i3
        dst: "{{ xdg_config_home }}/i3/config"
      - src: library.blb
        dst: "{{ xdg_config_home }}/beets/library.blb"<commit_msg>use more traditional if/else syntax<commit_after>---
- hosts: localhost
  gather_facts: no
  #strategy: free

  vars_files:
    - colorschemes.yml

  vars:
    become: false
    colorscheme: "{{ colorscheme_brin }}"
    username: siddharthist
    ci: "{{ lookup('env', 'CI') | bool }}" # are we running in Travis?
    home: "{% if ci  %}{{ playbook_dir }}{% else %}{{ lookup('env', 'HOME') }}{% endif %}"
    xdg_config_home: "{% if ci %}{{ playbook_dir }}{% else %}{{ lookup('env', 'XDG_CONFIG_HOME') }}{% endif %}"
    symlinks:
      - src: beets.yml
        dst: "{{ xdg_config_home }}/beets/config.yaml"
      - src: gtkrc-2.0
        dst: "{{ home }}/.gtkrc-2.0"
      - src: gtkrc-3.0.ini
        dst: "{{ xdg_config_home }}/gtk-3.0/settings.ini"
      - src: conkyrc
        dst: "{{ xdg_config_home }}/conky/conkyrc"
      - src: compton.conf
        dst: "{{ xdg_config_home }}/compton.conf"
      - src: gitconfig
        dst: "{{ home }}/.gitconfig"
      - src: gitignore
        dst: "{{ xdg_config_home }}/gitignore"
      - src: i3
        dst: "{{ xdg_config_home }}/i3/config"
      - src: library.blb
        dst: "{{ xdg_config_home }}/beets/library.blb"
{'fraction_non_alphanumeric': 0.17553893532776066, 'fraction_numerical': 0.008798944126704795, 'mean_word_length': 2.368888888888889, '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': '2687214', 'n_tokens_mistral': 900, 'n_tokens_neox': 861, 'n_words': 175}