1
0

Actualiser Home

2025-01-31 10:15:21 +01:00
parent 9a164359fd
commit b786255b98
+4 -2
@@ -81,8 +81,11 @@ autorisations daccès. |
## II.2 - Configurer Ansible pour utiliser le Service Principal ## II.2 - Configurer Ansible pour utiliser le Service Principal
On utilise un fichier de configuration : On utilise un fichier de configuration :
Créer un fichier ~/.azure/credentials et ajouter : Créer un fichier ~/.azure/credentials
![](https://git.yh.genj.fr/polaire/INFR010-Automatiser_deploiement_serveurd/raw/branch/main/screens/5.png)
Puis, on va ajouter les informations en se refferant au tableau ci-dessous :
``` ```
[default] [default]
@@ -99,7 +102,6 @@ tenant=66666666-7777-8888-9999-000000000000
| tenant | Tenant ID → Identifiant de ton Azure Active Directory (AAD). | | tenant | Tenant ID → Identifiant de ton Azure Active Directory (AAD). |
| subscriptionId | Identifiant de l'abonnement Azure. | | subscriptionId | Identifiant de l'abonnement Azure. |
![](https://git.yh.genj.fr/polaire/INFR010-Automatiser_deploiement_serveurd/raw/branch/main/screens/5.png)
A ajouter dans le fichier yml : A ajouter dans le fichier yml :