add managing individual lines in mesh.properties using values from template

This commit is contained in:
Lee Goolsbee
2024-03-28 16:47:56 -05:00
parent a050987e3c
commit 4a87c023f8
3 changed files with 21 additions and 0 deletions

View File

@@ -64,6 +64,14 @@
- new_meshvol_from_snap is defined
- new_meshvol_from_snap | bool
# handle adding/updating some ansible managed mesh properties
- name: Import management of additional ansible-managed mesh properties
ansible.builtin.import_tasks:
file: mesh_properties.yml
when:
- atl_mesh_properties is defined
- atl_mesh_properties | length > 0
# handle reregistering the correct node if node.id exists
- name: Set mesh_node_id var from the existing mesh.properties file
ansible.builtin.set_fact: