diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-10 14:41:31 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-10 14:41:31 -0500 |
commit | 12affae5218733a64ee59637d43e6ae4d84a2f1b (patch) | |
tree | 449c2e74384373dfc4695fa0e68e224202e64f1b /playbooks/adhoc | |
parent | 35c3b7d15cfac7da748382dc4ad429ca78e7c74e (diff) | |
parent | 28d601beeebaacd5e79b3fec336a283c8bf20e68 (diff) | |
download | openshift-12affae5218733a64ee59637d43e6ae4d84a2f1b.tar.gz openshift-12affae5218733a64ee59637d43e6ae4d84a2f1b.tar.bz2 openshift-12affae5218733a64ee59637d43e6ae4d84a2f1b.tar.xz openshift-12affae5218733a64ee59637d43e6ae4d84a2f1b.zip |
Merge pull request #854 from dgoodwin/pkg-ansible-cfg
Package the default ansible.cfg with atomic-openshift-utils.
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r-- | playbooks/adhoc/upgrades/upgrade.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml index 7ce2698db..324f5fba3 100644 --- a/playbooks/adhoc/upgrades/upgrade.yml +++ b/playbooks/adhoc/upgrades/upgrade.yml @@ -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 @@ -389,3 +389,19 @@ openshift_deployment_type: "{{ deployment_type }}" roles: - openshift_examples + +- name: Ensure master services enabled + hosts: masters + vars: + openshift_master_ha: "{{ groups['masters'] | length > 1 }}" + tasks: + - name: Enable master services + service: name="{{ openshift.common.service_type}}-master" state=started enabled=yes + when: not openshift_master_ha | bool + +- name: Ensure node services enabled + hosts: nodes + tasks: + - name: Restart node services + service: name="{{ openshift.common.service_type }}-node" state=started enabled=yes + |