Skip to content

Commit

Permalink
vagrant: Move yum caching to end of playbook
Browse files Browse the repository at this point in the history
Signed-off-by: Jose A. Rivera <[email protected]>
  • Loading branch information
jarrpa committed Aug 22, 2017
1 parent beb9228 commit 4c8a583
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vagrant/roles/master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,3 @@

- name: wait for dns to be ready
wait_for: host={{ kubednsaddress.stdout }} port=53 state=started timeout=1800

- include: yum_cache.yml
when: vagrant_cache

#- name: save iptables
# command: service iptables save
11 changes: 11 additions & 0 deletions vagrant/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@
- "global_vars.yml"
roles:
- nodes

- hosts: master
become: yes
become_method: sudo
vars_files:
- "global_vars.yml"
tasks:
- include_role:
name: master
tasks_from: yum_cache.yml
when: vagrant_cache

0 comments on commit 4c8a583

Please sign in to comment.