vagrant + ansible
I have followed this neat tutorial https://fedoramagazine.org/using-ansible-provision-vagrant-boxes/
After trying out the above, I have tried out provisioning by modifying ansible file.
# vagrant provision
I have followed this neat tutorial https://fedoramagazine.org/using-ansible-provision-vagrant-boxes/
After trying out the above, I have tried out provisioning by modifying ansible file.
So, Add the below lines in lamp.yml and then:
# vagrant provision
lamp.yml
- name: Creates directory
file: path=/tmp/newdirectory state=directory
The above makes changes in running image and can observed using vagrant sshNote, you need to do vagrant ssh in the same directory to verify same. (lampbox in this example).
No comments:
Post a Comment