mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Allow for dynamically scaling automation mesh in dev env
This commit is contained in:
committed by
Alan Rominger
parent
9881bb72b8
commit
460c7c3379
@@ -1,10 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Create _sources directory
|
||||
- name: Create _sources directories
|
||||
file:
|
||||
path: "{{ sources_dest }}/secrets"
|
||||
path: "{{ sources_dest }}/{{ item }}"
|
||||
state: 'directory'
|
||||
mode: '0700'
|
||||
loop:
|
||||
- secrets
|
||||
- receptor
|
||||
|
||||
- name: Detect secrets
|
||||
stat:
|
||||
@@ -82,8 +85,15 @@
|
||||
dest: "{{ sources_dest }}/{{ compose_name }}"
|
||||
mode: '0600'
|
||||
|
||||
- name: Render Docker-Compose (Receptor)
|
||||
- name: Render Receptor Hop Config
|
||||
template:
|
||||
src: docker-receptor.yml.j2
|
||||
dest: "{{ sources_dest }}/docker-receptor.yml"
|
||||
src: "receptor-hop.conf.j2"
|
||||
dest: "{{ sources_dest }}/receptor/receptor-hop.conf"
|
||||
mode: '0600'
|
||||
|
||||
- name: Render Receptor Worker Config(s)
|
||||
template:
|
||||
src: "receptor-worker.conf.j2"
|
||||
dest: "{{ sources_dest }}/receptor/receptor-worker-{{ item }}.conf"
|
||||
mode: '0600'
|
||||
with_sequence: start=1 end={{ execution_node_count }}
|
||||
|
||||
Reference in New Issue
Block a user