Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hello-nginx-from-ICG-with-agents
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIACERE
public
demos
hello-nginx-from-ICG-with-agents
Commits
8581a403
Commit
8581a403
authored
Apr 7, 2022
by
Benguria Elguezabal, Gorka
Browse files
Options
Downloads
Patches
Plain Diff
pma agents preliminary integration
parent
6f2b4ad3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
ansible/playbooks/pma
+1
-0
1 addition, 0 deletions
ansible/playbooks/pma
main.tf
+15
-0
15 additions, 0 deletions
main.tf
with
19 additions
and
0 deletions
.gitmodules
0 → 100644
+
3
−
0
View file @
8581a403
[submodule "ansible/playbooks/pma"]
path = ansible/playbooks/pma
url = https://git.code.tecnalia.com/piacere/public/agents/pma-playbook.git
This diff is collapsed.
Click to expand it.
pma
@
76fb3507
Subproject commit 76fb3507d97846509eafa3a3bcdbdf0d787dec41
This diff is collapsed.
Click to expand it.
main.tf
+
15
−
0
View file @
8581a403
...
@@ -96,6 +96,21 @@ resource "openstack_compute_instance_v2" "nginx" {
...
@@ -96,6 +96,21 @@ resource "openstack_compute_instance_v2" "nginx" {
network
{
network
{
port
=
openstack_networking_port_v2
.
nginx
.
id
port
=
openstack_networking_port_v2
.
nginx
.
id
}
}
# this is subject to be moved to IEM as part of its baseline
provisioner
"local-exec"
{
command
=
"ansible-galaxy collection install community.general"
}
# this is subject to be moved to IEM as part of its baseline
provisioner
"local-exec"
{
command
=
"ansible-playbook ansible/playbooks/pma/site_requirements.yaml"
}
# secrets can be taken from environment variables at IEM but these security issues I will leave them to y2, the user can also be problematic ubuntu/root/centos/...
provisioner
"local-exec"
{
command
=
"ansible-playbook -u root -i '
${
openstack_networking_floatingip_v2
.
nginx
.
address
}
,' ansible/playbooks/pma/site.yaml --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
\"
}'"
}
}
}
# Create network port
# Create network port
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment