Skip to content

Commit

Permalink
sap_ha_pacemaker_cluster: remove cidr_netmask from IPaddr2 resource d…
Browse files Browse the repository at this point in the history
…efinitions and leave it to the agent
  • Loading branch information
ja9fuchs committed Sep 13, 2023
1 parent c94ed5c commit e613684
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
- attrs:
- name: ip
value: "{{ vip_list_item.value | quote }}"
- name: cidr_netmask
value: "{{ sap_ha_pacemaker_cluster_vip_cidr_netmask }}"
- name: nic
value: "{{ sap_ha_pacemaker_cluster_vip_client_interface }}"
when:
Expand Down
5 changes: 0 additions & 5 deletions roles/sap_ha_pacemaker_cluster/tasks/include_vars_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
- not __sap_ha_pacemaker_cluster_nic_multi_bool
- sap_ha_pacemaker_cluster_vip_client_interface == ''

- name: "SAP HA Prepare Pacemaker - Set cidr netmask of the defined interface"
ansible.builtin.set_fact:
sap_ha_pacemaker_cluster_vip_cidr_netmask: "{{ vars['ansible_' + sap_ha_pacemaker_cluster_vip_client_interface].ipv4.prefix }}"
when:
- sap_ha_pacemaker_cluster_vip_client_interface != ''

# Include vars files based on the environment.
# Respect order for potential variable precedence.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
- attrs:
- name: ip
value: "{{ vip_list_item.value }}"
- name: cidr_netmask
value: "{{ sap_ha_pacemaker_cluster_vip_cidr_netmask }}"
- name: nic
value: "{{ sap_ha_pacemaker_cluster_vip_client_interface }}"
when:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
- attrs:
- name: ip
value: "{{ vip_list_item.value }}"
- name: cidr_netmask
value: "{{ sap_ha_pacemaker_cluster_vip_cidr_netmask }}"
- name: nic
value: "{{ sap_ha_pacemaker_cluster_vip_client_interface }}"
when:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
- attrs:
- name: ip
value: "{{ vip_list_item.value }}"
- name: cidr_netmask
value: "{{ sap_ha_pacemaker_cluster_vip_cidr_netmask }}"
- name: nic
value: "{{ sap_ha_pacemaker_cluster_vip_client_interface }}"
when:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
- attrs:
- name: ip
value: "{{ vip_list_item.value }}"
- name: cidr_netmask
value: "{{ sap_ha_pacemaker_cluster_vip_cidr_netmask }}"
- name: nic
value: "{{ sap_ha_pacemaker_cluster_vip_client_interface }}"
when:
Expand Down

0 comments on commit e613684

Please sign in to comment.