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 [2025/09/24 16:42] – Jean-Baptiste | tech:ansible_docker_execution_environment [2025/11/20 15:03] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| Voir : | Voir : | ||
| * [[notes_ansible_ansible-navigator|ansible-navigator]] | * [[notes_ansible_ansible-navigator|ansible-navigator]] | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * [[https:// | * [[https:// | ||
| Ligne 17: | Ligne 18: | ||
| Voir aussi les execution-environment.yml : | Voir aussi les execution-environment.yml : | ||
| - | * https:// | + | * https:// |
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| Ligne 47: | Ligne 49: | ||
| # podman login --tls-verify=false registry.acme.fr -u admin -p P@ssw0rd | # podman login --tls-verify=false registry.acme.fr -u admin -p P@ssw0rd | ||
| + | # Créer le dossier context/ avec le Containerfile | ||
| ansible-builder create #--file execution-environment-dev.yml | ansible-builder create #--file execution-environment-dev.yml | ||
| - | # Créer le dossier context/ | ||
| + | # Créer l' | ||
| podman build -f context/ | podman build -f context/ | ||
| + | |||
| + | # Ou pour générer directement l' | ||
| + | ansible-builder build --tag img01:0.9.1 | ||
| podman images | podman images | ||
| Ligne 225: | Ligne 231: | ||
| - | <file yaml> | + | <code yaml> |
| version: 3 | version: 3 | ||
| Ligne 273: | Ligne 279: | ||
| options: | options: | ||
| user: ' | user: ' | ||
| - | </file> | + | </code> |
| + | |||
| + | |||
| + | ------------ | ||
| + | |||
| + | '' | ||
| + | <code yaml> | ||
| + | --- | ||
| + | |||
| + | version: 3 | ||
| + | |||
| + | dependencies: | ||
| + | galaxy: requirements.yml | ||
| + | python: requirements.txt | ||
| + | system: bindep.txt | ||
| + | |||
| + | images: | ||
| + | base_image: | ||
| + | name: ghcr.io/ | ||
| + | |||
| + | options: | ||
| + | user: ' | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | <code yaml> | ||
| + | --- | ||
| + | |||
| + | collections: | ||
| + | - ansible.utils | ||
| + | - ansible.posix | ||
| + | - ansible.windows | ||
| + | - ansible.netcommon | ||
| + | - community.general | ||
| + | - community.windows | ||
| + | - community.vmware | ||
| + | - community.crypto | ||
| + | - community.postgresql | ||
| + | - community.mysql | ||
| + | - community.network | ||
| + | - kubernetes.core | ||
| + | - containers.podman | ||
| + | - awx.awx | ||
| + | - vmware.vmware | ||
| + | - vmware.vmware_rest | ||
| + | - microsoft.ad | ||
| + | # - fortinet.fortios | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | <code -> | ||
| + | six | ||
| + | psutil | ||
| + | # pywinrm | ||
| + | jc | ||
| + | jmespath | ||
| + | </ | ||
| + | |||
| + | |||
| + | '' | ||
| + | <code -> | ||
| + | git | ||
| + | rsync | ||
| + | curl | ||
| + | wget | ||
| + | psmisc | ||
| + | tar | ||
| + | unzip | ||
| + | gzip | ||
| + | # | ||
| + | iputils [platform: | ||
| + | bind-utils [platform: | ||
| + | # | ||
| + | # | ||
| + | </ | ||
| + | |||
| + | Exemple de fichier bindep.txt : | ||
| + | * https:// | ||
tech/ansible_docker_execution_environment.1758724922.txt.gz · Dernière modification : de Jean-Baptiste
