Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Commit

Permalink
Install Packer with the role from Ansible Galaxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
FGtatsuro committed Jan 31, 2016
1 parent 4d786c5 commit 02ff43a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Vagrant.configure(2) do |config|
end

config.vm.provision 'ansible_local' do |ansible|
ansible.galaxy_role_file = 'requirements.yml'
ansible.playbook = 'site.yml'
ansible.verbose = true
end
Expand Down
1 change: 1 addition & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- src: craneworks.packer
5 changes: 3 additions & 2 deletions vagrant.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- hosts: all
tasks:
- command: hostname
sudo: yes
roles:
- { role: craneworks.packer, packer_path: /opt/packer/bin }

0 comments on commit 02ff43a

Please sign in to comment.