mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
add firewall rules to control node
This commit is contained in:
parent
03685e51b5
commit
1fde9c4f0c
@ -606,6 +606,7 @@ class AWXReceptorJob:
|
||||
RECEPTOR_CONFIG_STARTER = (
|
||||
{'local-only': None},
|
||||
{'log-level': 'debug'},
|
||||
{'node': {'firewallrules': [{'action': 'reject', 'tonode': settings.CLUSTER_HOST_ID, 'toservice': 'control'}]}},
|
||||
{'control-service': {'service': 'control', 'filename': '/var/run/receptor/receptor.sock', 'permissions': '0660'}},
|
||||
{'work-command': {'worktype': 'local', 'command': 'ansible-runner', 'params': 'worker', 'allowruntimeparams': True}},
|
||||
{'work-signing': {'privatekey': '/etc/receptor/signing/work-private-key.pem', 'tokenexpiration': '1m'}},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user