diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-05-20 11:55:41 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-05-25 10:28:32 -0300 |
commit | dcb7289d9cf28b155aebb3b4ab820db2033c1b35 (patch) | |
tree | 721077ddee65e108d511939c07d8aead3625279c /roles | |
parent | 82d3a4bac81d67d8575279fe99352700d65ca7f6 (diff) | |
download | openshift-dcb7289d9cf28b155aebb3b4ab820db2033c1b35.tar.gz openshift-dcb7289d9cf28b155aebb3b4ab820db2033c1b35.tar.bz2 openshift-dcb7289d9cf28b155aebb3b4ab820db2033c1b35.tar.xz openshift-dcb7289d9cf28b155aebb3b4ab820db2033c1b35.zip |
Debug output.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_cli/tasks/main.yml | 6 | ||||
-rw-r--r-- | roles/openshift_docker/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_cli/tasks/main.yml b/roles/openshift_cli/tasks/main.yml index bfa60e5b0..a2be95eac 100644 --- a/roles/openshift_cli/tasks/main.yml +++ b/roles/openshift_cli/tasks/main.yml @@ -1,4 +1,10 @@ --- +- debug: var=openshift_version +- debug: var=openshift_release +- debug: var=openshift_image_tag +- debug: var=openshift.common +- debug: var=openshift.docker + - name: Install clients action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-clients state=present" when: not openshift.common.is_containerized | bool diff --git a/roles/openshift_docker/tasks/main.yml b/roles/openshift_docker/tasks/main.yml index 9c5887f76..cff1c6bb4 100644 --- a/roles/openshift_docker/tasks/main.yml +++ b/roles/openshift_docker/tasks/main.yml @@ -8,6 +8,9 @@ # in non-upgrade scenarios: has_image_tag_fact: "{{ hostvars[inventory_hostname].openshift.docker.openshift_image_tag is defined }}" +- debug: var=openshift_image_tag +- debug: var=openshift_release + - name: Set version when containerized command: > docker run --rm {{ openshift.common.cli_image }} version diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 63a54a0d9..56ce0e396 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -23,6 +23,8 @@ msg: "Pacemaker based HA is not supported at this time when used with containerized installs" when: openshift_master_ha | bool and openshift_master_cluster_method == "pacemaker" and openshift.common.is_containerized | bool +- debug: var=openshift_version + - name: Install Master package action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-master{{ openshift_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }} state=present" when: not openshift.common.is_containerized | bool |