<commit_before>---
# Taken from :http://sourceforge.net/p/ctsciencegtwys/wiki/ConfigLportalInMySQL/
- name: Tell dev what's going on
  debug: 'msg="Note to dev: if thing break, see http://sourceforge.net/p/ctsciencegtwys/wiki/ConfigLportalInMySQL/"'
  tags:
  - notetodev
  - debug

- name: Copy the my.cnf file
  template: src=my.cnf.{{ ansible_os_family }}.j2 dest={{ mysql_conf_dir }}/my.cnf
  notify:
   - restart mysql

- name: Start the mysql services Redhat
  service: name={{ mysql_service }} state=started enabled=yes

- name: let's check the actual root password we're using
  debug: msg="password is {{ mysql_root_db_pass }}"

- name: update mysql root password for main root accounts
  mysql_user: name=root host=localhost password={{ mysql_root_db_pass }}
<commit_msg>just added a comment<commit_after>---
# Taken from :http://sourceforge.net/p/ctsciencegtwys/wiki/ConfigLportalInMySQL/
- name: Tell dev what's going on
  debug: 'msg="Note to dev: if thing break, see http://sourceforge.net/p/ctsciencegtwys/wiki/ConfigLportalInMySQL/"'
  tags:
  - notetodev
  - debug

- name: Copy the my.cnf file
  template: src=my.cnf.{{ ansible_os_family }}.j2 dest={{ mysql_conf_dir }}/my.cnf
  notify:
   - restart mysql

- name: Start the mysql services Redhat
  service: name={{ mysql_service }} state=started enabled=yes

- name: let's check the actual root password we're using
  debug: msg="password is {{ mysql_root_db_pass }}"

- name: update mysql root password for main root accounts
  mysql_user: name=root host=localhost password={{ mysql_root_db_pass }}
# this should probably be removed
{'fraction_non_alphanumeric': 0.11672908863920099, 'fraction_numerical': 0.0012484394506866417, 'mean_word_length': 4.325581395348837, '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': '6605709', 'n_tokens_mistral': 536, 'n_tokens_neox': 531, 'n_words': 158}