Rename db hosts to sqldb

This commit is contained in:
Timo Makinen 2021-08-28 13:38:47 +00:00
parent f848891918
commit 06ac7fc7cc
4 changed files with 6 additions and 6 deletions

25
playbooks/sqldb.yml Normal file
View file

@ -0,0 +1,25 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=sqldb"
- name: configure instance
hosts: sqldb
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
- mariadb