diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-10 09:46:13 -0400 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2015-11-10 10:02:41 -0400 |
commit | fa67d37245d53f4ea7222b0d4d970ede48fee94b (patch) | |
tree | 200714f53561c221427c7174ff4079746401b65f | |
parent | b0955d50b2beaa2b1e3937185f6d5e5337e1e87f (diff) | |
download | openshift-fa67d37245d53f4ea7222b0d4d970ede48fee94b.tar.gz openshift-fa67d37245d53f4ea7222b0d4d970ede48fee94b.tar.bz2 openshift-fa67d37245d53f4ea7222b0d4d970ede48fee94b.tar.xz openshift-fa67d37245d53f4ea7222b0d4d970ede48fee94b.zip |
1279734: Ensure services are enabled after upgrade.
With the openshift to atomic-openshift renames, some services were not enabled
after upgrade. Added enabled directives to all service restart lines in the
upgrade playbook.
-rw-r--r-- | playbooks/adhoc/upgrades/upgrade.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml index 7ce2698db..30f911f6f 100644 --- a/playbooks/adhoc/upgrades/upgrade.yml +++ b/playbooks/adhoc/upgrades/upgrade.yml @@ -226,7 +226,7 @@ when: inventory_hostname != groups.masters.0 - name: Restart master services - service: name="{{ openshift.common.service_type}}-master" state=restarted + service: name="{{ openshift.common.service_type}}-master" enabled=yes state=restarted when: not openshift_master_ha | bool - name: Destroy cluster @@ -250,7 +250,7 @@ openshift_master_ha: "{{ groups['masters'] | length > 1 }}" tasks: - name: Start pcsd - service: name=pcsd state=started + service: name=pcsd enabled=yes state=started when: openshift_master_ha | bool - name: Re-create cluster @@ -281,7 +281,7 @@ - name: Upgrade node packages command: yum update -y {{ openshift.common.service_type }}-node{{ openshift_version }} - name: Restart node services - service: name="{{ openshift.common.service_type }}-node" state=restarted + service: name="{{ openshift.common.service_type }}-node" enabled=yes state=restarted - name: Update cluster policy and policy bindings hosts: masters[0] @@ -311,7 +311,7 @@ openshift_master_ha: "{{ groups['masters'] | length > 1 }}" tasks: - name: Restart master services - service: name="{{ openshift.common.service_type}}-master" state=restarted + service: name="{{ openshift.common.service_type}}-master" enabled=yes state=restarted when: not openshift_master_ha | bool - name: Restart cluster post reconcile |