<commit_before>---
- name: Install the required packages
  hosts: all
  vars:
    user_name: "<NAME>"
    email: "<EMAIL>"
    url: "https://bitboxer.de"
    ruby_version: 2.5.1
    rust_version: 1.34.0
    elixir_version: 1.6.4
    erlang_version: 20.3
    node_version: 10.16.0
    terraform_version: 0.11.7
    go_version: "1.10"
    neovim_version: 0.3.6
    phantom_version: 2.1.1
    tmux_version: 2.9a
    java_version: openjdk-11.0.1
    apt_keys:
      - "https://download.docker.com/linux/ubuntu/gpg"
    apt_repositories:
      - "deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable"
      - "ppa:git-core/ppa"
    apt_packages:
      - build-essential
      - curl
      - docker-ce
      - git
      - git-crypt
      - gettext
      - htop
      - jq
      - tig
      - libevent-dev
      - tree
      - wget
      - youtube-dl
      - zsh
      - libtool
      - libtool-bin
      - autoconf
      - automake
      - cmake
      - libncurses5-dev
      - g++
      - pkg-config
      - unzip
      - software-properties-common
      - python-pip
      - python3-pip
      - xorg
      - xsel
      - exuberant-ctags
      - ffmpeg
      - inotify-tools
      - meld
      - grc
      - gnupg2
      - gnupg-agent
      - pwgen
      - httpie
      - gpg
      - dirmngr
      - gettext
    npm_packages:
      - bower
      - gulp
      - yarn
      - jscs
      - jshint
      - alex
      - markdownlint-cli
      - jwtgen
      - tldr
    ruby_gems:
      - awesome_print
      - bundler
      - manpages
      - mdless
      - pry
      - tmuxinator
      - neovim
      - github_changelog_generator
    cargo_packages:
      - cargo-outdated
      - rustfmt
      - ripgrep
    go_packages:
      - github/hub
      - realestate-com-au/shush
      - simeji/jid/cmd/jid
      - hetznercloud/cli/cmd/hcloud
    marks:
      c: /home/vagrant/code
      d: /home/vagrant/Downloads
    spell_files:
      - en.utf-8.spl
      - en.utf-8.sug
      - de.utf-8.spl
      - de.utf-8.sug
  tasks:
    - name: Update permission on persistant storage
      command: chown vagrant:vagrant /home/vagrant/persistant
      become: true
    - name: Add vm to hosts file
      command: bash -c "echo \"127.0.0.1 vm\" >> /etc/hosts"
      become: true
    - name: Symlink code directory
      file: src=/home/vagrant/persistant/code dest=/home/vagrant/code state=link
    - shell: ls -1 /vagrant/tilde
      register: dotfiles
    - name: Link Dotfiles
      file: path=/home/vagrant/.{{ item }} src=/vagrant/tilde/{{ item }} owner=vagrant group=vagrant state=link
      with_items: "{{ dotfiles.stdout_lines }}"
    - name: Add APT Keys<commit_msg>sorted packages<commit_after>---
- name: Install the required packages
  hosts: all
  vars:
    user_name: "<NAME>"
    email: "<EMAIL>"
    url: "https://bitboxer.de"
    ruby_version: 2.5.1
    rust_version: 1.34.0
    elixir_version: 1.6.4
    erlang_version: 20.3
    node_version: 10.16.0
    terraform_version: 0.11.7
    go_version: "1.10"
    neovim_version: 0.3.6
    phantom_version: 2.1.1
    tmux_version: 2.9a
    java_version: openjdk-11.0.1
    apt_keys:
      - "https://download.docker.com/linux/ubuntu/gpg"
    apt_repositories:
      - "deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable"
      - "ppa:git-core/ppa"
    apt_packages:
      - autoconf
      - automake
      - build-essential
      - cmake
      - curl
      - dirmngr
      - docker-ce
      - exuberant-ctags
      - ffmpeg
      - g++
      - gettext
      - git
      - git-crypt
      - gnupg-agent
      - gnupg2
      - gpg
      - grc
      - htop
      - httpie
      - inotify-tools
      - jq
      - libevent-dev
      - libncurses5-dev
      - libtool
      - libtool-bin
      - meld
      - pkg-config
      - pwgen
      - python-pip
      - python3-pip
      - software-properties-common
      - tig
      - tree
      - unzip
      - wget
      - xorg
      - xsel
      - youtube-dl
      - zsh
    npm_packages:
      - alex
      - bower
      - gulp
      - jscs
      - jshint
      - jwtgen
      - markdownlint-cli
      - tldr
      - yarn
    ruby_gems:
      - awesome_print
      - bundler
      - github_changelog_generator
      - manpages
      - mdless
      - neovim
      - pry
      - tmuxinator
    cargo_packages:
      - cargo-outdated
      - ripgrep
      - rustfmt
    go_packages:
      - github/hub
      - hetznercloud/cli/cmd/hcloud
      - realestate-com-au/shush
      - simeji/jid/cmd/jid
    marks:
      c: /home/vagrant/code
      d: /home/vagrant/Downloads
    spell_files:
      - en.utf-8.spl
      - en.utf-8.sug
      - de.utf-8.spl
      - de.utf-8.sug
  tasks:
    - name: Update permission on persistant storage
      command: chown vagrant:vagrant /home/vagrant/persistant
      become: true
    - name: Add vm to hosts file
      command: bash -c "echo \"127.0.0.1 vm\" >> /etc/hosts"
      become: true
    - name: Symlink code directory
      file: src=/home/vagrant/persistant/code dest=/home/vagrant/code state=link
    - shell: ls -1 /vagrant/tilde
      register: dotfiles
    - name: Link Dotfiles
      file: path=/home/vagrant/.{{ item }} src=/vagrant/tilde/{{ item }} owner=vagrant group=vagrant state=link
      with_items: "{{ dotfiles.stdout_lines }}"
    - name: Add APT Keys
{'fraction_non_alphanumeric': 0.11054804804804805, 'fraction_numerical': 0.019894894894894894, 'mean_word_length': 1.5054066760695817, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3264708', 'n_tokens_mistral': 2052, 'n_tokens_neox': 1947, 'n_words': 367}