• Skip to primary navigation
  • Skip to content
  • Skip to footer
Automate NYC! Let's automate that...
  • Posts
  • Categories
  • Tags
  • KB Docs
    1. Home
    2. /
    3. Ansible
    4. /
    5. How to setup inventory file

    Eric Chong

    Ansible Automation Architect @ Red Hat

    • NYC
    • Website
    • LinkedIn

    How to setup inventory file

    February 18, 2020 less than 1 minute read

    How to setup inventory

    Define a list of host variables in INI file

    oracle.lab.home  instances='["db1","db2","db3"]'
    

    Tags: Ansible, invenory

    Categories: Ansible

    Updated: February 18, 2020

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    Using AAP session authentication for API calls

    July 21, 2025 1 minute read

    While reading the Automation execution API overview doc, I noticed that beside OAuth 2 token, and basic auth with username and password, we can also use gate...

    Setting up Windows VM on RHEL with GPU passthru

    January 19, 2025 2 minute read

    Background Instead of dual boot my PC, I want to use RHEL as my main OS and run the Windows 11 as a VM on top. However, gaming will be terrible without a de...

    Using HashiCorp Vault Signed SSH with AAP

    August 27, 2024 1 minute read

    In this post Using signed SSH certificate in AAP, we sign the the SSH key on command line before we create the AAP machine credential. In this article, we w...

    Using Datadog as External Logging for AAP

    June 7, 2024 1 minute read

    If you want to integrate Datadog logging directly with the playbooks or projects, check out this article KB3982961 and Datadog callback plugin

    • Follow:
    • Feed
    © 2025 Eric Chong. Powered by Jekyll & Minimal Mistakes.