{"id":4247,"date":"2026-03-02T07:00:00","date_gmt":"2026-03-02T06:00:00","guid":{"rendered":"https:\/\/www.my-it-brain.de\/wordpress\/?p=4247"},"modified":"2025-12-26T19:09:35","modified_gmt":"2025-12-26T18:09:35","slug":"welche-ansible-core-version-und-welche-collections-sind-in-welchem-ansible-execution-environment-enthalten","status":"publish","type":"post","link":"https:\/\/www.my-it-brain.de\/wordpress\/welche-ansible-core-version-und-welche-collections-sind-in-welchem-ansible-execution-environment-enthalten\/","title":{"rendered":"Welche ansible-core-Version und welche Collections sind in welchem Ansible Execution Environment enthalten?"},"content":{"rendered":"\n<p>Das sind ja gleich mehrere Fragen auf einmal. Doch ich denke, dass man diese gut in einem Beitrag beantworten kann.<\/p>\n\n\n\n<p>F\u00fcr die Antwort auf die Frage was Execution Environments sind, verweise ich auf die <a href=\"https:\/\/docs.ansible.com\/projects\/ansible\/latest\/getting_started_ee\/introduction.html\">offizielle Dokumentation<\/a>, da dies sonst den Umfang dieses Beitrags sprengen w\u00fcrde. Kurz gesagt handelt es sich dabei um Container-Images, welche unterschiedliche Versionen von <code>ansible-core<\/code> und diverse Ansible Collections enthalten.<\/p>\n\n\n\n<p>Ich verwende f\u00fcr die folgenden Beispiele die Execution Environments aka Container-Images <code>ee-minimal-rhel9<\/code> und <code>ee-supported-rhel9<\/code> von <code>registry.redhat.io\/ansible-automation-platform-26<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Option 1: Mit Podman schnell und simpel zum Ziel<\/h2>\n\n\n\n<p>Folgender Code-Block zeigt den gesuchten Inhalt f\u00fcr das Minimal-Image an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;jkastning@aap-1 ~]$ podman run --rm registry.redhat.io\/ansible-automation-platform-26\/ee-minimal-rhel9:latest ansible --version\nansible &#91;core 2.16.14]\n  config file = None\n  configured module search path = &#91;'\/home\/runner\/.ansible\/plugins\/modules', '\/usr\/share\/ansible\/plugins\/modules']\n  ansible python module location = \/usr\/local\/lib\/python3.11\/site-packages\/ansible\n  ansible collection location = \/home\/runner\/.ansible\/collections:\/usr\/share\/ansible\/collections\n  executable location = \/usr\/local\/bin\/ansible\n  python version = 3.11.13 (main, Aug 21 2025, 00:00:00) &#91;GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (\/usr\/bin\/python3.11)\n  jinja version = 3.1.6\n  libyaml = True\n&#91;jkastning@aap-1 ~]$ podman run --rm registry.redhat.io\/ansible-automation-platform-26\/ee-minimal-rhel9:latest ansible-galaxy collection list\nusage: ansible-galaxy &#91;-h] &#91;--version] &#91;-v] TYPE ...\n\nPerform various Role and Collection related operations.\n\npositional arguments:\n  TYPE\n    collection   Manage an Ansible Galaxy collection.\n    role         Manage an Ansible Galaxy role.\n\noptions:\n  --version      show program's version number, config file location,\n                 configured module search path, module location, executable\n                 location and exit\n  -h, --help     show this help message and exit\n  -v, --verbose  Causes Ansible to print more debug messages. Adding multiple\n                 -v will increase the verbosity, the builtin plugins currently\n                 evaluate up to -vvvvvv. A reasonable level to start is -vvv,\n                 connection debugging might require -vvvv. This argument may\n                 be specified multiple times.\nERROR! - None of the provided paths were usable. Please specify a valid path with --collections-path <\/code><\/pre>\n\n\n\n<p>Dieses Image enth\u00e4lt <code>ansible-core<\/code> in Version 2.16.14 und keinerlei Ansible Collection. Das <code>ee-suported-rhel9<\/code> bringt im Vergleich dazu eine ganze Reihe an Collections mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;jkastning@aap-1 ~]$ podman run --rm registry.redhat.io\/ansible-automation-platform-26\/ee-supported-rhel9:latest ansible --version\nansible &#91;core 2.16.14]\n  config file = None\n  configured module search path = &#91;'\/home\/runner\/.ansible\/plugins\/modules', '\/usr\/share\/ansible\/plugins\/modules']\n  ansible python module location = \/usr\/local\/lib\/python3.11\/site-packages\/ansible\n  ansible collection location = \/home\/runner\/.ansible\/collections:\/usr\/share\/ansible\/collections\n  executable location = \/usr\/local\/bin\/ansible\n  python version = 3.11.13 (main, Aug 21 2025, 00:00:00) &#91;GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (\/usr\/bin\/python3.11)\n  jinja version = 3.1.6\n  libyaml = True\n&#91;jkastning@aap-1 ~]$ podman run --rm registry.redhat.io\/ansible-automation-platform-26\/ee-supported-rhel9:latest ansible-galaxy collection list\n\n# \/usr\/share\/ansible\/collections\/ansible_collections\nCollection                      Version     \n------------------------------- ------------\namazon.aws                      9.5.1       \nansible.controller              4.7.6       \nansible.eda                     2.10.0      \nansible.hub                     1.0.1       \nansible.netcommon               8.1.0       \nansible.network                 5.0.0       \nansible.platform                2.6.20251106\nansible.posix                   2.1.0       \nansible.scm                     3.0.0       \nansible.security                5.0.0       \nansible.snmp                    3.0.0       \nansible.utils                   6.0.0       \nansible.windows                 3.2.0       \nansible.yang                    3.0.0       \narista.eos                      12.0.0      \ncisco.intersight                2.2.0       \ncisco.ios                       11.1.1      \ncisco.iosxr                     12.0.0      \ncisco.nxos                      11.0.0      \ncloud.common                    5.0.0       \ncloud.terraform                 4.0.0       \nhashicorp.terraform             1.1.0       \nhashicorp.vault                 1.0.0       \njunipernetworks.junos           11.0.0      \nkubernetes.core                 6.1.0       \nmicrosoft.ad                    1.9.2       \nmicrosoft.iis                   1.0.3       \nredhat.amq_broker               2.3.4       \nredhat.amq_streams              1.0.0       \nredhat.data_grid                1.3.3       \nredhat.eap                      1.5.7       \nredhat.insights                 1.3.0       \nredhat.jbcs                     1.1.2       \nredhat.jws                      2.1.1       \nredhat.openshift                5.0.0       \nredhat.openshift_virtualization 2.2.3       \nredhat.redhat_csp_download      1.2.2       \nredhat.rhbk                     3.0.1       \nredhat.rhel_idm                 1.15.1      \nredhat.rhel_system_roles        1.95.7      \nredhat.rhv                      2.4.2       \nredhat.runtimes_common          1.2.2       \nredhat.sap_install              1.7.1       \nredhat.satellite                5.5.0       \nredhat.satellite_operations     3.0.0       \nredhat.sso                      2.0.0       \nsap.sap_operations              2.2.0       \nservicenow.itsm                 2.11.0      \nsplunk.es                       4.0.0       \ntrendmicro.deepsec              4.0.0       \nvmware.vmware                   2.3.0       \nvmware.vmware_rest              4.8.1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Option 2: Ansible Navigator<\/h2>\n\n\n\n<p>Alternativ kann man das Container-Image aka Execution Environment Image (eei) auch mit dem <code>ansible-navigator<\/code> untersuchen. Der Befehl <code>ansible-navigator images --eei ee-supported-rhel9<\/code> l\u00e4dt das gew\u00fcnschte Image bei Bedarf herunter und \u00f6ffnet einen interaktives Text-Interface, welches alle lokal vorhandenen Images auflistet. Das folgend Bild zeigt eine Ansicht von meinem Labor-PC:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"459\" src=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-800x459.png\" alt=\"\" class=\"wp-image-4248\" srcset=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-800x459.png 800w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-300x172.png 300w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-768x440.png 768w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-624x358.png 624w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image.png 1155w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Auflistung der vorhandenen Container-Images im ansible-navigator<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Durch dr\u00fccken der Taste &#8218;4&#8216; wird das Image <code>ee-supported-rhel9<\/code> ausgew\u00e4hlt:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"366\" src=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1-800x366.png\" alt=\"\" class=\"wp-image-4249\" srcset=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1-800x366.png 800w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1-300x137.png 300w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1-768x351.png 768w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1-624x285.png 624w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-1.png 1155w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Auswahlmen\u00fc f\u00fcr das Image: ee-supported-rhel9:latest<\/figcaption><\/figure>\n<\/div>\n\n\n<p>W\u00e4hlt man hier die &#8218;2&#8216; muss man sich in Geduld \u00fcben. Denn die Analyse des Images kann in der Tat etwas dauern. In diesem Fall waren es ganze 2 Minuten!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"366\" src=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2-800x366.png\" alt=\"\" class=\"wp-image-4250\" srcset=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2-800x366.png 800w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2-300x137.png 300w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2-768x351.png 768w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2-624x285.png 624w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-2.png 1155w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Auf Computer zu warten kann ich wirklich nicht gut leiden.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Hat man die Wartezeit \u00fcberlebt, wird man mit folgender Ansicht belohnt:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"775\" src=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3-800x775.png\" alt=\"\" class=\"wp-image-4251\" srcset=\"https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3-800x775.png 800w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3-300x291.png 300w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3-768x744.png 768w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3-624x605.png 624w, https:\/\/www.my-it-brain.de\/wordpress\/wp-content\/uploads\/2025\/12\/image-3.png 1155w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Ansicht der enthaltenen Ansible Collections und der Version von ansible-core<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Fazit<\/h2>\n\n\n\n<p>Dieser Beitrag hat zwei Optionen gezeigt, wie man sich die Version von <code>ansible-core<\/code> und die in einem Execution Environment Image enthaltenen Ansible Collections anzeigen lassen kann.<\/p>\n\n\n\n<p>Ich pers\u00f6nlich bevorzuge Option 1, da diese deutlich schneller zu einem Ergebnis f\u00fchrt, w\u00e4hrend man sich bei Option 2 f\u00fcr mehrere Minuten gedulden muss. Diese Geduld ben\u00f6tigt man \u00fcbrigens auch f\u00fcr das Image <code>ee-minimal-rhel9<\/code>, welches gar keine Collections enth\u00e4lt. Hier betrug die Wartezeit immerhin mehrere Sekunden.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Das sind ja gleich mehrere Fragen auf einmal. Doch ich denke, dass man diese gut in einem Beitrag beantworten kann. F\u00fcr die Antwort auf die Frage was Execution Environments sind, verweise ich auf die offizielle Dokumentation, da dies sonst den Umfang dieses Beitrags sprengen w\u00fcrde. Kurz gesagt handelt es sich dabei um Container-Images, welche unterschiedliche<span class=\"continue-reading\"> <a href=\"https:\/\/www.my-it-brain.de\/wordpress\/welche-ansible-core-version-und-welche-collections-sind-in-welchem-ansible-execution-environment-enthalten\/\">[Weiterlesen&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_metis_text_type":"standard","_metis_text_length":6139,"_post_count":0,"footnotes":""},"categories":[448],"tags":[908],"class_list":["post-4247","post","type-post","status-publish","format-standard","hentry","category-fragen-und-antworten","tag-ansible-execution-environments"],"public_identification_id":"ce133ede37aa46b0bbc234c06872a641","private_identification_id":"f2e46a00ad0540129bfdeacec4e10b1a","_links":{"self":[{"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/posts\/4247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/comments?post=4247"}],"version-history":[{"count":1,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/posts\/4247\/revisions"}],"predecessor-version":[{"id":4252,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/posts\/4247\/revisions\/4252"}],"wp:attachment":[{"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/media?parent=4247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/categories?post=4247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.my-it-brain.de\/wordpress\/wp-json\/wp\/v2\/tags?post=4247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}