apt cache playbook #24

Open
thomas.le-magoariec wants to merge 3 commits from feat/deploy-cache into main

@mickael.razzouk t'en pense quoi?

@mickael.razzouk t'en pense quoi?

documentation needed :

  • how to use the cache ?
  • why dedicated machine just for cache ?

maybe add in the bootstrap playbook needed conf to set the cache as default source for all debian vm

documentation needed : - how to use the cache ? - why dedicated machine just for cache ? maybe add in the bootstrap playbook needed conf to set the cache as default source for all debian vm
@ -9,6 +9,9 @@ banquise-vaise-router-1 ansible_host=10.100.0.42
[hub]
pcp-u8z9nwt-dc4-a-hub1 ansible_host=37.156.42.126
[cache]
Member

mauvais inventaire ? cette machine n'est pas dans le public cloud infomaniak ?

mauvais inventaire ? cette machine n'est pas dans le public cloud infomaniak ?
Author
Owner

je le met ou sinon ? vu que c'est pas un prod proxmox

je le met ou sinon ? vu que c'est pas un prod proxmox

dans le bon inventaire

dans le bon inventaire
Author
Owner

@mickael.razzouk wrote in #24 (comment):

documentation needed :

  • how to use the cache ?
  • why dedicated machine just for cache ?

maybe add in the bootstrap playbook needed conf to set the cache as default source for all debian vm

pour use le cache: echo 'Acquire::http::Proxy "http://10.64.0.62";' >> /etc/apt/apt.conf.d/00aptproxy ou curl https://sh.la-banquise.fr/cache | sh (j'ai mis un commentaire dans le playbook)
pour la dedicated machine: en sah tu peux le foutre dans un docker faut juste le bon port ya pas forcement d'interet a faire l'un ou l'autre, a part que si ton cache meurt plus aucune machine peut apt update ou install donc un minimum de HA c'est pas mal

@mickael.razzouk wrote in https://git.la-banquise.fr/banquise/infrastructure/pulls/24#issuecomment-604: > documentation needed : > > * how to use the cache ? > * why dedicated machine just for cache ? > > maybe add in the bootstrap playbook needed conf to set the cache as default source for all debian vm pour use le cache: `echo 'Acquire::http::Proxy "http://10.64.0.62";' >> /etc/apt/apt.conf.d/00aptproxy` ou `curl https://sh.la-banquise.fr/cache | sh ` (j'ai mis un commentaire dans le playbook) pour la dedicated machine: en sah tu peux le foutre dans un docker faut juste le bon port ya pas forcement d'interet a faire l'un ou l'autre, a part que si ton cache meurt plus aucune machine peut apt update ou install donc un minimum de HA c'est pas mal
This pull request has changes conflicting with the target branch.
  • ansible/inventory/banquise/inventory.ini
  • ansible/playbooks/bootstrap.yml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/deploy-cache:feat/deploy-cache
git switch feat/deploy-cache
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
banquise/infrastructure!24
No description provided.