mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 21:05:03 -02:30
Remove receptor_address module from collection
After removing CRUD from receptor addresses, we need to remove the module. - remove receptor_address module - Add listener_port to instance module - Add peers_from_control_nodes to instance module Signed-off-by: Seth Foster <fosterbseth@gmail.com>
This commit is contained in:
@@ -82,21 +82,6 @@
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
- name: Create address for hop node 1
|
||||
awx.awx.receptor_address:
|
||||
address: "{{ hostname1 }}addr"
|
||||
instance: "{{ hostname1 }}"
|
||||
peers_from_control_nodes: false
|
||||
port: 27199
|
||||
protocol: ws
|
||||
websocket_path: service
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
- name: Create hop node 2
|
||||
awx.awx.instance:
|
||||
hostname: "{{ hostname2 }}"
|
||||
@@ -108,29 +93,14 @@
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
- name: Create address for hop node 2
|
||||
awx.awx.receptor_address:
|
||||
address: "{{ hostname2 }}addr"
|
||||
instance: "{{ hostname2 }}"
|
||||
peers_from_control_nodes: false
|
||||
port: 27199
|
||||
protocol: ws
|
||||
websocket_path: service
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
||||
- name: Create execution node
|
||||
awx.awx.instance:
|
||||
hostname: "{{ hostname3 }}"
|
||||
node_type: execution
|
||||
node_state: installed
|
||||
peers:
|
||||
- "{{ hostname1 }}addr"
|
||||
- "{{ hostname2 }}addr"
|
||||
- "{{ hostname1 }}"
|
||||
- "{{ hostname2 }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user