Skip to content

Commit

Permalink
ensure that edges from pnp bootstrap generation will use hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
cicharka committed Apr 11, 2024
1 parent 9170d2e commit 36b2bff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/azure_edges/tasks/azure_cedge_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)

---
- name: "Replace underscores with hyphens in the az_resources_prefix string"
ansible.builtin.set_fact:
az_resources_prefix: "{{ az_resources_prefix | replace('_', '-') }}"
hostname: "{{ hostname | replace('_', '-') }}"

- name: "Create public IP addresses for machine: {{ hostname }}"
azure.azcollection.azure_rm_publicipaddress:
Expand Down

0 comments on commit 36b2bff

Please sign in to comment.