task name, comments, and other general formatting updates

This commit is contained in:
Lee Goolsbee
2024-03-26 14:54:39 -05:00
parent b0824a858c
commit 6881bc1a89
12 changed files with 92 additions and 93 deletions

View File

@@ -3,10 +3,10 @@
# this may need to be expanded later, but don't add node.id unless you get it from bitbucket primary cluster
# first see if it's already set - if it is, use that, else generate a random one
- name: set mesh_node_name var from the existing mesh.properties file
- name: Set mesh_node_name var from the existing mesh.properties file
ansible.builtin.set_fact:
mesh_node_name: "{{ lookup('ansible.builtin.ini', 'node.name type=properties file={{ mesh_properties_file }}') | split('.') | first }}"
- name: generate a pet name if mesh_node_name is empty or this is a clone firstrun # noqa jinja[invalid]
- name: Generate a pet name if mesh_node_name is empty or this is a clone firstrun # noqa jinja[invalid]
ansible.builtin.set_fact:
mesh_node_name: "{{ lookup('community.general.random_pet', words=3) }}"