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

Merge branch 'feature/pma' into 'master'

Feature/pma

See merge request piacere/private/t51-iem/hello-nginx-with-agents!1
parents d356e2fb 399a034d
No related branches found
No related tags found
1 merge request!1Feature/pma
[submodule "ansible/playbooks/pma"]
path = ansible/playbooks/pma
url = https://git.code.tecnalia.com/piacere/private/t61-runtime-monitoring/pm/pma-playbook.git
# https://docs.ansible.com/ansible/latest/reference_appendices/config.html
[defaults]
host_key_checking = False
inventory = {{CWD}}/hosts.yaml ; This points to the file that lists your hosts
remote_user = root
deprecation_warnings=False ; to remove the python version depretation warning
display_skipped_hosts = no
pma @ 19fa8e44
Subproject commit 19fa8e443967fae85fe7dc9133b6e5ada2cda7a8
......@@ -46,6 +46,14 @@ resource "aws_instance" "server0" {
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 --extra-vars '{\"pma_deployment_id\": \"123e4567-e89b-12d3-a456-426614174002\", \"pma_influxdb_bucket\": \"bucket\", \"pma_influxdb_token\": \"piacerePassword\", \"pma_influxdb_org\": \"piacere\", \"pma_influxdb_addr\": \"https://influxdb.pm.ci.piacere.digital.tecnalia.dev\" }'"
}
tags = {
Name = "hello-nginx"
}
......
all:
hosts:
10.0.60.5:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment