Sha256: afb0be9a1d79dcdd4cd935a6723218af4eff909af38ac4183c2dfe9413e2fdcc

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :
@ansible_home = "/home/vagrant/.ansible"

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"

  # Copy the Ansible playbook over to the guest machine, run rsync-auto to automatically
  # pull in the latest changes while a VM is running.
  config.vm.synced_folder "../", "#{@ansible_home}/roles/ansible-logrotate", type: 'rsync'

  # The working ansible directory created by ansible_local is owned by root
  config.vm.provision "shell", inline: "chown vagrant:vagrant #{@ansible_home}"

  config.vm.provision "ansible_local" do |ansible|
    ansible.playbook = "test.yml"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taperole-2.1.1 vendor/nickhammond.logrotate/tests/Vagrantfile
taperole-2.1.0 vendor/nickhammond.logrotate/tests/Vagrantfile