Commit f471c51d authored by Sébastien Han's avatar Sébastien Han
Browse files

iscsi group name preserve backward compatibility

Recently we renamed the group_name for iscsi iscsigws where previously
it was named iscsi-gws. Existing deployments with a host file section
with iscsi-gws must continue to work.

This commit adds the old group name as a backoward compatility, no error
from Ansible should be expected, if the hostgroup is not found nothing
is played.

Close: https://bugzilla.redhat.com/show_bug.cgi?id=1619167

Signed-off-by: default avatarSébastien Han <seb@redhat.com>
(cherry picked from commit 77a3a682)
parent a40a8fa0
......@@ -20,7 +20,9 @@
igw_purge_type: "{{ purge_config }}"
- name: Removing the gateway configuration
hosts: iscsigws
hosts:
- iscsigws
- iscsi-gws # for backward compatibility only!
become: yes
vars:
- igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}"
......
......@@ -12,6 +12,7 @@
- rbdmirrors
- clients
- iscsigws
- iscsi-gws # for backward compatibility only!
- mgrs
gather_facts: false
......
......@@ -13,6 +13,7 @@
- clients
- mgrs
- iscsigws
- iscsi-gws # for backward compatibility only!
gather_facts: false
......@@ -153,7 +154,9 @@
- ceph-config
- ceph-client
- hosts: iscsigws
- hosts:
- iscsigws
- iscsi-gws # for backward compatibility only!
gather_facts: false
become: True
roles:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment