mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 22:05:07 -02:30
generate control node receptor.conf
when a new remote execution/hop node is added regenerate the receptor.conf for all control node to peer out to the new remote execution node Signed-off-by: Hao Liu <haoli@redhat.com> Co-Authored-By: Seth Foster <fosterseth@users.noreply.github.com> Co-Authored-By: Shane McDonald <me@shanemcd.com>
This commit is contained in:
committed by
Jeff Bradberry
parent
4bf9925cf7
commit
9b034ad574
@@ -109,6 +109,20 @@
|
||||
mode: '0600'
|
||||
with_sequence: start=1 end={{ control_plane_node_count }}
|
||||
|
||||
- name: Create Receptor Config Lock File
|
||||
file:
|
||||
path: "{{ sources_dest }}/receptor/receptor-awx-{{ item }}.conf.lock"
|
||||
state: touch
|
||||
mode: '0600'
|
||||
with_sequence: start=1 end={{ control_plane_node_count }}
|
||||
|
||||
- name: Render Receptor Config(s) for Control Plane
|
||||
template:
|
||||
src: "receptor-awx.conf.j2"
|
||||
dest: "{{ sources_dest }}/receptor/receptor-awx-{{ item }}.conf"
|
||||
mode: '0600'
|
||||
with_sequence: start=1 end={{ control_plane_node_count }}
|
||||
|
||||
- name: Render Receptor Hop Config
|
||||
template:
|
||||
src: "receptor-hop.conf.j2"
|
||||
|
||||
Reference in New Issue
Block a user