Skip to content
Snippets Groups Projects
Commit ef174050 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

fix in var names

parent 00c72cf0
No related branches found
No related tags found
1 merge request!112fix in var names
Pipeline #85850 passed
......@@ -57,15 +57,15 @@
- name: Include compiling the template for the old node
ansible.builtin.include_tasks: compile_template.yaml
when: (verb == "deactivate" or verb == "delete")
and inventory_hostname == old_node
and inventory_hostname == old_node.fqdn
- name: Include deactivation tasks for the old node
ansible.builtin.include_tasks: deactivate_trunk_side.yaml
when: verb == "deactivate" and inventory_hostname == old_node
when: verb == "deactivate" and inventory_hostname == old_node.fqdn
- name: Include removal tasks for the old node
ansible.builtin.include_tasks: delete_trunk_side.yaml
when: verb == "delete" and inventory_hostname == old_node
when: verb == "delete" and inventory_hostname == old_node.fqdn
- name: Include compiling the template for the new node
ansible.builtin.include_tasks: compile_template.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment