<commit_before>---
- name: Upgrade whole system
  apt: upgrade=full

- name: Install admin essentials
  apt: pkg={{ item }} state=latest
  with_items:
   - mc
   - htop
 
- name: Create otsmanager system user
  user: name=otsmanager password=<PASSWORD>. update_password=on_create state=present

- name: Create upstart config directory for otsmanager
  file: path=/home/otsmanager/.config/upstart owner=otsmanager group=otsmanager mode=0755 state=directory

- name: Install upstart session job for TFS for otsmanager
  template: src=templates/tfs.conf dest=/home/otsmanager/.config/upstart owner=otsmanager group=otsmanager mode=0644

- name: Disable upstart session job for TFS for otsmanager
  copy: content=manual dest=/home/otsmanager/.config/upstart/tfs.override owner=otsmanager group=otsmanager mode=0644

- name: Install upstart session runner 1
  template: src=templates/session-init-setup.conf dest=/etc/init/session-init-setup.conf owner=root group=root mode=0644

- name: Install upstart session runner 2
  template: src=templates/session-init.conf dest=/etc/init/session-init.conf owner=root group=root mode=0644

- name: Start upstart session
  service: name=session-init-setup state=started<commit_msg>Set user shell<commit_after>---
- name: Upgrade whole system
  apt: upgrade=full

- name: Install admin essentials
  apt: pkg={{ item }} state=latest
  with_items:
   - mc
   - htop
 
- name: Create otsmanager system user
  user: name=otsmanager password=<PASSWORD>oVTH.1mUcOyFGe7HbYxhl2jJS7a05D1BIsjxUgfxRcjTwGd9riy6w1bqfRCjIq53WN3Kh. update_password=on_create shell=/bin/bash state=present

- name: Create upstart config directory for otsmanager
  file: path=/home/otsmanager/.config/upstart owner=otsmanager group=otsmanager mode=0755 state=directory

- name: Install upstart session job for TFS for otsmanager
  template: src=templates/tfs.conf dest=/home/otsmanager/.config/upstart owner=otsmanager group=otsmanager mode=0644

- name: Disable upstart session job for TFS for otsmanager
  copy: content=manual dest=/home/otsmanager/.config/upstart/tfs.override owner=otsmanager group=otsmanager mode=0644

- name: Install upstart session runner 1
  template: src=templates/session-init-setup.conf dest=/etc/init/session-init-setup.conf owner=root group=root mode=0644

- name: Install upstart session runner 2
  template: src=templates/session-init.conf dest=/etc/init/session-init.conf owner=root group=root mode=0644

- name: Start upstart session
  service: name=session-init-setup state=started
{'fraction_non_alphanumeric': 0.0937251787132645, 'fraction_numerical': 0.022637013502779985, 'mean_word_length': 5.128953771289538, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1602324', 'n_tokens_mistral': 833, 'n_tokens_neox': 786, 'n_words': 206}