mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-09 11:52:31 +00:00
Finish ansible_to_update_debian_on_lan.md
note ✨
This commit is contained in:
parent
ee47574acb
commit
47950b4963
|
@ -1,7 +1,7 @@
|
|||
Title: Mise à jour d'un réseau local Debian avec Ansible
|
||||
Date: 2020-04-19 00:43
|
||||
Category: Bloc-notes
|
||||
Status: Draft
|
||||
Status: published
|
||||
Summary: Mise à jour d'un parc Debian hétérogène (packages &_config), avec packages hors dépôt.
|
||||
Tags: ansible, admin, debian, mate, devops, shell, git, dry
|
||||
|
||||
|
@ -20,7 +20,12 @@ Mise à jour d'un parc Debian hétérogène, pour l'exercice, le réseau familli
|
|||
|
||||
### _Talk is cheap. Show me the code._
|
||||
|
||||
Voir [`free_zed/myasb`][repo]
|
||||
- [Installer Ansible][install]
|
||||
- récupérer [le _playbook_][repo] : `git clone https://gitlab.com/free_zed/myasb.git`
|
||||
- se mettre dans la bonne branche : `cd myasb; git checkout lan`
|
||||
- adapter [l'inventaire][host] avec les adresses de vos machines : `$EDITOR hosts`
|
||||
- jouer le _playbook_ : `ansible-playbook -i hosts site.yml`
|
||||
- …et volà!
|
||||
|
||||
|
||||
### Remarques
|
||||
|
@ -40,3 +45,5 @@ Voir [`free_zed/myasb`][repo]
|
|||
|
||||
[repo]: https://gitlab.com/free_zed/myasb/-/tree/lan
|
||||
[mindustry]: https://github.com/Anuken/Mindustry/
|
||||
[install]: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
|
||||
[host]: https://gitlab.com/free_zed/myasb/-/blob/lan/hosts
|
||||
|
|
Loading…
Reference in New Issue
Block a user