ansible/test/integration
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
..
host_vars
targets docker_swarm: Return UnlockKey (#54490) 2019-04-01 12:19:18 +01:00
cloud-config-aws.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-gitlab.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-hcloud.ini.template Add hcloud server module (#53062) 2019-03-05 07:30:24 +01:00
cloud-config-hwc.yml.template cloud: huawei: Add new module hwc_network_vpc (#54102) 2019-03-30 17:20:54 +01:00
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-openshift.kubeconfig.template
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-vultr.ini.template
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 2019-03-21 21:54:41 -07:00
integration_config.yml
inventory Overhaul ansible-test code coverage and injector. (#53510) 2019-03-13 07:14:12 -07:00
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg Enable force_handlers for integration tests. 2019-01-25 08:51:57 -08:00
target-prefixes.network
windows-integration.cfg Enable force_handlers for integration tests. 2019-01-25 08:51:57 -08:00