Add workaround for intermittent Ansible error

Change Vagrantfile to call simple Ansible playbook instead of full provisioning playbook until intermitttent errors with full playbook can be resolved.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
Scott S. Lowe 2016-12-07 10:24:29 -07:00
parent fc25d65cf9
commit e37f86f1c2
2 changed files with 11 additions and 1 deletions

View file

@ -71,6 +71,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Provision the VM with Ansible
config.vm.provision 'ansible' do |ansible|
ansible.playbook = 'provision.yml'
ansible.playbook = 'update.yml'
end # config.vm.provision
end # Vagrant.configure

View file

@ -0,0 +1,10 @@
---
- hosts: "all"
become: "yes"
remote_user: "vagrant"
tasks:
- name: Update package cache
apt:
update_cache: "yes"
cache_valid_time: "3600"