diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-06-16 17:25:02 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-06-16 17:25:02 -0400 |
commit | 02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda (patch) | |
tree | 5a06902c4693b7442a178d87f8a8874df8375f70 /roles/openshift_node | |
parent | 5c095116ff23ee1ccbe6ba0407cff0fb05d9980d (diff) | |
download | openshift-02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda.tar.gz openshift-02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda.tar.bz2 openshift-02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda.tar.xz openshift-02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda.zip |
Stop dumping debug output, re-try startng the node once
Diffstat (limited to 'roles/openshift_node')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 242437a85..b5393e3cf 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -118,14 +118,10 @@ service: name={{ openshift.common.service_type }}-node enabled=yes state=started register: node_start_result ignore_errors: yes - -- name: Check logs on failure - command: journalctl -xe - register: node_failure - when: node_start_result | failed - -- name: Dump failure information - debug: var=node_failure + +- name: Start and enable node again + service: name={{ openshift.common.service_type }}-node enabled=yes state=started + register: node_start_result when: node_start_result | failed - set_fact: |