facts: fix typo

This commit fixes a typo in some task titles

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/5175/head
Guillaume Abrioux 2020-03-23 16:14:29 +01:00 committed by Dimitri Savineau
parent cc28d9ec26
commit 1a7f3caecb
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
---
- name: set_fact _monitor_address to monitor_address_block ipv4
- name: set_fact _monitor_addresses to monitor_address_block ipv4
set_fact:
_monitor_addresses: "{{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['ansible_all_ipv4_addresses'] | ips_in_ranges(hostvars[item]['monitor_address_block'].split(',')) | first }] }}"
with_items: "{{ groups.get(mon_group_name, []) }}"
@ -9,7 +9,7 @@
- hostvars[item]['monitor_address_block'] != 'subnet'
- ip_version == 'ipv4'
- name: set_fact _monitor_address to monitor_address_block ipv6
- name: set_fact _monitor_addresses to monitor_address_block ipv6
set_fact:
_monitor_addresses: "{{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['ansible_all_ipv6_addresses'] | ips_in_ranges(hostvars[item]['monitor_address_block'].split(',')) | last | ipwrap }] }}"
with_items: "{{ groups.get(mon_group_name, []) }}"
@ -19,7 +19,7 @@
- hostvars[item]['monitor_address_block'] != 'subnet'
- ip_version == 'ipv6'
- name: set_fact _monitor_address to monitor_address
- name: set_fact _monitor_addresses to monitor_address
set_fact:
_monitor_addresses: "{{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['monitor_address'] | ipwrap}] }}"
with_items: "{{ groups.get(mon_group_name, []) }}"
@ -28,7 +28,7 @@
- hostvars[item]['monitor_address'] is defined
- hostvars[item]['monitor_address'] != 'x.x.x.x'
- name: set_fact _monitor_address to monitor_interface - ipv4
- name: set_fact _monitor_addresses to monitor_interface - ipv4
set_fact:
_monitor_addresses: "{{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['ansible_' + (hostvars[item]['monitor_interface']|replace('-', '_'))][ip_version]['address'] | ipwrap }] }}"
with_items: "{{ groups.get(mon_group_name, []) }}"
@ -39,7 +39,7 @@
- hostvars[item]['monitor_address'] | default('x.x.x.x') == 'x.x.x.x'
- hostvars[item]['monitor_interface'] | default('interface') != 'interface'
- name: set_fact _monitor_address to monitor_interface - ipv6
- name: set_fact _monitor_addresses to monitor_interface - ipv6
set_fact:
_monitor_addresses: "{{ _monitor_addresses | default([]) + [{ 'name': item, 'addr': hostvars[item]['ansible_' + (hostvars[item]['monitor_interface']|replace('-', '_'))][ip_version][0]['address'] | ipwrap }] }}"
with_items: "{{ groups.get(mon_group_name, []) }}"