diff --git a/ovn-docker-ansible/Vagrantfile b/ovn-docker-ansible/Vagrantfile index 50e5183..30fcfd2 100644 --- a/ovn-docker-ansible/Vagrantfile +++ b/ovn-docker-ansible/Vagrantfile @@ -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 diff --git a/ovn-docker-ansible/update.yml b/ovn-docker-ansible/update.yml new file mode 100644 index 0000000..c05596b --- /dev/null +++ b/ovn-docker-ansible/update.yml @@ -0,0 +1,10 @@ +--- +- hosts: "all" + become: "yes" + remote_user: "vagrant" + + tasks: + - name: Update package cache + apt: + update_cache: "yes" + cache_valid_time: "3600"