{"id":719,"date":"2022-08-10T01:58:30","date_gmt":"2022-08-10T00:58:30","guid":{"rendered":"http:\/\/192.168.1.213:8088\/?page_id=719"},"modified":"2022-08-10T09:33:16","modified_gmt":"2022-08-10T08:33:16","slug":"task-5-build-aci-pipeline-part-2","status":"publish","type":"page","link":"http:\/\/192.168.1.213:8088\/gitlab-cicd-workshop\/task-5-build-aci-pipeline-part-2\/","title":{"rendered":"Task 6: Build ACI pipeline part 2"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t

\n\t\t\t\tTable of Contents\t\t\t<\/h4>\n\t\t\t\t\t<\/div>\n\t\t
\n\t\t\t
\n\t\t\t\t<\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
Adding Snapshot stage<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

Now edit the pipeline config again with the following code and commit the changes:\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\tworkflow:\r\n  rules:\r\n    - if: $CI_COMMIT_BRANCH != \"main\" && $CI_PIPELINE_SOURCE != \"merge_request_event\"      \r\n      when: never\r\n    - when: always\r\n\r\nstages:\r\n  - prepare_aci\r\n  - deploy_aci_config\r\n\r\nrun_prepare_playbook:\r\n  stage: prepare_aci\r\n  tags:\r\n    - shell\r\n  before_script:\r\n    - ansible-galaxy collection install cisco.aci\r\n  script:\r\n    - ansible-playbook -i hosts create_snapshot.yml\r\n\r\nrun_deploy_playbook:\r\n  stage: deploy_aci_config\r\n  tags:\r\n    - shell\r\n  before_script:\r\n    - ansible-galaxy collection install cisco.aci\r\n  script:\r\n    - ansible-playbook -i hosts playbook.yml<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e874493 elementor-widget elementor-widget-text-editor\" data-id=\"e874493\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>View directly the pipeline results from the pipeline editor:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-065453e elementor-widget elementor-widget-image\" data-id=\"065453e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI0LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDI5LnBuZyJ9\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1865\" height=\"976\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029.png\" class=\"attachment-full size-full wp-image-724\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029.png 1865w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029-300x157.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029-1024x536.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029-768x402.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-029-1536x804.png 1536w\" sizes=\"(max-width: 1865px) 100vw, 1865px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-284fafb elementor-widget elementor-widget-image\" data-id=\"284fafb\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI1LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDMwLnBuZyJ9\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1864\" height=\"987\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030.png\" class=\"attachment-full size-full wp-image-725\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030.png 1864w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030-300x159.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030-1024x542.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030-768x407.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-030-1536x813.png 1536w\" sizes=\"(max-width: 1864px) 100vw, 1864px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c4bda5 elementor-widget elementor-widget-text-editor\" data-id=\"7c4bda5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Login to ACI and check if the snapshot has been created:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e84919b elementor-widget elementor-widget-image\" data-id=\"e84919b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI2LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDMxLnBuZyJ9\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1880\" height=\"989\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031.png\" class=\"attachment-full size-full wp-image-726\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031.png 1880w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031-300x158.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031-1024x539.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031-768x404.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-031-1536x808.png 1536w\" sizes=\"(max-width: 1880px) 100vw, 1880px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6304a1f elementor-widget elementor-widget-heading\" data-id=\"6304a1f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Changing the ACI Config<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-03459a8 elementor-widget elementor-widget-text-editor\" data-id=\"03459a8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>You might have wondered where all the ACI config comes from. The file which contains all data is the <strong>ansible.yml<\/strong> file.<br \/>Go to the repository and click on the file to show the content:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b90822 elementor-widget elementor-widget-image\" data-id=\"3b90822\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI3LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDMyLnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1862\" height=\"988\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032.png\" class=\"attachment-full size-full wp-image-727\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032.png 1862w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032-300x159.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032-1024x543.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032-768x408.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-032-1536x815.png 1536w\" sizes=\"(max-width: 1862px) 100vw, 1862px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7623a5f elementor-widget elementor-widget-text-editor\" data-id=\"7623a5f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Click on the blue button &#8220;Open in Web IDE&#8221;. This a very nice feature to work with files inside of the browser.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d72200c elementor-widget elementor-widget-image\" data-id=\"d72200c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI4LCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDMzLnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1863\" height=\"987\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033.png\" class=\"attachment-full size-full wp-image-728\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033.png 1863w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033-300x159.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033-1024x543.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033-768x407.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-033-1536x814.png 1536w\" sizes=\"(max-width: 1863px) 100vw, 1863px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f43cdc elementor-widget elementor-widget-text-editor\" data-id=\"1f43cdc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Now scroll down to the tenant section which starts at line 59. Copy the data as follows to create a second tenant:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8d8c4c3 elementor-widget elementor-widget-image\" data-id=\"8d8c4c3\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"217\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-034.png\" class=\"attachment-large size-large wp-image-729\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-034.png 360w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-034-300x181.png 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79934af elementor-widget elementor-widget-text-editor\" data-id=\"79934af\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Commit the change<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fd1814d elementor-widget elementor-widget-image\" data-id=\"fd1814d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzMwLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDM1LnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1864\" height=\"987\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035.png\" class=\"attachment-full size-full wp-image-730\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035.png 1864w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035-300x159.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035-1024x542.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035-768x407.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-035-1536x813.png 1536w\" sizes=\"(max-width: 1864px) 100vw, 1864px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b5a7daa elementor-widget elementor-widget-text-editor\" data-id=\"b5a7daa\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Commit to the main branch:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-180f99e elementor-widget elementor-widget-image\" data-id=\"180f99e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzMxLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDM2LnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1862\" height=\"985\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036.png\" class=\"attachment-full size-full wp-image-731\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036.png 1862w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036-300x159.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036-1024x542.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036-768x406.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-036-1536x813.png 1536w\" sizes=\"(max-width: 1862px) 100vw, 1862px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bd7733a elementor-widget elementor-widget-text-editor\" data-id=\"bd7733a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Check the pipeline status and verify the ACI config on the APIC:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-602a84b elementor-widget elementor-widget-image\" data-id=\"602a84b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037.png\" data-elementor-open-lightbox=\"yes\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzMyLCJ1cmwiOiJodHRwOlwvXC8xOTIuMTY4LjEuMjEzOjgwODhcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjJcLzA4XC9naXRsYWItMDM3LnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1880\" height=\"510\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037.png\" class=\"attachment-full size-full wp-image-732\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037.png 1880w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037-300x81.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037-1024x278.png 1024w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037-768x208.png 768w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/gitlab-037-1536x417.png 1536w\" sizes=\"(max-width: 1880px) 100vw, 1880px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-904b3b9 elementor-widget elementor-widget-text-editor\" data-id=\"904b3b9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Great! Whenever the config will be changed your pipeline will be triggered and the changes will be done on the APIC!<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-58ce9ba elementor-widget elementor-widget-image\" data-id=\"58ce9ba\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"400\" src=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/chris-done-1.png\" class=\"attachment-large size-large wp-image-738\" alt=\"\" srcset=\"http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/chris-done-1.png 400w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/chris-done-1-300x300.png 300w, http:\/\/192.168.1.213:8088\/wp-content\/uploads\/2022\/08\/chris-done-1-150x150.png 150w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e46e0b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e46e0b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c20eb42\" data-id=\"c20eb42\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-350bf1b elementor-widget elementor-widget-html\" data-id=\"350bf1b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script type=\"text\/javascript\">\n(function($) {\n    $(window).load(function() {\n        $('.token.entity').each(function() {\n            var title = $(this).attr('title');\n            console.log(title);\n            $(this).html(title);\n        })\n    });\n})(jQuery);\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Table of Contents Adding Snapshot stage Now edit the pipeline config again with the following code and commit the changes:\u00a0 workflow: rules: &#8211; if: $CI_COMMIT_BRANCH != &#8220;main&#8221; &#038;&#038; $CI_PIPELINE_SOURCE != &#8220;merge_request_event&#8221; when: never &#8211; when: always stages: &#8211; prepare_aci &#8211; deploy_aci_config run_prepare_playbook: stage: prepare_aci tags: &#8211; shell before_script: &#8211; ansible-galaxy collection install cisco.aci script: &#8211; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":538,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"class_list":["post-719","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/pages\/719"}],"collection":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/comments?post=719"}],"version-history":[{"count":20,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/pages\/719\/revisions"}],"predecessor-version":[{"id":874,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/pages\/719\/revisions\/874"}],"up":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/pages\/538"}],"wp:attachment":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/media?parent=719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}