From e3a827c7b996e877b49eef5e8cbeff7f788b73a5 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Oct 21 2016 13:20:12 +0000 Subject: get some log output and don't report 'changed' for the git clone Signed-off-by: Adam Miller --- diff --git a/ansible-ansible-openshift-ansible.yml b/ansible-ansible-openshift-ansible.yml index fd87c42..5f25d48 100644 --- a/ansible-ansible-openshift-ansible.yml +++ b/ansible-ansible-openshift-ansible.yml @@ -16,12 +16,14 @@ file: path: "{{ openshift_ansible_path }}" state: absent + changed_when: False - name: git clone the openshift-ansible repo git: repo: "https://github.com/openshift/openshift-ansible.git" dest: "{{ openshift_ansible_path }}" refspec: "{{ openshift_ansible_refspec }}" + changed_when: False - name: copy the inventory file copy: @@ -32,6 +34,15 @@ shell: "ansible-playbook {{ openshift_ansible_playbook }} -i {{ cluster_inventory_filename }}" args: chdir: "{{ openshift_ansible_path }}" + register: run_ansible_out + + - name: display run ansible stdout_lines + debug: + var: run_ansible_out.stdout_lines + + - name: display run ansible stderr + debug: + var: run_ansible_out.stderr # vim:ft=ansible: \ No newline at end of file