<commit_before>---
- name: Generate Deployer output for Tester
  hosts: undercloud
  gather_facts: no
  become: yes
  become_user: "{{ installer.user.name }}"
  tasks:
      - name: "Workaround RHBZ#1357579 - non-default region=regionOne"
        shell: "crudini --set ~/tempest-deployer-input.conf identity region regionOne"
        when: installer.workarounds is defined and installer.workarounds.rhbz1357579 is defined

      - name: fetch deployer output for tester
        fetch:
            src: "~/{{ item.src }}"
            dest: "{{ inventory_dir }}/{{ item.dest }}"
            flat: yes
        with_items:
            - src:  "overcloudrc"
              dest: "keystonerc"
            - src:  "tempest-deployer-input.conf"
              dest: "tempest-deployer-input.conf"
<commit_msg>Deployer input always use console<commit_after>---
- name: Generate Deployer output for Tester
  hosts: undercloud
  gather_facts: no
  become: yes
  become_user: "{{ installer.user.name }}"
  tasks:
      - name: "Workaround RHBZ#1357579 - non-default region=regionOne"
        shell: "crudini --set ~/tempest-deployer-input.conf identity region regionOne"
        when: installer.workarounds is defined and installer.workarounds.rhbz1357579 is defined

      - name: "Enable console logging: https://review.openstack.org/#/c/387445/"
        ini_file:
            dest: "~/tempest-deployer-input.conf"
            section: compute-feature-enabled
            option: console_output
            value: true

      - name: fetch deployer output for tester
        fetch:
            src: "~/{{ item.src }}"
            dest: "{{ inventory_dir }}/{{ item.dest }}"
            flat: yes
        with_items:
            - src:  "overcloudrc"
              dest: "keystonerc"
            - src:  "tempest-deployer-input.conf"
              dest: "tempest-deployer-input.conf"

{'fraction_non_alphanumeric': 0.11283422459893049, 'fraction_numerical': 0.01818181818181818, 'mean_word_length': 2.1498316498316496, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2772245', 'n_tokens_mistral': 607, 'n_tokens_neox': 563, 'n_words': 136}