From d554dabdc55cf4fbc2a1103ae7572f92d1b922d9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 15 Sep 2024 14:21:20 +0100 Subject: [PATCH] Use personal access token for traefik --- .../roles/traefik/files/docker-compose.yml | 2 +- ansible/roles/traefik/vars/vault.yml | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ansible/roles/traefik/files/docker-compose.yml b/ansible/roles/traefik/files/docker-compose.yml index 9504097..ad10c4e 100644 --- a/ansible/roles/traefik/files/docker-compose.yml +++ b/ansible/roles/traefik/files/docker-compose.yml @@ -3,7 +3,7 @@ services: image: traefik:v2.11 user: "{{ docker_user.id }}" environment: - - GANDIV5_API_KEY={{ vault_gandi_api_key }} + - GANDIV5_PERSONAL_ACCESS_TOKEN={{ vault_gandi_personal_access_token }} volumes: - ./traefik:/etc/traefik restart: unless-stopped diff --git a/ansible/roles/traefik/vars/vault.yml b/ansible/roles/traefik/vars/vault.yml index f9f891e..8e641ff 100644 --- a/ansible/roles/traefik/vars/vault.yml +++ b/ansible/roles/traefik/vars/vault.yml @@ -1,10 +1,11 @@ $ANSIBLE_VAULT;1.1;AES256 -36313832623761323139326337643566656138333936643938396363643338333962663735346335 -6332323166363035353965633238656461363234353732660a613130623164393866663265333363 -38336461396561313737326336643165633536373938633737356232613663386236346532643131 -3564663236306131660a653331396564613730626235333033376662633135343439343263323064 -38666665393063663436313932663233633038656661356664313935623130323732313164613632 -38383630373436356466366132326139326534316337326130653231373639343066656261343730 -62643734396261383035643934373964373836623032333963633830663538653733316334376462 -37646431323838626465303436643762636263396639646365303137663161613734323232383234 -37383762396438313262613233326163616463373365336566346336316334313439 +30393461663462666434333462386264383831333936633961636237616338303335393861626336 +3566306338633735613431393736653061636536353335620a366335623630643137343863636161 +37383436323439393965623436393465626362633134346239356463633936396236666164333762 +3565623930353964620a303965626164396536646336313438346464663236633465353036303935 +30373230393432643330663434313637396234306563336137653861333839623530636465653532 +37363239663939303834633332656365363437356236633933313339656563343130383262626539 +61363762663630366430326635386163613936653938303366636363363334643035396233646430 +32636431616335326264343931343064646363393736303263633038623562623965393763636562 +35316264636264366161326463343730613232663539306532303838656338343535376439343834 +3234663334333866376233336538343264623930653662303835