Rename container hostname from awx_1 to awx-1

* Django and other webservers that care about proper hostnames don't
  like underscores in them.
This commit is contained in:
Chris Meyers
2024-04-02 16:37:54 -04:00
committed by Chris Meyers
parent c061f59f1c
commit ae1235b223
5 changed files with 23 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
---
- node:
id: awx_{{ item }}
id: awx-{{ item }}
firewallrules:
- action: "reject"
tonode: awx_{{ item }}
tonode: awx-{{ item }}
toservice: "control"
- log-level: info
@@ -24,7 +24,7 @@
{% for i in range(item | int + 1, control_plane_node_count | int + 1) %}
- tcp-peer:
address: awx_{{ i }}:2222
address: awx-{{ i }}:2222
redial: true
{% endfor %}