From c8a529613c3b63e5d8c7460f5303839edd33256a Mon Sep 17 00:00:00 2001 From: Polaire Date: Fri, 31 Jan 2025 10:09:12 +0100 Subject: [PATCH] Actualiser Home --- Home.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Home.md b/Home.md index 4b7663d..1f9209c 100644 --- a/Home.md +++ b/Home.md @@ -51,12 +51,12 @@ Une fois le fichier créer, on lance la commande : ![](https://git.yh.genj.fr/polaire/INFR010-Automatiser_deploiement_serveurd/raw/branch/main/screens/1.png) -# II - Connexion à Azure +# II - Actions sur Azure az login -## a- Créer un Service Principal dans Azure : +## II.1 - Créer un Service Principal dans Azure : `az ad sp create-for-rbac --name "AnsibleServicePrincipal" --role="Contributor" --scopes="/subscriptions/"` @@ -78,7 +78,7 @@ autorisations d’accès. | } ``` -## b- Configurer Ansible pour utiliser le Service Principal +## II.2 - Configurer Ansible pour utiliser le Service Principal On utilise un fichier de configuration : Créer un fichier ~/.azure/credentials et ajouter :