mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Setup receptor after podman
Might help to install receptor last, that way when nodes are first connected to the mesh they already have podman installed and can potentially run jobs. Otherwise it might be possible for controller to launch jobs against nodes that aren't fully set up.
This commit is contained in:
parent
470ecc4a4f
commit
0577e1ee79
@ -1,4 +1,3 @@
|
||||
receptor_host_identifier: {{ instance.hostname }}
|
||||
receptor_user: awx
|
||||
receptor_group: awx
|
||||
receptor_verify: true
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user