Skip to content
Snippets Groups Projects
Commit a4cf851b authored by debora.benedetto@hpe.com's avatar debora.benedetto@hpe.com
Browse files

update output example files generated

parent 40395e90
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,6 @@ required_version = ">= 0.14.0"
# Configure the OpenStack Provider
provider "openstack" {
user_name = var.openstack_username
tenant_name = "admin"
password = var.openstack_password
auth_url = var.openstack_auth_url
insecure = true
}
......
---
input: []
input:
- instance_server_public_key
output: []
engine: ansible
...
......@@ -3,7 +3,7 @@
gather_facts: no
become: yes
vars:
ansible_ssh_private_key_file: "/home/user1/.ssh/openstack.key"
ansible_ssh_private_key_file: "{{instance_server_public_key}}"
ansible_ssh_user: "ubuntu"
tasks:
- name: Update repositories
......
......@@ -10,10 +10,6 @@ required_version = ">= 0.14.0"
# Configure the OpenStack Provider
provider "openstack" {
user_name = var.openstack_username
tenant_name = "admin"
password = var.openstack_password
auth_url = var.openstack_auth_url
insecure = true
}
......@@ -33,7 +29,7 @@ data "openstack_networking_secgroup_v2" "default" {
# Create virtual machine
resource "openstack_compute_instance_v2" "nginx" {
name = "nginx-host"
image_name = "cirros"
image_name = "ubuntu-18.04"
flavor_name = "m1.tiny"
key_pair = openstack_compute_keypair_v2.user_key.name
network {
......
telegraf_agent_package_state: latest
telegraf_agent_output:
- type: influxdb_v2
config:
- urls = ["{{ pma_influxdb_addr }}"]
- token = "{{ pma_influxdb_token }}"
- organization = "{{ pma_influxdb_org }}"
- bucket = "{{ pma_influxdb_bucket }}"
- insecure_skip_verify = true
telegraf_global_tags:
- tag_name: deployment_id
tag_value: "{{ pma_deployment_id }}"
telegraf_plugins_default:
- plugin: cpu
- plugin: mem
- plugin: processes
- plugin: disk
- plugin: net
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment