summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that node names are lowerecased before matchingScott Dodson2018-01-221-1/+1
| | | | | | | | The name field is always lowercase whereas the nodename may not have been in the past. Ensure that we lowercase it before looking for matching nodes. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1396350
* Ensure host was reached for proper conditional validationRussell Teague2017-10-111-0/+1
| | | | | | | | | | | | If a host was unreachable during module setup, facts will not be initialized properly and will result in later failures when stepping through host groups. Verification that 'openshift' is defined will skip any hosts which were previously unreachable and did not have facts initialized. Fixes 1499254 https://bugzilla.redhat.com/show_bug.cgi?id=1499254
* Verify matched openshift_upgrade_nodes_labelRussell Teague2017-06-191-20/+25
| | | | | | | Verifies the provided label matches a set of hosts prior to upgrading. If the label didn't match hosts, the upgrade would silently proceed with upgrading all nodes given the logic for creating the oo_nodes_to_upgrade group.
* Modify playbooks to use oc_obj moduleRussell Teague2017-02-141-13/+12
|
* Standardize add_host: with name and changed_whenRussell Teague2017-01-251-0/+1
| | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Allow filtering nodes to upgrade by label.Devan Goodwin2016-09-291-0/+40