Outils pour utilisateurs

Outils du site


tech:ansible_docker_execution_environment

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:ansible_docker_execution_environment [2025/10/28 15:36] Jean-Baptistetech: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://ansible.readthedocs.io/projects/creator/installing/#initialize-execution-environment-project
 * https://github.com/redhat-cop/ee_utilities/blob/devel/examples/ee_builder_base.yaml * https://github.com/redhat-cop/ee_utilities/blob/devel/examples/ee_builder_base.yaml
 * [[https://developers.redhat.com/articles/2023/05/08/how-create-execution-environments-using-ansible-builder|How to create execution environments using ansible-builder]] * [[https://developers.redhat.com/articles/2023/05/08/how-create-execution-environments-using-ansible-builder|How to create execution environments using ansible-builder]]
Ligne 18: Ligne 19:
 Voir aussi les execution-environment.yml : Voir aussi les execution-environment.yml :
 * https://github.com/kennedymeadows/awx-ee-juniper/tree/main et https://www.keepitsimplesimon.io/posts/awx-execution-environments * https://github.com/kennedymeadows/awx-ee-juniper/tree/main et https://www.keepitsimplesimon.io/posts/awx-execution-environments
-* https://github.com/ansible/awx-ee/blob/devel/execution-environment.yml 
 * https://docs.ansible.com/automation-controller/latest/html/userguide/ee_reference.html * https://docs.ansible.com/automation-controller/latest/html/userguide/ee_reference.html
 * https://access.redhat.com/documentation/fr-fr/red_hat_ansible_automation_platform/2.4/html-single/creating_and_consuming_execution_environments/index * https://access.redhat.com/documentation/fr-fr/red_hat_ansible_automation_platform/2.4/html-single/creating_and_consuming_execution_environments/index
 * https://github.com/ansible-community/images * https://github.com/ansible-community/images
 * https://github.com/ansiblejunky/ansible-execution-environment * https://github.com/ansiblejunky/ansible-execution-environment
 +* https://github.com/ansible/awx-ee/
  
  
Ligne 48: 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'image du container à partir du Containerfile généré
 podman build -f context/Containerfile -t img01:0.9.1 podman build -f context/Containerfile -t img01:0.9.1
 +
 +# Ou pour générer directement l'image du container :
 +ansible-builder build --tag img01:0.9.1
  
 podman images podman images
Ligne 226: Ligne 231:
  
  
-<file yaml>+<code yaml>
 version: 3 version: 3
  
Ligne 274: Ligne 279:
 options: options:
   user: '1000'   user: '1000'
-</file>+</code>
  
  
Ligne 349: Ligne 354:
 #net-snmp-utils [platform:rpm] #net-snmp-utils [platform:rpm]
 </code> </code>
 +
 +Exemple de fichier bindep.txt :
 +* https://github.com/openstack/openstack-ansible/blob/master/bindep.txt
 +
 +
  
  
tech/ansible_docker_execution_environment.1761662193.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki