Skip to content

Commit

Permalink
Merge pull request ceph#1067 from ceph/wip-change-order
Browse files Browse the repository at this point in the history
[task/internal]: run the redhat internal task after ansible.cephlab task
  • Loading branch information
zmc authored Apr 26, 2017
2 parents a4a6d67 + 277a431 commit f4430d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions teuthology/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,6 @@ def get_initial_tasks(lock, config, machine_type):
])
init_tasks.append({'internal.timer': None})

if 'redhat' in config:
init_tasks.extend([
{'internal.setup_cdn_repo': None},
{'internal.setup_base_repo': None},
{'internal.setup_additional_repo': None},
{'kernel.install_latest_rh_kernel': None}
])

if 'roles' in config:
init_tasks.extend([
{'pcp': None},
Expand All @@ -233,6 +225,14 @@ def get_initial_tasks(lock, config, machine_type):
{'clock': None}
])

if 'redhat' in config:
init_tasks.extend([
{'internal.setup_cdn_repo': None},
{'internal.setup_base_repo': None},
{'internal.setup_additional_repo': None},
{'kernel.install_latest_rh_kernel': None}
])

return init_tasks


Expand Down

0 comments on commit f4430d9

Please sign in to comment.