mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
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:
parent
fc25d65cf9
commit
e37f86f1c2
2 changed files with 11 additions and 1 deletions
2
ovn-docker-ansible/Vagrantfile
vendored
2
ovn-docker-ansible/Vagrantfile
vendored
|
|
@ -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
|
||||
|
|
|
|||
10
ovn-docker-ansible/update.yml
Normal file
10
ovn-docker-ansible/update.yml
Normal 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"
|
||||
Loading…
Reference in a new issue