Barais 0836898fec Merge pull request #2 from francoisautin/main
fix: replaced deprecated ansible.builtin.include
2024-01-25 12:30:09 +01:00
2022-12-12 08:42:35 +01:00
2022-12-12 08:29:26 +01:00
2021-12-02 11:43:36 +01:00
2022-12-05 07:55:41 +01:00

demoAnsible

Setup

  • Install Virtualbox
  • Install vagrant
  • Install ansible
  • Start the VMs using vagrant
git clone https://github.com/barais/demoAnsible
cd vagrant
vagant up
# Check that the VM are up
# Check that you can login using ssh (ssh vagrant@192.168.56.141 # password: vagrant)

Demo 1

Run the playbook

ansible-playbook playbook.yml -i hosts

Try to access http://192.168.56.141/index.php

Demo 2

  • Kill the VMs and remove them.
  • Use vagrant to recreate them from scratch
git clone https://github.com/barais/demoAnsible
cd vagrant
vagant up
# Check that the VM are up
# Check that you can login using ssh (ssh vagrant@192.168.56.141 # password: vagrant)

Run the playbook

ansible-playbook site.yml -i hosts

Try to access http://192.168.56.141/index.php

Description
No description provided
Readme 64 KiB
Languages
Jinja 100%