Skip to content
Snippets Groups Projects
Commit f88859db authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

integrates into terraform

parent ce792adb
Branches
No related tags found
No related merge requests found
...@@ -46,6 +46,14 @@ resource "aws_instance" "server0" { ...@@ -46,6 +46,14 @@ resource "aws_instance" "server0" {
command = "ansible-playbook -u ubuntu -i '${self.public_ip},' client.yml" command = "ansible-playbook -u ubuntu -i '${self.public_ip},' client.yml"
} }
provisioner "local-exec" {
command = "ansible-playbook -u ubuntu -i '${self.public_ip},' ansible\playbooks\pma\site_requirements.yml"
}
provisioner "local-exec" {
command = "ansible-playbook -u ubuntu -i '${self.public_ip},' ansible\playbooks\pma\site.yml"
}
tags = { tags = {
Name = "hello-nginx" Name = "hello-nginx"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment