ansible/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 e3cb2325b5.

* 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
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