Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICG - Infrastucture as Code Generator
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PIACERE
public
The Platform
ICG - Infrastucture as Code Generator
Commits
098fdc3e
Commit
098fdc3e
authored
1 year ago
by
laurentiu.niculut@hpe.com
Browse files
Options
Downloads
Patches
Plain Diff
y2 release
parent
0d46d8b9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/ansible/ubuntu/performance_monitoring_main.tpl
+0
-42
0 additions, 42 deletions
templates/ansible/ubuntu/performance_monitoring_main.tpl
templates/terraform/vsphere/config.tpl
+3
-4
3 additions, 4 deletions
templates/terraform/vsphere/config.tpl
with
3 additions
and
46 deletions
templates/ansible/ubuntu/performance_monitoring_main.tpl
deleted
100644 → 0
+
0
−
42
View file @
0d46d8b9
---
- hosts: localhost
tasks:
- name: print disclamer
debug:
msg: this can also be done with "ansible-galaxy install -r requirements"
- name: install telegraf from galaxy
community.general.ansible_galaxy_install:
type: role
requirements_file: ansible_requirements.yml
- hosts: servers_for_performance_monitoring
pre_tasks:
- name: Check parameters
fail:
msg: 'variable {
{
item
}
} not defined'
when: item is not defined
with_items:
- pma_deployment_id
- pma_influxdb_bucket
- pma_influxdb_token
- pma_influxdb_org
- pma_influxdb_addr
- name: Print parameters
debug:
msg:
- "pma_deployment_id: {{ pma_deployment_id }}"
- "pma_influxdb_bucket: {{ pma_influxdb_bucket }}"
- "pma_influxdb_token: {{ pma_influxdb_token }}"
- "pma_influxdb_org: {{ pma_influxdb_org }}"
- "pma_influxdb_addr: {{ pma_influxdb_addr }}"
- name: Ensure gnupg package
package:
name: gnupg
state: present
become: true
vars_files:
- vars/main.yaml
tasks:
- name: Install telegraf
ansible.builtin.include_role:
name: dj-wasabi.telegraf
This diff is collapsed.
Click to expand it.
templates/terraform/vsphere/config.tpl
+
3
−
4
View file @
098fdc3e
...
@@ -17,10 +17,9 @@
...
@@ -17,10 +17,9 @@
---
---
engine: terraform
engine: terraform
input:
input:
- VSPHERE_USER
- AWS_ACCESS_KEY_ID
- VSPHERE_PASSWORD
- AWS_SECRET_ACCESS_KEY
- VSPHERE_SERVER
- AWS_REGION
- VSPHERE_ALLOW_UNVERIFIED_SSL
output:
output:
{% for vm in vms %}
{% for vm in vms %}
- instance_server_public_key_{{ vm.credentials }}
- instance_server_public_key_{{ vm.credentials }}
...
...
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