diff --git a/ansible/action_plugins/tenks_update_state.py b/ansible/action_plugins/tenks_update_state.py index 1846664..4dd82ab 100644 --- a/ansible/action_plugins/tenks_update_state.py +++ b/ansible/action_plugins/tenks_update_state.py @@ -34,7 +34,7 @@ class ActionModule(ActionBase): * Generating indices for physical networks for each hypervisor. * Scheduling specifications of nodes by type onto hypervisors. - The following task vars are accepted: + The following task arguments are accepted: :hypervisor_vars: A dict of hostvars for each hypervisor, keyed by hypervisor hostname. Required. :specs: A list of node specifications to be instantiated. Required. diff --git a/ansible/schedule.yml b/ansible/schedule.yml index 9507e19..2ec92b3 100644 --- a/ansible/schedule.yml +++ b/ansible/schedule.yml @@ -35,9 +35,11 @@ - name: Get updated state tenks_update_state: hypervisor_vars: "{{ hypervisor_vars }}" + node_name_prefix: "{{ node_name_prefix | default(omit) }}" node_types: "{{ node_types }}" specs: "{{ specs }}" state: "{{ current_state | default(omit) }}" + vol_name_prefix: "{{ vol_name_prefix | default(omit) }}" register: new_state - name: Write new state to file