Add registry hosts

This commit is contained in:
Timo Makinen 2021-09-08 17:45:21 +00:00
parent d9366b6c96
commit 38890e468d
4 changed files with 44 additions and 0 deletions

24
playbooks/registry.yml Normal file
View file

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