Guillaume Coré
2017-08-23 2582d359f11aaea7bea4b3d7fb1d44e8917f0e24
gather facts before generating report

This should fix the 'ansible_process' not defined error.
1 files modified
10 ■■■■■ changed files
ansible/configs/ocp-workshop/post_software.yml 10 ●●●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/post_software.yml
@@ -291,6 +291,16 @@
    - debug:
        msg: "Post-Software checks completed successfully"
- name: Gather facts
  hosts:
  - "{{ ('tag_Project_' ~ env_type ~ '_' ~ guid) | replace('-', '_') }}"
  vars_files:
    - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml"
    - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_secret_vars.yml"
  gather_facts: true
  tags:
    - ocp_report
- name: Generate reports
  hosts: localhost
  connection: local