diff options
author | Avesh Agarwal <avagarwa@redhat.com> | 2015-06-19 14:41:10 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-08-26 13:22:42 -0400 |
commit | 1b3fff6248fbd6788a26ee2b6c60f7731891c0f4 (patch) | |
tree | 6e2fc801a4366bf7e8075882e90f8383a638fb74 /roles/openshift_master_cluster | |
parent | 2595194cc34db43de2d9f139ff7ed1cd41c47ab1 (diff) | |
download | openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.gz openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.bz2 openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.tar.xz openshift-1b3fff6248fbd6788a26ee2b6c60f7731891c0f4.zip |
Atomic Enterprise related changes.
Diffstat (limited to 'roles/openshift_master_cluster')
-rw-r--r-- | roles/openshift_master_cluster/tasks/configure.yml | 8 | ||||
-rw-r--r-- | roles/openshift_master_cluster/tasks/configure_deferred.yml | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/roles/openshift_master_cluster/tasks/configure.yml b/roles/openshift_master_cluster/tasks/configure.yml index 8ddc8bfda..7ab9afb51 100644 --- a/roles/openshift_master_cluster/tasks/configure.yml +++ b/roles/openshift_master_cluster/tasks/configure.yml @@ -22,14 +22,14 @@ command: pcs resource defaults resource-stickiness=100 - name: Add the cluster VIP resource - command: pcs resource create virtual-ip IPaddr2 ip={{ openshift_master_cluster_vip }} --group openshift-master + command: pcs resource create virtual-ip IPaddr2 ip={{ openshift_master_cluster_vip }} --group {{ openshift.common.service_type }}-master - name: Add the cluster public VIP resource - command: pcs resource create virtual-ip IPaddr2 ip={{ openshift_master_cluster_public_vip }} --group openshift-master + command: pcs resource create virtual-ip IPaddr2 ip={{ openshift_master_cluster_public_vip }} --group {{ openshift.common.service_type }}-master when: openshift_master_cluster_public_vip != openshift_master_cluster_vip -- name: Add the cluster openshift-master service resource - command: pcs resource create master systemd:openshift-master op start timeout=90s stop timeout=90s --group openshift-master +- name: Add the cluster master service resource + command: pcs resource create master systemd:{{ openshift.common.service_type }}-master op start timeout=90s stop timeout=90s --group {{ openshift.common.service_type }}-master - name: Disable stonith command: pcs property set stonith-enabled=false diff --git a/roles/openshift_master_cluster/tasks/configure_deferred.yml b/roles/openshift_master_cluster/tasks/configure_deferred.yml index a80b6c5b4..3b416005b 100644 --- a/roles/openshift_master_cluster/tasks/configure_deferred.yml +++ b/roles/openshift_master_cluster/tasks/configure_deferred.yml @@ -1,8 +1,8 @@ --- - debug: msg="Deferring config" -- name: Start and enable openshift-master +- name: Start and enable the master service: - name: openshift-master + name: "{{ openshift.common.service_type }}-master" state: started enabled: yes |