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:
Minh Ha
2020-07-20 12:14:16 -04:00
committed by Felix Fontein
parent 7d44ce9635
commit 19f35bae91
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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'])
]