init nas config

This commit is contained in:
vincent 2023-11-14 19:19:50 +01:00
parent f0dd3e8f33
commit 3628139699
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,46 @@
---
prerun: false
dependency:
name: galaxy
enabled: false
driver:
name: vagrant
provider:
name: libvirt
default_box: archlinux/archlinux
platforms:
- name: oscar-dev
cpu: 1
memory: 1024
box: archlinux/archlinux
- name: merlin-dev
cpu: 1
memory: 1024
box: generic/rocky9
- name: gerard-dev
cpu: 1
memory: 1024
box: debian/bookworm64
- name: nas-dev
cpu: 1
memory: 1024
box: archlinux/archlinux
provisioner:
name: ansible
connection_options:
ansible_ssh_user: vagrant
ansible_become: true
env:
ANSIBLE_CONFIG: ../../ansible.cfg
ANSIBLE_ROLES_PATH: "../../roles"
log: true
lint:
name: ansible-lint
inventory:
host_vars: []
links:
group_vars: ../../group_vars
hosts: ../../staging
verifier:
name: ansible

View File

@ -40,3 +40,5 @@
- src: git@github.com:vincentDcmps/ansible-role-nfs.git - src: git@github.com:vincentDcmps/ansible-role-nfs.git
scm: git scm: git
- src: https://github.com/PowerDNS/pdns_recursor-ansible.git - src: https://github.com/PowerDNS/pdns_recursor-ansible.git
- src: ssh://git@git.ducamps.eu:2222/ansible-roles/ansible-role-samba.git
scm: git

View File

@ -1,4 +1,5 @@
--- ---
- import_playbook: playbooks/nas.yml
- import_playbook: playbooks/sssd.yml - import_playbook: playbooks/sssd.yml
- import_playbook: playbooks/wireguard.yml - import_playbook: playbooks/wireguard.yml
- import_playbook: playbooks/server.yml - import_playbook: playbooks/server.yml

View File

@ -25,8 +25,12 @@ homelab
VPS VPS
staging staging
[NAS]
nas-dev
[staging] [staging]
oscar-dev oscar-dev
gerard-dev gerard-dev
merlin-dev merlin-dev
nas-dev