diff --git a/templates/ansible/ubuntu/performance_monitoring_main.tpl b/templates/ansible/ubuntu/performance_monitoring_main.tpl deleted file mode 100644 index 8b32d6384d9ec8979ab6561920b6e5165386cad3..0000000000000000000000000000000000000000 --- a/templates/ansible/ubuntu/performance_monitoring_main.tpl +++ /dev/null @@ -1,42 +0,0 @@ ---- -- 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 diff --git a/templates/terraform/vsphere/config.tpl b/templates/terraform/vsphere/config.tpl index 57da2182cb28acac71fa349ae94e92bb6dc513e6..515fdaee9edcc34cf0615d8552a559204cdd95f5 100644 --- a/templates/terraform/vsphere/config.tpl +++ b/templates/terraform/vsphere/config.tpl @@ -17,10 +17,9 @@ --- engine: terraform input: - - VSPHERE_USER - - VSPHERE_PASSWORD - - VSPHERE_SERVER - - VSPHERE_ALLOW_UNVERIFIED_SSL + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_REGION output: {% for vm in vms %} - instance_server_public_key_{{ vm.credentials }}