Skip to content

manurodriguez/imagebuilder

Repository files navigation

= imagebuilder on RHEL 8

Ansible playbooks to deploy imagebuilder VM on KVM/Libvirt

== Setup a secret for secured variables

vi .vault_secret

== Update secured variables in roles//default/main.yaml

ansible-vault encrypt_string --vault-password-file .vault_secret --encrypt-vault-id default --name 'password' 'somepassword'

= Build VM and setup imagebuilder

ansible-playbook build.yaml --vault-password-file .vault_secret 
ansible-playbook setup.yaml --vault-password-file .vault_secret 

= Destroy

ansible-playbook teardown.yaml
sudo systemctl restart libvirtd

Note2: You can use tags: server

About

Ansible playbooks to provision imagebuilder vm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages