diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 3fb5db3..5a4d63b 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,7 +13,7 @@ "state": { "type": "markdown", "state": { - "file": "ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md", + "file": "ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md", "mode": "source", "source": false, "backlinks": true, @@ -28,7 +28,7 @@ } }, "icon": "lucide-file", - "title": "Cloud Computing Cours 1" + "title": "TP 2 Ansible" } } ] @@ -206,8 +206,10 @@ }, "active": "e11a6a080eb83632", "lastOpenFiles": [ - "ISEN/Réunion/CIPA 4/Réunion 8 janv 2026.md", + "ISEN/Cloud Computing/CIPA4/TP 1 Ansible.md", + "ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md", "ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md", + "ISEN/Réunion/CIPA 4/Réunion 8 janv 2026.md", "ISEN/Cloud Computing/CIPA4", "ISEN/Cloud Computing", "ISEN/Web/CIPA 4/TP/TP1/TP1_MARQUET.zip", @@ -241,8 +243,6 @@ "ISEN/JAVA/CIPA4/TP/TP2/TP2.md", "ISEN/FHS/A1/Réunion stage associatif.md", "ISEN/FHS/A1/Démocratie/Démocracie cours 7.md", - "ISEN/BDD/CIPA4/modelisation-cas-immo.md", - "ISEN/BDD/CIPA4/Cas modélisation alternatifs.md", "Pasted image 20251009192656.png", "src/Pasted image 20240130111505.png", "src/Pasted image 20240123120819.png", diff --git a/ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md b/ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md index 265aa7a..9e0542b 100644 --- a/ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md +++ b/ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md @@ -1,2 +1,24 @@ #CIPA4 #CloudComputing #DP # Ansible +## TP +```Bash +ssh root@135.125.246.84 +``` +mdp : moutard42 + +### Installation +Install ansible on `localhost` + +```text +apt install ansible +``` + +### Ad-hoc ping +Q: What happened behing the scene? +It ping the localhost. + +### Ad-hoc shell +Q: what command can you use to get the IP of your machine? +```Bash +ansible localhost -m shell -a "ip a" +``` diff --git a/ISEN/Cloud Computing/CIPA4/TP 1 Ansible.md b/ISEN/Cloud Computing/CIPA4/TP 1 Ansible.md new file mode 100644 index 0000000..a615b67 --- /dev/null +++ b/ISEN/Cloud Computing/CIPA4/TP 1 Ansible.md @@ -0,0 +1,29 @@ +#CIPA4 #CloudComputing #DP #Ansible #TP +## TP 1 +```Bash +ssh root@135.125.246.84 +``` +mdp : moutard42 + +### Installation +Install ansible on `localhost` + +```text +apt install ansible +``` + +### Ad-hoc ping +Q: What happened behing the scene? +It ping the localhost. + +### Ad-hoc shell +Q: what command can you use to get the IP of your machine? +```Bash +ansible localhost -m shell -a "ip a" +``` + +### Ad-hoc setup +Q: using this module, what other command can you use to retrieve the ip of your host? +```Bash +ansible localhost -m setup -a "filter=ansible_default_ipv4" +``` \ No newline at end of file diff --git a/ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md b/ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md new file mode 100644 index 0000000..a615b67 --- /dev/null +++ b/ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md @@ -0,0 +1,29 @@ +#CIPA4 #CloudComputing #DP #Ansible #TP +## TP 1 +```Bash +ssh root@135.125.246.84 +``` +mdp : moutard42 + +### Installation +Install ansible on `localhost` + +```text +apt install ansible +``` + +### Ad-hoc ping +Q: What happened behing the scene? +It ping the localhost. + +### Ad-hoc shell +Q: what command can you use to get the IP of your machine? +```Bash +ansible localhost -m shell -a "ip a" +``` + +### Ad-hoc setup +Q: using this module, what other command can you use to retrieve the ip of your host? +```Bash +ansible localhost -m setup -a "filter=ansible_default_ipv4" +``` \ No newline at end of file