Merge "Fix Nova cell search"
This commit is contained in:
commit
556f08b5c1
@ -55,10 +55,10 @@
|
||||
# cell0), followed by two other columns, the first containing the transport
|
||||
# URL and the second the database connection. For example:
|
||||
#
|
||||
# | None | 68a3f49e-27ec-422f-9e2e-2a4e5dc8291b | rabbit://openstack:password@1.2.3.4:5672 | mysql+pymysql://nova:password@1.2.3.4:3306/nova |
|
||||
# | None | 68a3f49e-27ec-422f-9e2e-2a4e5dc8291b | rabbit://openstack:password@1.2.3.4:5672 | mysql+pymysql://nova:password@1.2.3.4:3306/nova | False |
|
||||
#
|
||||
# NOTE(priteau): regexp doesn't support passwords containing spaces
|
||||
regexp: '\| +(?!00000000-0000-0000-0000-000000000000)([0-9a-f\-]+) +\| +([^ ]+) +\| +([^ ]+) +\|$'
|
||||
regexp: '\| +(?!00000000-0000-0000-0000-000000000000)([0-9a-f\-]+) +\| +([^ ]+) +\| +([^ ]+) +\| +([^ ]+) +\|$'
|
||||
set_fact:
|
||||
existing_cells: "{{ existing_cells_list.stdout | regex_findall(regexp, multiline=True) }}"
|
||||
run_once: True
|
||||
|
Loading…
x
Reference in New Issue
Block a user