Skip to content

Commit

Permalink
Remove/update TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoodwin committed Jul 8, 2016
1 parent 5628e0c commit 2a8b144
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
- include: ../../../../../roles/openshift_node/handlers/main.yml
tasks:
# TODO: To better handle re-trying failed upgrades, it would be nice to check if the node
# or docker actually needs an upgrade before proceeding.
# or docker actually needs an upgrade before proceeding. Perhaps best to save this until
# we merge upgrade functionality into the base roles and a normal config.yml playbook run.
- name: Mark unschedulable if host is a node
command: >
{{ openshift.common.admin_binary }} manage-node {{ openshift.common.hostname | lower }} --schedulable=false
Expand Down
2 changes: 0 additions & 2 deletions roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
changed_when: false
when: docker_version is defined and not openshift.common.is_atomic | bool

# TODO: Should we use docker_version defaulted to 1.10 here?

# If a docker_version was requested, sanity check that we can install or upgrade to it, and
# no downgrade is required.
- name: Fail if Docker version requested but downgrade is required
Expand Down
3 changes: 0 additions & 3 deletions roles/openshift_facts/library/openshift_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,9 +1142,6 @@ def get_openshift_version(facts):
if os.path.isfile('/usr/bin/openshift'):
_, output, _ = module.run_command(['/usr/bin/openshift', 'version'])
version = parse_openshift_version(output)
# TODO: it probably makes more sense to read this from sysconfig service env files,
# these control the running versions when containerized, and would work even if the service
# is dead for some reason.
elif 'common' in facts and 'is_containerized' in facts['common']:
version = get_containerized_openshift_version(facts)

Expand Down
1 change: 0 additions & 1 deletion roles/openshift_version/tasks/set_version_rpm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# TODO: support openshift_release here?
- name: Set rpm version to configure if openshift_pkg_version specified
set_fact:
# Expects a leading "-" in inventory, strip it off here, and remove trailing release,
Expand Down

0 comments on commit 2a8b144

Please sign in to comment.