<commit_before>---
- hosts: all
  gather_facts: no
  tasks:
    - name: Read vars from secrets file
      include_vars: "{{ secrets_file }}"
      tags: always
      always_run: yes

- hosts: all
  gather_facts: yes
  become: true
  roles:
    - common
    - { role: tls, tags: [tls] }
  handlers:
    - include: roles/httpd/handlers/main.yml

- hosts: storage
  gather_facts: yes
  become: true
  roles:
    - { role: mysql, tags: [mysql] }
    - { role: ldap,  tags: [ldap] }

- hosts: php-apps:java-apps
  gather_facts: yes
  become: true
  roles:
    - httpd

- hosts: loadbalancer
  gather_facts: no
  become: true
  roles:
    - { role: haproxy, tags: [lb] }

- hosts: php-apps
  gather_facts: no
  become: true
  vars:
    env_lang: php
  roles:
    - php56fpm
    - static
    - welcome
    - openconext-common
    - engineblock
    - janus
    - profile

- hosts: java-apps
  gather_facts: yes
  become: true
  roles:
    - tomcat
    - metadata-exporter
    - pdp
    - grouper
    - teams
    - mujina-idp
    - mujina-sp
    - authz-server
    #- name: voot<commit_msg>Include httpd handler to docker playbook<commit_after>---
- hosts: all
  gather_facts: no
  tasks:
    - name: Read vars from secrets file
      include_vars: "{{ secrets_file }}"
      tags: always
      always_run: yes

- hosts: all
  gather_facts: yes
  become: true
  roles:
    - common
    - { role: tls, tags: [tls] }
  handlers:
    - include: roles/httpd/handlers/main.yml

- hosts: storage
  gather_facts: yes
  become: true
  roles:
    - { role: mysql, tags: [mysql] }
    - { role: ldap,  tags: [ldap] }

- hosts: php-apps:java-apps
  gather_facts: yes
  become: true
  roles:
    - httpd

- hosts: loadbalancer
  gather_facts: no
  become: true
  roles:
    - { role: haproxy, tags: [lb] }

- hosts: php-apps
  gather_facts: no
  become: true
  vars:
    env_lang: php
  roles:
    - php56fpm
    - static
    - welcome
    - openconext-common
    - engineblock
    - janus
    - profile
  handlers: 
    - include: roles/httpd/handlers/main.yml

- hosts: java-apps
  gather_facts: yes
  become: true
  roles:
    - tomcat
    - metadata-exporter
    - pdp
    - grouper
    - teams
    - mujina-idp
    - mujina-sp
    - authz-server
    #- name: voot
{'fraction_non_alphanumeric': 0.11170449488206498, 'fraction_numerical': 0.0017801513128615932, 'mean_word_length': 2.0543478260869565, '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': '7350800', 'n_tokens_mistral': 862, 'n_tokens_neox': 870, 'n_words': 209}