Add forgejo hosts
This commit is contained in:
parent
c479b7fcea
commit
9a5f632ce4
4 changed files with 48 additions and 0 deletions
28
playbooks/forgejo.yml
Normal file
28
playbooks/forgejo.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
- name: Deploy KVM virtual machines
|
||||
ansible.builtin.import_playbook: include/deploy-kvm-guest.yml
|
||||
vars:
|
||||
myhosts: forgejo
|
||||
|
||||
- name: Configure instance
|
||||
hosts: forgejo
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
||||
vars_files:
|
||||
- "{{ ansible_private }}/vars.yml"
|
||||
|
||||
pre_tasks:
|
||||
- name: Mount /export
|
||||
ansible.posix.mount:
|
||||
name: /export
|
||||
src: LABEL=/export
|
||||
fstype: xfs
|
||||
opts: noatime,noexec,nosuid,nodev
|
||||
passno: "0"
|
||||
dump: "0"
|
||||
state: mounted
|
||||
|
||||
roles:
|
||||
- base
|
||||
- forgejo
|
Loading…
Add table
Add a link
Reference in a new issue