ansible-role-redhat-subscri.../tests/Vagrantfile
Sam Doran b6cc4a511d Add resiliency to subscription management role
* When registration, fails automatically run recovery tasks to ensure a
  successful registration
* Add rhsm_repository module to role to allow using the role with Anisble < 2.5
* Add feature to rhsm_repository module to purge repos not listed in the task
* Change how the role handles multiple repositories for much faster
  execution time
* Update README with information on new repo behavior and purge option

Change-Id: I8a0b20bf72fb56426b51b94e9936f6174d43c248
2018-11-06 10:51:30 -05:00

31 lines
736 B
Ruby

Vagrant.configure(2) do |config|
# RHEL 6
config.vm.define "rhsm-rhel6" do |rhel6|
rhel6.vm.box = "samdoran/rhel6"
rhel6.vm.hostname = "rhsm-rhel6"
config.vm.provider "virtualbox" do |vbox|
vbox.name = "rhsm-rhel6"
vbox.cpus = 1
vbox.memory = 1024
end
end
# RHEL 7
config.vm.define "rhsm-rhel7" do |rhel7|
rhel7.vm.box = "samdoran/rhel7"
rhel7.vm.hostname = "rhsm-rhel7"
config.vm.provider "virtualbox" do |vbox|
vbox.name = "rhsm-rhel7"
vbox.cpus = 1
vbox.memory = 1024
end
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = 'vagrant.yml'
ansible.extra_vars = 'vars/portal.yml'
ansible.compatibility_mode = '2.0'
end
end