You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Sam Doran 4d9218cec4 Add reboot action plugin (#35205)
* Update docs

* Add reboot action plugin

Refactor win_reboot so it is subclassed from reboot

* Use new connection methods

* Test fixes

* Use better uptime command for Linux

Use who -b to get the last time the system was booted rather than uptime, which changes every second.

* Use distribution specefic commands and flags

Query the managed node to determien its distribution, then set the appropriate command and flags.

* Tune debug messages a bit

* Update module docs with details about pre_reboot_delay

s docs

* Ensure that post_reboot_delay is a positive number

* Remove the stringification

* Add integration tests

* Make sure aliases are honored

* Handle systems that have an incorrect last boot time

SystemD and fakehw-clock do not properly set the
last boot time and instead always set it to epoch.
Use a different command if that is the case.

* Copyright and encoding fixes

* Minor fixes based on feedback

* Add exponential backoff to sucess check method

* Update integration test

Skip the integration test if it would try to reboot the control node. We need a new mechanism to account for this scenario in ansible-test, so tests must currently be run manually for this plugin.

* Update integration test

Skip the integration test if it would try to reboot the control node. We need a new mechanism to account for this scenario in ansible-test, so tests must currently be run manually for this plugin.

* Fail early with running with local connection

* Update docs based on feedback

* minor refactoring, state mgmt changes
8 years ago
..
host_vars Simplify Windows versions in ansible-test. 8 years ago
targets Add reboot action plugin (#35205) 8 years ago
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 8 years ago
cloud-config-azure.yml.template Fix Azure config template. 9 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 8 years ago
cloud-config-opennebula.yml.template opennebula: new module one_host (#40041) 8 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 8 years ago
cloud-config-tower.cfg.template Initial Tower module integration test support. 8 years ago
integration.cfg Fix ansible-test config management. 8 years ago
integration_config.yml Fix pip integration test. 8 years ago
inventory Use the computed role name instead of 'role'. Fixes #38838 (#39516) 8 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 8 years ago
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 10 years ago
inventory.winrm.template Increase python version coverage for tests. (#24762) 9 years ago
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 8 years ago
target-prefixes.network Add cnos to network target prefixes. 8 years ago
windows-integration.cfg Fix ansible-test config management. 8 years ago