<commit_before>---
- hosts: default
  vars:
    ubuntu_codename: trusty
    domain_name: 10sr.f5.si
    secret:
      # Overwritten by secret.yml
      ddns_mydns_password: ""
      ddns_f5_si_password: ""
      icecast2_source_password: ""
      icecast2_relay_password: ""
      icecast2_admin_password: ""
  roles:
    #- apt-upgrade
    - ddns

    - role: nginx
      nginx_main_server_names:
        - "{{ domain_name }}"
        - 10sr.mydns.jp
      nginx_main_root: /var/nginx/main

    - role: icecast2
      icecast2_server_name: ic.{{ domain_name }}
      icecast2_server_port: 3389
      icecast2_letsencrypt_access_dir: /.well-known/acme-challenge
      icecast2_letsencrypt_webroot: /var/nginx/main
      icecast2_liquidsoap_sources:
        - name: ring_all
          playlist: /var/icecast2/ring/all.m3u

    - role: letsencrypt
      letsencrypt_domain_names:
        - "{{ domain_name }}"
        - ic.{{ domain_name }}
        #- d.{{ domain_name }}
      letsencrypt_webroot: /var/nginx/main
      letsencrypt_key_dir: /etc/letsencrypt/live/{{ domain_name }}
      letsencrypt_ssl_key_dir: /etc/letsencrypt/live/{{ domain_name }}
      letsencrypt_ssl_dhparam_path: /etc/ssl/private/dhparam.pem

    - role: nginx_ssl
      nginx_ssl_main_server_name: "{{ domain_name }}"
      nginx_ssl_main_root: /var/nginx/main

    - role: icecast2_ssl
      icecast2_ssl_server_name: ic."{{ domain_name }}"
      icecast2_ssl_upstream_name: icecast2

    - supervisord

    - role: dokku
      dokku_domain_name: d.{{ domain_name }}

    - role: lxc
      lxc_user: "{{ ansible_user_id }}"<commit_msg>Use template for all icecast2 sources<commit_after>---
- hosts: default
  vars:
    ubuntu_codename: trusty
    domain_name: 10sr.f5.si
    secret:
      # Overwritten by secret.yml
      ddns_mydns_password: ""
      ddns_f5_si_password: ""
      icecast2_source_password: ""
      icecast2_relay_password: ""
      icecast2_admin_password: ""
  roles:
    #- apt-upgrade
    - ddns

    - role: nginx
      nginx_main_server_names:
        - "{{ domain_name }}"
        - 10sr.mydns.jp
      nginx_main_root: /var/nginx/main

    - role: icecast2
      icecast2_server_name: ic.{{ domain_name }}
      icecast2_server_port: 3389
      icecast2_letsencrypt_access_dir: /.well-known/acme-challenge
      icecast2_letsencrypt_webroot: /var/nginx/main
      icecast2_liquidsoap_sources:
        - name: ring_all
          playlist: /var/icecast2/ring/all.m3u
        - name: lovelive_all
          playlist: /var/icecast2/lovelive/all.m3u
        - name: lovelive_best1
          playlist: /var/icecast2/lovelive/lovelive_best1/all.m3u
        - name: lovelive_best2
          playlist: /var/icecast2/lovelive/lovelive_best2/all.m3u

    - role: letsencrypt
      letsencrypt_domain_names:
        - "{{ domain_name }}"
        - ic.{{ domain_name }}
        #- d.{{ domain_name }}
      letsencrypt_webroot: /var/nginx/main
      letsencrypt_key_dir: /etc/letsencrypt/live/{{ domain_name }}
      letsencrypt_ssl_key_dir: /etc/letsencrypt/live/{{ domain_name }}
      letsencrypt_ssl_dhparam_path: /etc/ssl/private/dhparam.pem

    - role: nginx_ssl
      nginx_ssl_main_server_name: "{{ domain_name }}"
      nginx_ssl_main_root: /var/nginx/main

    - role: icecast2_ssl
      icecast2_ssl_server_name: ic."{{ domain_name }}"
      icecast2_ssl_upstream_name: icecast2

    - supervisord

    - role: dokku
      dokku_domain_name: d.{{ domain_name }}

    - role: lxc
      lxc_user: "{{ ansible_user_id }}"
{'fraction_non_alphanumeric': 0.10625, 'fraction_numerical': 0.017329545454545455, 'mean_word_length': 2.5174825174825175, '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': '5787111', 'n_tokens_mistral': 1359, 'n_tokens_neox': 1298, 'n_words': 185}