Do not install ansible-runner or podman on hop nodes

This commit is contained in:
Seth Foster
2023-08-08 12:54:42 -04:00
committed by Seth Foster
parent 81e06dace2
commit 70ba32b5b2
3 changed files with 12 additions and 6 deletions

View File

@@ -4,12 +4,16 @@ receptor_group: awx
receptor_verify: true
receptor_tls: true
receptor_mintls13: false
{% if instance.node_type == "execution" %}
receptor_work_commands:
ansible-runner:
command: ansible-runner
params: worker
allowruntimeparams: true
verifysignature: true
additional_python_packages:
- ansible-runner
{% endif %}
custom_worksign_public_keyfile: receptor/work_public_key.pem
custom_tls_certfile: receptor/tls/receptor.crt
custom_tls_keyfile: receptor/tls/receptor.key
@@ -29,8 +33,6 @@ receptor_peers:
protocol: tcp
{% endfor %}
{% endif %}
additional_python_packages:
- ansible-runner
{% verbatim %}
podman_user: "{{ receptor_user }}"
podman_group: "{{ receptor_group }}"

View File

@@ -9,6 +9,8 @@
shell: /bin/bash
- import_role:
name: ansible.receptor.setup
{% endverbatim %}
{% if instance.node_type == "execution" %}
- import_role:
name: ansible.receptor.podman
{% endverbatim %}
{% endif %}