<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by iDustBin on Medium]]></title>
        <description><![CDATA[Stories by iDustBin on Medium]]></description>
        <link>https://medium.com/@idustbin?source=rss-ca67adc0dfdd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Drpzhm2GXER2p6Qv-5KccA.png</url>
            <title>Stories by iDustBin on Medium</title>
            <link>https://medium.com/@idustbin?source=rss-ca67adc0dfdd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:22:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@idustbin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[45-day SSL/TLS certificates are coming. Is your network ready?]]></title>
            <link>https://medium.com/@idustbin/45-day-ssl-tls-certificates-are-coming-is-your-network-ready-9d925ef48ba7?source=rss-ca67adc0dfdd------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d925ef48ba7</guid>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[cyber-security-solutions]]></category>
            <category><![CDATA[tls-certificate]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[lets-encrypt]]></category>
            <dc:creator><![CDATA[iDustBin]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 17:14:15 GMT</pubDate>
            <atom:updated>2026-11-25T17:14:15.989Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How an Ansible role automates renewal and rollout, from a Raspberry Pi to an enterprise network: routers, ESXi and NAS systems.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kiKRwv1JoZM6nlhQvZQ3lg.jpeg" /></figure><p>The browser shows a red warning, the ESXi web UI won’t load, the router complains, the NAS share hangs. The cause is almost always the same: a certificate expired, and nobody noticed.</p><h3>It happens to the best</h3><p>Expired certificates are not a hobbyist problem. From my own work, I know of many outages caused by certificate issues, including at large companies with their own security teams, budgets and processes. Often a single forgotten certificate is enough.</p><p>Even in SAP landscapes this is a recurring issue. SAP maintains its own knowledge base articles on it, for example on SAP Cloud Connector, where after a failover the standby instance took over with an <a href="https://userapps.support.sap.com/sap/support/knowledge/en/2941469">expired certificate</a>.</p><p>Here is why this still happens in 2026, and how a single Ansible role prevents these outages.</p><h3>Why certificate problems still exist today</h3><h4>1. Lifetimes shrink faster than processes adapt</h4><p>Let’s Encrypt, the free certificate authority this role uses, is cutting certificate lifetimes in stages. All public CAs have to follow, because the CA/Browser Forum has made shorter lifetimes mandatory for the whole industry:</p><ul><li>today: 90 days by default</li><li>since May 13, 2026: 45-day certificates as an opt-in</li><li>from February 10, 2027: 64 days by default</li><li>from February 16, 2028: 45 days by default</li></ul><p>Anyone still renewing by hand will soon do it about eight times a year, per certificate.</p><p>Short lifetimes also prepare the ground for post-quantum cryptography. When every certificate is replaced every few weeks anyway, switching to quantum-safe algorithms later becomes a routine renewal instead of a migration project. That crypto agility is exactly what automation delivers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2cUrZkzgGkzl3ClEjrNnzQ.jpeg" /></figure><h4>2. Not every device speaks ACME</h4><p>Web servers and Kubernetes clusters have mature ACME tooling, such as Certbot or cert-manager. Routers, hypervisors, switches, NAS systems and smart home devices mostly havent. There, a certificate is often still uploaded through a web UI, and every manual step is a future outage.</p><h4>3. Nobody knows exactly where each certificate lives</h4><p>A wildcard gets copied to ten devices. The hypervisor certificate was installed two years ago by someone who has long since moved to another team. Without an inventory, every renewal turns into a scavenger hunt.</p><h4>4. Internal services don’t get real certificates</h4><p>For internal names, many fall back to self-signed certificates and click the warning away. That trains exactly the behavior attackers exploit in phishing: ignoring warnings.</p><h4>5. Tools change underneath the automation</h4><p>ACME clients change flags and defaults between versions, and package managers update dependencies in the background. Automation nobody maintains quietly goes stale.</p><h4>6. Secrets end up in logs</h4><p>Passwords on the command line show up in process lists, Ansible output and syslog. Automating certificates also means automating how keys and passwords are handled, for better or worse.</p><h3>The answer: certificates as code</h3><p><strong>My Ansible role builds and runs a central certificate host. </strong>Issuing, renewal and distribution all the way to routers, hypervisors and NAS systems in a single role. It addresses exactly the six points above:</p><ul><li><strong>DNS-01 issuing:</strong> Let’s Encrypt certificates, validated through the INWX API or a self-hosted ACME DNS server. Wildcards work, and no device on the LAN has to be reachable from the internet.</li><li><strong>Hands-off renewal:</strong> A nightly job renews every certificate 30 days before expiry. If one fails, the others continue, and the job logs which certificate failed and exits with an error instead of dying silently.</li><li><strong>Distribution to devices without ACME:</strong> The distribute.yml playbook installs certificates on Linux, MikroTik RouterOS, VMware ESXi, QNAP and Nessus.</li><li><strong>One inventory as the source of truth:</strong> Which domain belongs on which device lives in a versioned Ansible inventory file.</li><li><strong>Maintained tooling:</strong> The open-source ACME client is installed with a SHA256 check against the official release checksums and upgraded automatically when the version changes.</li><li><strong>Clean secret handling:</strong> Passwords are passed through environment variables and do not appear in output or logs.</li><li><strong>Runs almost anywhere:</strong> Debian, Ubuntu, RHEL, Rocky and AlmaLinux, on x86_64 and arm64. A Raspberry Pi with a 64-bit OS is enough.</li></ul><h3>How DNS-01 validation works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbJCYCfJYCH4E5vbu0EZNw.jpeg" /></figure><p>The certificate host asks Let’s Encrypt for a certificate, publishes a one-time TXT record under _acme-challenge for the domain via the DNS provider’s API, and Let’s Encrypt checks that record over public DNS. Only the DNS zone has to be reachable, never the device that will use the certificate.</p><h3>The architecture today</h3><p>The setup has three layers: a certificate host issues and renews, an Ansible controller distributes, and the target devices either receive their certificates by push or pull them on their own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Eivo81xI5D7ptI2EhYvnA.jpeg" /></figure><p>No target device has to be reachable from the internet. Only the certificate host talks to Let’s Encrypt and the DNS provider. The nightly schedule:</p><ul><li><strong>03:17</strong> — the certificate host renews all certificates that are due</li><li><strong>04:17</strong> — the Ansible controller fetches and distributes them to all devices</li><li>04:47 — Linux servers pull their certificate on their own</li></ul><h3><strong>What distribute.yml renews</strong></h3><p>Every device is listed in the inventory with its certificate name. The playbook knows the right installation path for each device type:</p><ul><li><strong>Linux servers:</strong> PEM files to a dedicated directory under /etc/ssl/, plus a daily pull.</li><li><strong>Nessus scanner:</strong> nessuscli import-certs, then nessusd restarts.</li><li><strong>MikroTik router:</strong> upload via SCP and /certificate import; www-ssl and api-ssl use the new certificate.</li><li><strong>VMware ESXi:</strong> dedicated RSA certificate as rui.crt and rui.key; management agents restart.</li><li><strong>QNAP NAS:</strong> stunnel PEM and an Emby PKCS#12 file; stunnel and Emby restart.</li></ul><p>ESXi deliberately gets a dedicated RSA-2048 certificate instead of the wildcard. Older management interfaces often can’t handle ECDSA keys.</p><h3>At home: a Raspberry Pi as your certificate hub</h3><p>On a home network, a Raspberry Pi with 64-bit Raspberry Pi OS is enough as the certificate host. With an API-based DNS provider such as INWX, no inbound port has to be opened to the internet: the Pi only makes outbound connections. Routers, NAS systems and other devices on your network still get real, publicly trusted certificates, as long as their names belong to a public domain you control.</p><p>The result: no browser warnings, no self-signed certificates, no exceptions you end up clicking away out of habit.</p><h3>Firewall rules at a glance</h3><ul><li><strong>Inbound from the internet:</strong> none with an API-based DNS provider such as INWX. Only a self-hosted ACME DNS server needs 53/tcp and 53/udp, because Let’s Encrypt queries it directly.</li><li><strong>Inbound from the LAN:</strong> 22/tcp, so the Ansible controller and the Linux servers can fetch certificates via SSH with a dedicated user that can only read the certificates.</li><li><strong>Outbound from the certificate host:</strong> 443/tcp to Let’s Encrypt and the DNS provider API, plus 53 to the provider’s name servers for the propagation check.</li><li><strong>Controller to devices (LAN only):</strong> 22/tcp for Linux, Nessus, ESXi, MikroTik and QNAP.</li><li><strong>Management API:</strong> the DNS server’s API listens on localhost only and is never exposed.</li></ul><h3>In the enterprise: certificates as code</h3><p>In a company the problem is the same, just bigger. There are hundreds of devices instead of a handful, and many of them can’t do ACME themselves: hypervisors, switches, storage, scanners, industrial appliances. That is exactly where push distribution comes in.</p><ul><li><strong>Fits existing tooling:</strong> If you already use Ansible, you need no new product, no new agents and no per-certificate license.</li><li><strong>Traceable:</strong> Which device gets which certificate is versioned in Git. Changes go through review, not a spreadsheet.</li><li><strong>Clean separation of privileges:</strong> Linux servers pull certificates through a dedicated user with its own SSH key that can only read the publish directory. Credentials for the DNS API and devices belong in Ansible Vault.</li><li><strong>Ready for 45 days:</strong> If you automate today, you won’t notice the coming lifetime cuts. If you don’t, you will feel every step.</li></ul><h3>Three lessons from real-world outages</h3><ol><li><strong>Monitor the result, not the job.</strong> What matters is how many days the certificate on the target device has left. An alert at fewer than 14 days remaining flags a looming outage weeks in advance.</li><li><strong>Failures must be loud.</strong> A renewal job that dies silently is more dangerous than none at all, because it creates a false sense of security.</li><li><strong>Secrets don’t belong on the command line.</strong> Otherwise they end up in process lists, output and logs.</li></ol><p>Lessons two and three are built into the role. The first one is exactly what the upcoming dashboard is for.</p><h3>Where it stands today, and what’s next</h3><p>The role already runs reliably in production and does the heavy lifting: issuing through Let’s Encrypt, DNS validation via INWX or a self-hosted ACME DNS server, nightly renewal and push distribution from an Ansible controller that can reach the target devices. Next up is an enterprise dashboard for certificate inventory, expiry monitoring and rollout status. It is in active development and not finished yet. Until then, you get a lean, traceable and affordable setup that delivers a lot of automation for very little operational effort.</p><h3>Get the role</h3><p>The Ansible role, including the distribution playbooks, is available for purchase by email. It includes:</p><ul><li>the certificate role (issuing, renewal, LAN publish, Docker setup for the self-hosted DNS validation server)</li><li>distribute.yml with ready-made installation paths for Linux, Nessus, MikroTik RouterOS, VMware ESXi and QNAP (stunnel and Emby)</li><li>a sample inventory and documentation</li></ul><p><strong>Contact:</strong> info@idustbin.com · <strong>Price:</strong> negotiable</p><p>On request, I can help adapt it to your own devices or another DNS provider.</p><p>More projects: <a href="https://idustbin.com/">idustbin.com</a></p><p><em>Sources: </em><a href="https://cabforum.org/2025/04/11/ballot-sc081v3-introduce-schedule-of-reducing-validity-and-data-reuse-periods/"><em>CA/Browser Forum, Ballot SC-081v3</em></a><em> · </em><a href="https://letsencrypt.org/2025/12/02/from-90-to-45.html"><em>Let’s Encrypt: Decreasing Certificate Lifetimes to 45 Days</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d925ef48ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ansible localhero Role]]></title>
            <link>https://medium.com/@idustbin/ansible-localhero-role-a6fa73314d3f?source=rss-ca67adc0dfdd------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6fa73314d3f</guid>
            <dc:creator><![CDATA[iDustBin]]></dc:creator>
            <pubDate>Thu, 10 Nov 2022 13:09:55 GMT</pubDate>
            <atom:updated>2022-11-10T13:09:55.236Z</atom:updated>
            <content:encoded><![CDATA[<p>Howdy Partners, today were talking about my published Ansible localhero role, this role includes all required Tools, Utilities, Library &amp; Frameworks which do you need to become an awesome localhero developer :)</p><p>My Role includes all installation routines for the following software packages</p><ul><li>Navicat Pemium</li><li>XCode</li><li>VirtualBox</li><li>VMWare Fusion</li><li>Sublime Text 3</li><li>iTerm 3</li><li>PAW</li><li>GitKraken</li><li>SketchUP</li><li>Graphic</li><li>NSA Browser</li></ul><p>ToolChain:</p><ul><li>curl</li><li>brew</li><li>pip3</li><li>ansible</li><li>vagrant</li></ul><p>Development Envriomantls Include:</p><ul><li>$PS1 Command Prompt</li><li>BashRC</li><li>Bash_Profile {{ includes public wifi hotspots }}</li><li>ssh_config</li><li>ansible.cfg</li><li>ansible_vault_file.yml</li></ul><p>User Interface &amp; Experience</p><ul><li>NASA Wallpaper</li><li>Small Docking Icons</li></ul><p>Lets analyse my navicat-premium role, this role includes different variables for example:</p><pre>navicat_premium_license_key: xxxx-xxxx-xxxx-xxxx-xxxx<br>navicat_cloud_user: m.mustermann<br>navicat_cloud_passwd: hash.passwd<br>navicat_version: latest</pre><p>lets install the default role and become an awesome Developer :)</p><p>ansible-playbook -i inventories/</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6fa73314d3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ansible, Cisco-ACI, EvE-NG, AWS CloudFormation integration & information gathering role]]></title>
            <link>https://medium.com/@idustbin/ansible-cisco-aci-eve-ng-aws-cloudformation-integration-information-gathering-role-24c70ea0e167?source=rss-ca67adc0dfdd------2</link>
            <guid isPermaLink="false">https://medium.com/p/24c70ea0e167</guid>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[eve-ng]]></category>
            <category><![CDATA[cisco-aci]]></category>
            <dc:creator><![CDATA[iDustBin]]></dc:creator>
            <pubDate>Fri, 04 Nov 2022 11:02:01 GMT</pubDate>
            <atom:updated>2022-11-04T11:02:01.564Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, my name is iDustBin, i´m a Fullsnack &amp; DevOps Engineer. My Projects are mostly Security &amp; Automation related. I would please you to write constructive criticism into comments, feel free to comment and ask.</p><h3>Story Overview:</h3><ul><li>CiscoACI Management Summary / Architectures &amp; helpful hints</li><li>CiscoACI &amp; public/privat Cloud Connectivity</li><li>CiscoACI Rudimental Function Overview</li><li>CiscoACI Ansible AAA User Role ( add, query or delete )</li><li>CiscoACI Ansible Information Gathering Role</li><li>…</li></ul><p>This is my first Public BlogPost, actually im working on fully Cisco-ACI Automation installations routines &amp; verifications… ill publish my work if im done.</p><p>These Story is the first explainer and information gathering run, later on ill create an series to demonstrate how-to include Cisco images into my EvE-NG laboratory.</p><p>My Customers goal was to test &amp; emulate the whole existent environments.</p><h4>From previous projects i was routined into (“host-only”) network adapter &amp; nested virtualised instances (‘VT-X’), EvE-NG is able to emulate a bunch of Switch, Firewall, Hypervisor, Storage &amp; many more Images. Its my first EvE-NG Integration but im really fascinated and really can recommend it. Actually im using an Professional Version which costs: 197$</h4><h4>EvE-NG is running on an VMWare-ESXi Hypervisor which allows VT-X, EVE is an nested-virtualised instance including:</h4><ul><li>I7 9999K 80000GHz</li><li>256GB DDR4 RAM</li><li>1TB M2 Storage :(</li><li>1Gbit Down/Up</li><li>pfSense { Firewall &amp; VPN Splitt-Tunneling }</li></ul><h3>Cisco ACI {{ Cloud | AWS Integration }}</h3><p>AWS for Continuous Integration &amp; Continuous Delivery, Production Application will be hosted on OnPremise site.</p><p>External connectivity to the Internet for workloads in AWS Cloud can be configured in two ways:</p><p>1. Cloud L3Out: A cloud Internet connection (also called L3Out in Cisco ACI terminology) can be defined for workloads deployed on AWS. It is achieved by configuring a cloud-External EPG in MSO for the cloud site in AWS.</p><p>A Cloud-External EPG can create an Internet Gateway (IGW) and attach it to every VPC in AWS cloud site and appropriate routes will be programmed into the VPC route tables.</p><p>2. On-premise L3Out: Let us Handle an OnPremise L3Out to have fully IP Outbound Control, we can forward all the traffic from a VPC in AWS to transit to an on-premises site and be inspected through an on-premises firewall/IDS/IPS before the traffic exits to, or enters from, the Internet.</p><p>For example, the web and application tiers of an application (two EPGs) in the same VRF running in the on-premises Cisco ACI data center. <strong>By stretching the same VRF to the cloud site, we can deploy web and application tiers in the cloud site. </strong>You can deploy on-premises web and application tiers as active, and the cloud tiers can act as slave, and can failover to a cloud tier in case of a disaster recovery.</p><p>All of this can be achieved by using MSO as a single point of orchestration; you can configure contracts between these tiers spread across the hybrid cloud environment. Simply publishing this policy from MSO to both sites programs the end-to-end constructs required to implement the workload segmentation policy.</p><h4>Cisco ACI Cloud streched EPG Architecture OverView</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*sypI1xt1gV8vXRH3gdJFwA.png" /></figure><p>Cloud example Szenario:</p><p>The AWS AMI images for Cisco Cloud APIC are available at AWS marketplace, and uses the BYOL model for licensing at the time of the writing of this white paper. Readers are encouraged to refer to the ordering guide for any other options.</p><p>The first step to deploy Cisco Cloud ACI is to configure the Infra VPC and to launch Cisco Cloud APIC in AWS. Those steps are all performed by using a Cisco-provided AWS CloudFormation template, which allows you to create automation workflows called stacks that will execute a series of steps on your behalf.</p><p>more details coming soon…</p><h4>Cisco ACI - Network &amp; Grouping Overview</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*xak082jHugVmBAN_sEeatw.png" /></figure><h4>Cisco ACI Short Explainer {{ 802.1q_overview }}</h4><p>hint: Stretched EPG´s over different onPremise Hypervisor Environments like libvirt/qemu/km &amp; VMWare_ESXi + VMWare_vSphere client.</p><figure><img alt="CiscoACI Tenant, BridgeDomain, App_Profile, Contract relationship" src="https://cdn-images-1.medium.com/max/1024/1*mwg9uwEc73ug7sWXVRj1TQ.png" /></figure><h4>Cisco ACI privat &amp; public Cloud Connectivity through BridgeDomains, EPG´s and Contracts</h4><p>Is is possible to stretch your onPremise networks to public cloud provider like Azure or AWS, for this scenario please analyse my image attached.</p><h3>Ansible: Cisco ACI - Network Modules</h3><p><a href="https://docs.ansible.com/ansible/latest/modules/list_of_network_modules.html">https://docs.ansible.com/ansible/latest/modules/list_of_network_modules.html</a></p><h4>already_included():</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*KfmrvnHhxUB55jMFTZGIcg.png" /></figure><h4>todo():</h4><ul><li>cisco_aci_aep (X)</li><li>cisco_aci_aep_to_domain (X)</li><li>cisco_aci_bridge_domain (onGoing)</li><li>cisco_aci_endpoint_group (onGoing)</li><li>cisco_aci_virtual_route_forwarding (onGoing)</li></ul><h4>rudimential_architecture_overview():</h4><p>version: 0.0.1 | emulated EvE-NG Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CtRyr9d4ThkmZehF2A_5AA.png" /></figure><h4>required_images():</h4><p>For my existent lab im using KVM images which are working perfectly on EvE-NG environment. For further Deployment Testings you can send me an personal message on social networks.</p><p><strong>baremetal_hardware_requirements():</strong></p><p>2x Spine Cisco-Nexus 9000</p><p>2x Leafe Cisco-Nexus 9000</p><p>1x Cisco APIC Controller</p><p>1x Citrix Netscaler</p><p>1x HAProxy | Debian or CentOS</p><p><strong>Required Budget: xx.xxx,xx€</strong></p><pre>#CISCO-ACI<br><a href="https://software.cisco.com/download/home/286283149/type/286283168/release/5.0(1k)">https://software.cisco.com/download/home/286283149/type/286283168/release/5.0(1k)</a></pre><pre>#CISCO-NX-OS<br><a href="https://software.cisco.com/download/home/286312239/type/282088129/release/9.3(4)?i=!pp">https://software.cisco.com/download/home/286312239/type/282088129/release/9.3(4)?i=!pp</a></pre><pre>#VMWare ESXi &amp; vSphere <br><a href="https://my.vmware.com/web/vmware/downloads">https://my.vmware.com/web/vmware/downloads</a></pre><pre>#FortiGate<br><a href="https://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-vm-install-54/download-vm-deploy-pkg.htm">https://help.fortinet.com/fos50hlp/54/Content/FortiOS/fortigate-vm-install-54/download-vm-deploy-pkg.htm</a></pre><pre>#Citrix NetScaler<br><a href="https://www.eve-ng.net/index.php/documentation/howtos/howto-add-citrix-netscaler/">https://www.eve-ng.net/index.php/documentation/howtos/howto-add-citrix-netscaler/</a></pre><h4>test_connectivity():</h4><pre>ansible-playbook -i inventories/aci.ini aci-login.yml --diff -vvvv</pre><h4>debug_output():</h4><p><a href="https://asciinema.org/a/234381">sl-小火车</a></p><h4>Visit &amp; login into your APIC Interface</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*COrYtkMf-jBlBMTR6G6W8Q.png" /></figure><h3>Define your login method and authentication credentials</h3><h4>Click():</h4><ol><li>Admin</li><li>AAA</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Xza32leprMivWDiVYgFqA.png" /></figure><ol><li>double click -&gt; local_users | “admin”</li><li>specify ssh_key &amp; or user_certificate</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AmpvOLBexxKoG5S8qTZqbw.png" /></figure><p>My Recommendation:</p><p>Create for every tenant a new aaa user to separate an granularly your APIC privileges. Ill publish an Story later on</p><p>Analyse existent roles:</p><ul><li>cisco_aci_aaa_fabric_user (/)</li><li>cisco_aci_aaa_user_keybased (/)</li></ul><p>FYI: Some German Privat Cloud Provider are handling all bridge_domains subnets in one tenant to offer an customer shared network environment, these gives you a few ISP ( contracted ) features.</p><blockquote>Please read: (link) for AWS &amp; Azure integrations !</blockquote><h3>Configure your APIC host and credentials</h3><p>cisco-aci-information-gathering</p><p>Lets use my role &amp; play Development environment to get informations about your APIC Infrastructure, ill included some aci-rest calls to get datas about switch: health_status &amp; faults :P If you&#39;re spine &amp; leafe switches are working correctly you&#39;re getting some informations there. ill show you later on</p><p>Look inside my example inventory and provide needed informations.<br>My Play is an false, positive role which means its possible to ask for NULL values ! Don´t worry to define an aaa_admin user &amp; tenant :) informations gathering only include query methods, nothings will be inserted or deleted !</p><pre>vi poc/inventories/aci.ini</pre><p>Specify the following <strong>initial</strong> variables:</p><pre>[apic]<br>apic1.bin.lab ansible_ssh_host=192.168.250.40 ansible_ssh_user=admin ansible_ssh_key=~/.ssh/id_rsa.pub</pre><pre>[apic:vars]<br>cisco_aci_host=192.168.250.40<br>cisco_aci_username=admin<br>cisco_aci_password=passw0rd<br>cisco_aci_tenant=IDUSTBIN</pre><h4>Role variables</h4><p>First all we want only informations about one specific tenant. The role accepts various variables, including:</p><pre>cisco_aci_host=192.168.250.40<br>cisco_aci_username=admin<br>cisco_aci_password=&quot;{{ aci_passwd | password_hash(&#39;sha512&#39;) }}&quot;<br>cisco_aci_tenant=IDUSTBIN</pre><pre>cisco_aci_bridge_domain=intranetBD<br>cisco_aci_vrf=Intranet<br>cisco_aci_bd_type=vmm<br>mac_address_id=00:00:00:00:00<br>cisco_aci_app_profile=WEB<br>cisco_aci_endpoint_group=WEB<br>cisco_aci_bridge_domain=intranet.bin.lab<br>cisco_aci_bd_type=ethernet<br>ap_name=Intranet<br>cisco_aci_epg=Intranet</pre><h4>Verify Ansible Version</h4><p>Run the following command using Ansible v2.9.6</p><pre>ansible --version</pre><h4>output():</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s5pvPCHtPmceK7bzp7PmFQ.png" /><figcaption>ansible -version</figcaption></figure><h4>test_connectivity():</h4><pre>ansible -i inventories/aci.ini all -m ping</pre><h4>output():</h4><p><a href="https://asciinema.org/a/330973">ansible -i inventories/aci.ini all -m ping</a></p><h4>CISCO-ACI Information-Gathering Role:</h4><pre>ansible-playbook -i inventories/aci.ini aci-info.yml --diff -v</pre><p>The first time it will ask your existent APIC Environment about Informations from your default inventories/aci.ini file. You can make modifications and extend the existent play &amp; roles logic, run it again as often as you like, debug the output, write output values to an file.</p><h4><strong>output():</strong></h4><p>we want to ask the api for existent tenants, domains, bridge_domains, apps, app_profiles, endpoint_groups &amp; contracts between epg´s and apps.</p><p>My Information Gathering role is able to get your required strings, variables and objects. If your APIC was successful installed &amp; configured we can use my role to validate your application central logic.</p><p>Were using my information gathering role to get informations about existend environments. Its also possible to include my role &amp; playbook to an SIEM Service to verfiy specifiy VLAN / xVLAN Settings &amp; Port Policies.</p><h4>cisco_fabric_sfp_port.py</h4><blockquote>Another helpful python script which is able to find free sfp_port on cisco nxos switch devices</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4191d508f2d90044288b8866d8d2242b/href">https://medium.com/media/4191d508f2d90044288b8866d8d2242b/href</a></iframe><p>If you liked these tutorial i would be really thankful for an like, subscribe, follow, comment &amp; or dislike. Ill try to post every week, every second week in a month to post more detailed informations about Cisco-ACI, Ansible, AWX &amp; Jenkins deployments &amp; maintenance Plays.</p><p>Please write in comments below, what are you more interested in:</p><blockquote>Installation Manual ACI &amp; NX-OS, ESXi Environment</blockquote><blockquote>CISCO-ACI Inventory &amp; AWX/Jenkins Pipeline Deployments</blockquote><blockquote>Ansible fundamentals</blockquote><blockquote>Cisco-ACI fundamentals</blockquote><p>you can find the existent information gathering role &amp; play on GitHub (link), Star, Follow, Subscribe &amp; Comment for more Content :P</p><p>If you&#39;re running into some issues, feel free to create an GitHub issue or post an comment. Ill try to answer immidiadently</p><p><em>https://instagram.com/idustbin</em></p><p>https://github.com/idustbin</p><p>Made with ❤ by &lt;<a href="https://idustbin.github.io/">https://idustbin.de</a>/&gt;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24c70ea0e167" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>