Skip to content
Snippets Groups Projects
Verified Commit 31f32878 authored by Andrei Kirushchanka's avatar Andrei Kirushchanka
Browse files

Merge branch 'master' of gitlab.ics.muni.cz:andy1609/terrafrom-demo

parents 00dd29a5 1d47eb02
No related branches found
No related tags found
No related merge requests found
# Terrafrom Demo
At this repo can be found an example of creating basic cloud infrastructure with Terraform and starting web server with ansible
## How to deploy
* Create [applicatin credentials](https://cloud.gitlab-pages.ics.muni.cz/documentation/cloud/cli/#getting-credentials) for your project and copy them to Terrform catalog
* Initialise your Terraform backend with `terraform init`
* Run Terraform with `terraform apply`
Terraform will pripare network infrastructure and create a VM. Then ansible will install web server with basic configuration
* go to ansible catalog
* run `ansible-playbook install_web_server.yml -i ansible_hosts`
* try to open web page
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment