1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Hannes Ljungberg e58f23b73e docker_swarm: Return UnlockKey (#54490)
* Return UnlockKey

* Add changelog fragment

* Add method to check if a parameter exists in diffs

* Add method to get swarm unlock key

* Add option unlock_key

* Only return unlock key when created or changed

* Rename difference check

* Extend unlock key example

* Assert that unlock_key is a string

* Fix docker_swarm_info authors

* Don’t silence APIErrors

* Test unlock_key on unlocked swarm

* Catch APIError when retrieving unlock key

* Better return value description

* Lint

* Fix UnlockKey return value documentation

Co-Authored-By: hannseman <hannes@5monkeys.se>

* Get unlock key safely

Co-Authored-By: hannseman <hannes@5monkeys.se>

* Return None on empty UnlockKey

* Assert swarm_unlock_key is undefined if unqueried

* Add documentation about swarm_info unlock_key

* Add change log fragment for unlock_key option

* Revert "Add change log fragment for unlock_key option"

This reverts commit e3cb2325b552e5d14cc3f42b33a86bf3ee84d3b9.

* Use generator expression instead

* Restart docker more decisively

* Use systemctl kill

Co-Authored-By: hannseman <hannes@5monkeys.se>

* Try to restart docker daemon
2019-04-01 12:19:18 +01:00
..
cache
env
integration docker_swarm: Return UnlockKey (#54490) 2019-04-01 12:19:18 +01:00
legacy Cleanup yaml files with incorrect task attrs (#53813) 2019-03-15 13:05:09 -04:00
results
runner Test FreeBSD 12.0 with Python 3.x by default. 2019-03-28 21:15:15 -07:00
sanity cloudstack: fix E326 (#54657) 2019-03-31 23:36:56 +02:00
units BIGIP: deprecates TMOS v11.x support for GTM modules (#54543) 2019-03-30 14:52:55 -07:00
utils Slightly increase non-coverage unit test timeout. 2019-03-21 09:30:43 -07:00