silpion / ansible-packerio

Install the latest version of packer.io.
Apache License 2.0
1 stars 4 forks source link

ansible-packerio

Manage installation of the latest stable version of packer.io.

Requirements

None.

Role Variables

Dependencies

None.

Example Playbook

- hosts: all
  roles:
     - { role: ansible-packerio }

License

Apache Version 2.0

Integration testing

This role provides integration tests using the Ruby RSpec/serverspec framework with a few drawbacks at the time of writing this documentation.

Running integration tests requires a number of dependencies being installed. As this role uses Ruby RSpec there is the need to have Ruby with rake and bundler available.

# install role specific dependencies with bundler
bundle install
# run the complete test suite with Docker
rake suite
# run the complete test suite with Vagrant
RAKE_ANSIBLE_USE_VAGRANT=1 rake suite

Author information

Mark Kusch @mark.kusch silpion.de