From 351bef555c6e9ed4815b92662d611cd0eedc1c8b Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 14 Nov 2023 19:21:47 +0100 Subject: [PATCH] feat: server playbook for all device --- ansible/playbooks/HashicorpStack.yml | 1 - ansible/playbooks/nas.yml | 3 --- ansible/playbooks/server.yml | 1 + ansible/site.yml | 1 + 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ansible/playbooks/HashicorpStack.yml b/ansible/playbooks/HashicorpStack.yml index 2f41ea3..e8fec82 100644 --- a/ansible/playbooks/HashicorpStack.yml +++ b/ansible/playbooks/HashicorpStack.yml @@ -1,7 +1,6 @@ --- - name: Vault install hosts: homelab - roles: - role: ansible-hashicorp-vault become: true diff --git a/ansible/playbooks/nas.yml b/ansible/playbooks/nas.yml index 2a355b2..33f18d2 100644 --- a/ansible/playbooks/nas.yml +++ b/ansible/playbooks/nas.yml @@ -3,9 +3,6 @@ vars: # certbot_force: true roles: - - system - - role: msmtp - when: ansible_os_family != "RedHat" - role: ansible-role-nfs # - cronie #- ldap diff --git a/ansible/playbooks/server.yml b/ansible/playbooks/server.yml index 77b5943..ea10028 100644 --- a/ansible/playbooks/server.yml +++ b/ansible/playbooks/server.yml @@ -2,6 +2,7 @@ - hosts: - homelab - VPS + - NAS vars: # certbot_force: true tasks: diff --git a/ansible/site.yml b/ansible/site.yml index 8d10e81..e01a383 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -1,4 +1,5 @@ --- +- import_playbook: playbooks/server.yml - import_playbook: playbooks/nas.yml - import_playbook: playbooks/sssd.yml - import_playbook: playbooks/wireguard.yml