This role restarts a server. This is typically useful after making changes that take effect after a server restart.
This role requires elevated system privilege.
Variable | Default | Description |
---|---|---|
start_check_delay: | 15 | Delay in seconds to wait before checking server status |
server_restart_timeout | 60 | Timeout in seconds that the server should have restarted by |
wait_for and shell modules
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers roles: - { role: apigee-server-restart }
Apache 2.0
Carlos Frias
This is not an officially supported Google product.
We'd love to accept your patches and contributions to this project. Please review our guidelines.