|
43 | 43 | {{ __sap_ha_pacemaker_cluster_ha_cluster_stonith }} |
44 | 44 | {%- endif -%} |
45 | 45 |
|
46 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster'" # noqa var-naming[no-role-prefix] |
| 46 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster'" |
47 | 47 | when: __sap_ha_pacemaker_cluster_ha_cluster is defined |
48 | | - ansible.builtin.set_fact: |
| 48 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
49 | 49 | ha_cluster: "{{ __sap_ha_pacemaker_cluster_ha_cluster }}" |
50 | 50 |
|
51 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_cluster_name'" # noqa var-naming[no-role-prefix] |
| 51 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_cluster_name'" |
52 | 52 | when: __sap_ha_pacemaker_cluster_cluster_name is defined |
53 | | - ansible.builtin.set_fact: |
| 53 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
54 | 54 | ha_cluster_cluster_name: "{{ __sap_ha_pacemaker_cluster_cluster_name }}" |
55 | 55 |
|
56 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_cluster_properties'" # noqa var-naming[no-role-prefix] |
| 56 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_cluster_properties'" |
57 | 57 | when: __sap_ha_pacemaker_cluster_cluster_properties is defined |
58 | | - ansible.builtin.set_fact: |
| 58 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
59 | 59 | ha_cluster_cluster_properties: "{{ __sap_ha_pacemaker_cluster_cluster_properties }}" |
60 | 60 |
|
61 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_defaults'" # noqa var-naming[no-role-prefix] |
| 61 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_defaults'" |
62 | 62 | when: __sap_ha_pacemaker_cluster_resource_defaults is defined |
63 | | - ansible.builtin.set_fact: |
64 | | - ha_cluster_resource_defaults: "{{ __sap_ha_pacemaker_cluster_resource_defaults }}" # noqa var-naming[no-role-prefix] |
| 63 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
| 64 | + ha_cluster_resource_defaults: "{{ __sap_ha_pacemaker_cluster_resource_defaults }}" |
65 | 65 |
|
66 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_operation_defaults'" # noqa var-naming[no-role-prefix] |
| 66 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_operation_defaults'" |
67 | 67 | when: __sap_ha_pacemaker_cluster_resource_operation_defaults is defined |
68 | | - ansible.builtin.set_fact: |
| 68 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
69 | 69 | ha_cluster_resource_operation_defaults: "{{ __sap_ha_pacemaker_cluster_resource_operation_defaults }}" |
70 | 70 |
|
71 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_colocation'" # noqa var-naming[no-role-prefix] |
| 71 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_colocation'" |
72 | 72 | when: __sap_ha_pacemaker_cluster_constraints_colocation is defined |
73 | | - ansible.builtin.set_fact: |
74 | | - ha_cluster_constraints_colocation: "{{ __sap_ha_pacemaker_cluster_constraints_colocation }}" # noqa var-naming[no-role-prefix] |
| 73 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
| 74 | + ha_cluster_constraints_colocation: "{{ __sap_ha_pacemaker_cluster_constraints_colocation }}" |
75 | 75 |
|
76 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_location'" # noqa var-naming[no-role-prefix] |
| 76 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_location'" |
77 | 77 | when: __sap_ha_pacemaker_cluster_constraints_location is defined |
78 | | - ansible.builtin.set_fact: |
| 78 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
79 | 79 | ha_cluster_constraints_location: "{{ __sap_ha_pacemaker_cluster_constraints_location }}" |
80 | 80 |
|
81 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_order'" # noqa var-naming[no-role-prefix] |
| 81 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_constraints_order'" |
82 | 82 | when: __sap_ha_pacemaker_cluster_constraints_order is defined |
83 | | - ansible.builtin.set_fact: |
| 83 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
84 | 84 | ha_cluster_constraints_order: "{{ __sap_ha_pacemaker_cluster_constraints_order }}" |
85 | 85 |
|
86 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_extra_packages'" # noqa var-naming[no-role-prefix] |
| 86 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_extra_packages'" |
87 | 87 | when: __sap_ha_pacemaker_cluster_extra_packages is defined |
88 | | - ansible.builtin.set_fact: |
| 88 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
89 | 89 | ha_cluster_extra_packages: "{{ __sap_ha_pacemaker_cluster_extra_packages }}" |
90 | 90 |
|
91 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_zypper_patterns'" # noqa var-naming[no-role-prefix] |
| 91 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_zypper_patterns'" |
92 | 92 | when: __sap_ha_pacemaker_cluster_zypper_patterns is defined and ansible_os_family == 'Suse' |
93 | | - ansible.builtin.set_fact: |
| 93 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
94 | 94 | ha_cluster_zypper_patterns: "{{ __sap_ha_pacemaker_cluster_zypper_patterns }}" |
95 | 95 |
|
96 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_fence_agent_packages'" # noqa var-naming[no-role-prefix] |
| 96 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_fence_agent_packages'" |
97 | 97 | when: __sap_ha_pacemaker_cluster_fence_agent_packages is defined |
98 | | - ansible.builtin.set_fact: |
| 98 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
99 | 99 | ha_cluster_fence_agent_packages: "{{ __sap_ha_pacemaker_cluster_fence_agent_packages }}" |
100 | 100 |
|
101 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_hacluster_password'" # noqa var-naming[no-role-prefix] |
| 101 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_hacluster_password'" |
102 | 102 | when: __sap_ha_pacemaker_cluster_hacluster_user_password is defined |
103 | | - ansible.builtin.set_fact: |
| 103 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
104 | 104 | ha_cluster_hacluster_password: "{{ __sap_ha_pacemaker_cluster_hacluster_user_password }}" |
105 | 105 | no_log: true # secure the credential |
106 | 106 |
|
107 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_repos'" # noqa var-naming[no-role-prefix] |
| 107 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_repos'" |
108 | 108 | when: __sap_ha_pacemaker_cluster_repos is defined |
109 | | - ansible.builtin.set_fact: |
| 109 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
110 | 110 | __ha_cluster_repos: "{{ __sap_ha_pacemaker_cluster_repos }}" |
111 | 111 |
|
112 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_clones'" # noqa var-naming[no-role-prefix] |
| 112 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_clones'" |
113 | 113 | when: __sap_ha_pacemaker_cluster_resource_clones is defined |
114 | | - ansible.builtin.set_fact: |
| 114 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
115 | 115 | ha_cluster_resource_clones: "{{ __sap_ha_pacemaker_cluster_resource_clones }}" |
116 | 116 |
|
117 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_groups'" # noqa var-naming[no-role-prefix] |
| 117 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_groups'" |
118 | 118 | when: __sap_ha_pacemaker_cluster_resource_groups is defined |
119 | | - ansible.builtin.set_fact: |
| 119 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
120 | 120 | ha_cluster_resource_groups: "{{ __sap_ha_pacemaker_cluster_resource_groups }}" |
121 | 121 |
|
122 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_primitives'" # noqa var-naming[no-role-prefix] |
| 122 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_resource_primitives'" |
123 | 123 | when: __sap_ha_pacemaker_cluster_resource_primitives is defined |
124 | | - ansible.builtin.set_fact: |
| 124 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
125 | 125 | ha_cluster_resource_primitives: "{{ __sap_ha_pacemaker_cluster_resource_primitives }}" |
126 | 126 | no_log: true # be paranoid, there could be credentials in it |
127 | 127 |
|
128 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_totem'" # noqa var-naming[no-role-prefix] |
| 128 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_totem'" |
129 | 129 | when: __sap_ha_pacemaker_cluster_corosync_totem is defined |
130 | | - ansible.builtin.set_fact: |
| 130 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
131 | 131 | ha_cluster_totem: "{{ __sap_ha_pacemaker_cluster_corosync_totem }}" |
132 | 132 |
|
133 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_transport'" # noqa var-naming[no-role-prefix] |
| 133 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_transport'" |
134 | 134 | when: __sap_ha_pacemaker_cluster_corosync_transport is defined |
135 | | - ansible.builtin.set_fact: |
| 135 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
136 | 136 | ha_cluster_transport: "{{ __sap_ha_pacemaker_cluster_corosync_transport }}" |
137 | 137 |
|
138 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_sbd_options'" # noqa var-naming[no-role-prefix] |
| 138 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_sbd_options'" |
139 | 139 | when: __sap_ha_pacemaker_cluster_sbd_options is defined |
140 | | - ansible.builtin.set_fact: |
| 140 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
141 | 141 | ha_cluster_sbd_options: "{{ __sap_ha_pacemaker_cluster_sbd_options }}" |
142 | 142 |
|
143 | | -- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_sbd_enabled'" # noqa var-naming[no-role-prefix] |
| 143 | +- name: "SAP HA Prepare Pacemaker - (ha_cluster) Define parameter 'ha_cluster_sbd_enabled'" |
144 | 144 | when: __sap_ha_pacemaker_cluster_sbd_enabled is defined |
145 | | - ansible.builtin.set_fact: |
| 145 | + ansible.builtin.set_fact: # noqa var-naming[no-role-prefix] |
146 | 146 | ha_cluster_sbd_enabled: "{{ __sap_ha_pacemaker_cluster_sbd_enabled }}" |
0 commit comments