Add influxdb hosts

This commit is contained in:
Timo Makinen 2022-07-12 14:08:06 +00:00
parent b05e702219
commit 4364741d45
5 changed files with 44 additions and 0 deletions

25
playbooks/influxdb.yml Normal file
View file

@ -0,0 +1,25 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=influxdb"
- name: configure instance
hosts: influxdb
user: root
gather_facts: true
vars_files:
- "{{ ansible_private }}/vars.yml"
pre_tasks:
- name: mount /export
mount:
name: /export
src: LABEL=/export
fstype: xfs
opts: noatime,noexec,nosuid,nodev
passno: "0"
dump: "0"
state: mounted
roles:
- base
- influxdb