tech:ansible_docker_execution_environment
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:ansible_docker_execution_environment [2026/09/11 09:46] – Jean-Baptiste | tech:ansible_docker_execution_environment [2026/11/06 23:15] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 360: | Ligne 360: | ||
| Exemple de fichier bindep.txt : | Exemple de fichier bindep.txt : | ||
| * https:// | * https:// | ||
| + | |||
| + | |||
| + | ------- | ||
| + | |||
| + | |||
| + | # Execution environment | ||
| + | |||
| + | |||
| + | ## Usage | ||
| + | |||
| + | Creation d'un EE | ||
| + | ~~~bash | ||
| + | ansible-builder build -v 3 --tag ee-base: | ||
| + | ~~~ | ||
| + | |||
| + | Disable SSL/TLS for registry | ||
| + | ~~~bash | ||
| + | cat <<EOF > ~/ | ||
| + | [registries.insecure] | ||
| + | registries = [' | ||
| + | EOF | ||
| + | ~~~ | ||
| + | |||
| + | Push | ||
| + | ~~~bash | ||
| + | kubectl port-forward svc/ | ||
| + | |||
| + | podman tag localhost/ | ||
| + | podman push localhost: | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Lancer un playbook dans un EE avec ansible-runner ou ansible-navigator | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | ansible-runner run --container-image localhost/ | ||
| + | # ou | ||
| + | ansible-navigator run --mode stdout -u ansible ~/ | ||
| + | ~~~ | ||
| + | |||
| + | ## Autres | ||
| + | |||
| + | Analyse d'un EE | ||
| + | ~~~bash | ||
| + | ansible-navigator --eei localhost/ | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Hack Error " | ||
| + | |||
| + | ~~~bash | ||
| + | podman exec -ti kind-control-plane /bin/bash | ||
| + | ctr -n k8s.io image pull --plain-http=true 10.96.158.74: | ||
| + | ~~~ | ||
| + | |||
| + | PS : 10.96.158.74 for registry.test.svc.cluster.local | ||
tech/ansible_docker_execution_environment.1789112804.txt.gz · Dernière modification : de Jean-Baptiste
