Variables sub-tab
    • 07 Jun 2024
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Variables sub-tab

    • Dark
      Light
    • PDF

    Article summary

    This tab lists the specific host variables used in Playbooks. The user can upload a CSV variables file or manually create variables.

    Upload Variable

    1. Go to System :: Central Management :: Variables.
    2. Click Upload (displays dialog).
    3. On File Location menu, select one:
      • Local Computer radio button (expands dialog). Click Browse. Locate and select the file. 
      • Remote Server radio button (expands dialog): 
        • Enter URL. (URL can be the IP address or hostname/FQDN. If using IPv6, use brackets [ ... ]. Supported protocols: FTP, TFTP, SFTP, and SCP.)
        • Enter Username and Password.
        • (optional) Select The path in url to be used as the absolute path name checkbox.
    4. Click Upload.
      CVS file content example:

      field,value,scope,target
      session_timeout,1200,host,peer1.localdomain

    Add Variable

    You can add variables for a host and a group of hosts.

    1. Go to System :: Central Management :: Variables.
    2. Click Add (displays dialog). 
      1. Enter Field.
      2. Enter Value.
      3. Under the Scope section, select the variables for Host from the Target drop-down list.
      4. Similarly, select the Group field and the variables from the Target drop-down list. 
    3. Click Save.

    Edit Variable

    1. Go to System :: Central Management :: Variables.
    2. Select the checkbox of the item to be edited.
    3. Click Edit.
    4. On the dialog, make changes as needed.
    5. Click Save.

    Delete Variable

    1. Go to System :: Central Management :: Variables.
    2. Select checkbox of name to be deleted.
    3. Click Delete.



    Was this article helpful?

    What's Next
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence