diff --git a/awx/api/templates/instance_install_bundle/group_vars/all.yml b/awx/api/templates/instance_install_bundle/group_vars/all.yml index ac595003c5..861572748c 100644 --- a/awx/api/templates/instance_install_bundle/group_vars/all.yml +++ b/awx/api/templates/instance_install_bundle/group_vars/all.yml @@ -1,4 +1,3 @@ -receptor_host_identifier: {{ instance.hostname }} receptor_user: awx receptor_group: awx receptor_verify: true diff --git a/awx/api/templates/instance_install_bundle/install_receptor.yml b/awx/api/templates/instance_install_bundle/install_receptor.yml index 6079f0c712..8e1b09951e 100644 --- a/awx/api/templates/instance_install_bundle/install_receptor.yml +++ b/awx/api/templates/instance_install_bundle/install_receptor.yml @@ -1,16 +1,16 @@ -{% verbatim %} --- - hosts: all become: yes tasks: - name: Create the receptor user user: +{% verbatim %} name: "{{ receptor_user }}" - shell: /bin/bash - - import_role: - name: ansible.receptor.setup {% endverbatim %} + shell: /bin/bash {% if instance.node_type == "execution" %} - import_role: name: ansible.receptor.podman {% endif %} + - import_role: + name: ansible.receptor.setup