summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/etcd_volume.py
Commit message (Collapse)AuthorAgeFilesLines
* health checks: add diagnostics checkLuke Meyer2017-09-211-1/+1
| | | | | | Also, moved is_first_master method into superclass for reuse. And look at oo_first_master and ansible_host instead of masters and ansible_ssh_host.
* openshift_checks: refactor find_ansible_mountLuke Meyer2017-08-081-16/+4
| | | | Reuse the code for finding the ansible_mounts mount for a path.
* openshift_checks: add property to track 'changed'Luke Meyer2017-08-021-1/+1
| | | | | | | | | | Introduced the 'changed' property for checks that can make changes to track whether they did or not. Rather than the check's own logic having to track this and include it in the result hash, just set the property and have the action plugin insert it in the result hash after running (even if there is an exception). Cleared out a lot of crufty "changed: false" hash entries.
* openshift_checks: refactor to internalize task_varsLuke Meyer2017-07-251-13/+10
| | | | | | | | | Move task_vars into instance variable so we don't have to pass it around everywhere. Also store tmp. Make sure both are filled in on execute_module. In the process, is_active became an instance method, and task_vars is basically never used directly outside of test code.
* revert role-specific var namejuanvallejo2017-05-151-1/+1
|
* Merge branch 'jvallejo/add-etcd-volume-check' of ↵juanvallejo2017-05-121-5/+7
|\ | | | | | | github.com:juanvallejo/openshift-ansible into jvallejo/add-etcd-volume-check
| * Update variable name to standardRodolfo Carvalho2017-05-111-1/+1
| | | | | | It was agreed to name role variables as `r_ROLE_NAME_VARIABLE_NAME`. Giving it a try.
| * Make class attribute name shorterRodolfo Carvalho2017-05-111-4/+4
| |
| * Add module docstringRodolfo Carvalho2017-05-111-0/+2
| |
* | check if hostname is in list of etcd hostsjuanvallejo2017-05-121-3/+4
|/
* Update checkRodolfo Carvalho2017-05-101-35/+33
|
* int -> floatRodolfo Carvalho2017-05-101-3/+3
| | | We don't need to convert to int and then to float. Read it as float from the start.
* Remove vim lineRodolfo Carvalho2017-05-101-1/+0
| | | It has been agreed that we don't use it any longer.
* add etcd volume checkjuanvallejo2017-05-091-0/+58