mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
AAP-37812 Added mention about setting correct env variable in cli usage (#16091)
Added mention about setting correct env variable in cli usage
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'AWX CLI'
|
project = 'AWX CLI'
|
||||||
copyright = '2024, Ansible by Red Hat'
|
copyright = '2025, Ansible by Red Hat'
|
||||||
author = 'Ansible by Red Hat'
|
author = 'Ansible by Red Hat'
|
||||||
|
|
||||||
|
|
||||||
@@ -54,5 +54,5 @@ rst_epilog = '''
|
|||||||
.. |prog| replace:: awx
|
.. |prog| replace:: awx
|
||||||
.. |at| replace:: automation controller
|
.. |at| replace:: automation controller
|
||||||
.. |At| replace:: Automation controller
|
.. |At| replace:: Automation controller
|
||||||
.. |RHAT| replace:: Red Hat Ansible Automation Platform controller
|
.. |RHAT| replace:: Red Hat Ansible Automation Platform
|
||||||
'''
|
'''
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Installation
|
|||||||
Synopsis
|
Synopsis
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|prog| commands follow a simple format:
|
CLI commands follow a simple format:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
@@ -25,7 +25,14 @@ The ``action`` is the thing you want to do (a verb). Resources generally have a
|
|||||||
Getting Started
|
Getting Started
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Using |prog| requires some initial configuration. Here is a simple example for interacting with an AWX or |RHAT| server:
|
Using |prog| requires some initial configuration. To execute AWX CLI on |RHAT| 2.5 and later, you must set your environment variable to:
|
||||||
|
|
||||||
|
.. code::
|
||||||
|
|
||||||
|
AWXKIT_API_BASE_PATH=/api/controller/
|
||||||
|
|
||||||
|
|
||||||
|
Here is a simple example for interacting with an AWX or |RHAT| server:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user