Assign new network and description attribute to Monitor role
This change adds the networks and description attributes for the Ceph Monitor role to roles_data during upgrade. Change-Id: If29c237d8a8e0f644d36c1e839b813d7f18a677f
This commit is contained in:
parent
270e429816
commit
dce676bdc9
|
@ -143,6 +143,15 @@
|
|||
- '\1\n networks:\n - InternalApi'
|
||||
- '\1\n description: |\n Standalone messaging role with RabbitMQ being managed via Pacemaker'
|
||||
|
||||
- name: Assigns new attributes to Monitor role
|
||||
replace:
|
||||
dest: '{{ custom_roles_file.stdout }}'
|
||||
regexp: '^(- name: Monitor.*)'
|
||||
replace: "{{ item }}"
|
||||
with_items:
|
||||
- '\1\n networks:\n - Storage'
|
||||
- '\1\n description: |\n Ceph Monitor role'
|
||||
|
||||
- name: Add services common to all roles introduced in Pike
|
||||
replace:
|
||||
dest: '{{ custom_roles_file.stdout }}'
|
||||
|
|
Loading…
Reference in New Issue