mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
removes advertise_addr from required parameters when state is "join" (#646)
* removes advertise_addr from required parameters when state is "join" addressing this issue: https://github.com/ansible-collections/community.general/issues/439 * adjusts test * adds changelog
This commit is contained in:
@@ -627,7 +627,7 @@ def main():
|
||||
)
|
||||
|
||||
required_if = [
|
||||
('state', 'join', ['advertise_addr', 'remote_addrs', 'join_token']),
|
||||
('state', 'join', ['remote_addrs', 'join_token']),
|
||||
('state', 'remove', ['node_id'])
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user