---
##################################################
# Vault Agent Certificate Deployment Playbook   #
#                                                #
# Deploys Vault Agent with AppRole auth for     #
# automated certificate retrieval from Vault     #
##################################################

- name: Deploy Vault Agent for Certificate Management
  hosts: vault_agent
  become: true

  vars:
    arch_mapping:
      x86_64: amd64
      aarch64: arm64

  roles:
    - vault_agent
