Skip to content

Commit

Permalink
Merge pull request #11 from cisco-open/fix/rename-var-cedge-instances
Browse files Browse the repository at this point in the history
[fix] misleading cedge_instances name
  • Loading branch information
cicharka authored Jun 10, 2024
2 parents cfa758f + 6edcd70 commit 209cbd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playbooks/template_cloudinit_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ vsmart_instances:
# Edge devices #
################################

cedge_instances:
edge_instances:
- hostname: terraformcedge1
otp: XXX
site_id: 1002
Expand Down
4 changes: 2 additions & 2 deletions roles/template_cloudinit/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@
vbond: "{{ instance_item.vbond }}"
template_path: "./userdata_cedge.j2"
generated_cloudinit_path: "{{ cloudinit_path | default('') }}"
loop: "{{ cedge_instances }}"
loop: "{{ edge_instances }}"
loop_control:
loop_var: instance_item
when: cedge_instances is defined
when: edge_instances is defined

- name: "Display location of generated files"
ansible.builtin.debug:
Expand Down

0 comments on commit 209cbd3

Please sign in to comment.