mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-20 17:31:24 -07: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:
parent
09d68678ee
commit
52cce0b7af
3 changed files with 5 additions and 3 deletions
|
@ -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'])
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue