Chapter 3. Editing the inventory file

Edit the inventory file to specify an installation of Automation Hub, and update required parameters.

  1. Navigate to the installer

    1. [bundled installer]

      $ cd ansible-automation-platform-setup-bundle-<latest-version>
    2. [online installer]

      $ cd ansible-automation-platform-setup-<latest-version>
  2. Open the inventory file with a text editor.
  3. Edit inventory file parameters to specify an installation of Automaton Hub host only. Follow the example below.

    1. Leave [tower] inventory information empty.
    2. Add [automationhub] group host information.

      Note

      Provide a reachable IP address for the [automationhub] host to ensure users can sync content from Private Automation Hub from a different node.

    3. Update the values for automationhub_admin_password and automation_pg_password and any additional parameters based on your installation specifications:

      Example

      [tower]
      
      
      [automationhub]
      <reachable-ip> ansible_connection=local
      
      [all:vars]
      automationhub_admin_password= <PASSWORD>
      
      automationhub_pg_host=''
      automationhub_pg_port=''
      
      automationhub_pg_database='automationhub'
      automationhub_pg_username='automationhub'
      automationhub_pg_password=<PASSWORD>
      automationhub_pg_sslmode='prefer'
      
      # The default install will deploy a TLS enabled Automation Hub.
      # If for some reason this is not the behavior wanted one can
      # disable TLS enabled deployment.
      #
      # automationhub_disable_https = False
      # The default install will generate self-signed certificates for the Automation
      # Hub service. If you are providing valid certificate via automationhub_ssl_cert
      # and automationhub_ssl_key, one should toggle that value to True.
      #
      # automationhub_ssl_validate_certs = False
      # SSL-related variables
      # If set, this will install a custom CA certificate to the system trust store.
      # custom_ca_cert=/path/to/ca.crt
      # Certificate and key to install in Automation Hub node
      # automationhub_ssl_cert=/path/to/automationhub.cert
      # automationhub_ssl_key=/path/to/automationhub.key