exclude VPS from vault

This commit is contained in:
vincent 2023-08-26 17:30:41 +02:00
parent 0d983dd085
commit efa707dea0

View File

@ -1,10 +1,11 @@
---
- hosts: all
name: Hashicorp stack
roles:
- role: ansible-consul
become: true
- role: ansible-hashicorp-vault
when: ansible_architecture == 'x86_64'
when: inventory_hostname not in groups['VPS']
become: true
- role: ansible-consul
become: true
- role: ansible-nomad
become: true