You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the team ends up running playbooks to recreate client issues, it would be helpful of ac supported this given it has the venv's already running. I started a rough draft of the interface below and thought I would place it here for later use.
# ------------------------------------------------------------------------------
# Run ansible-playbook for any named venv
# ------------------------------------------------------------------------------
#->playbook:
## Run ansible-playbook for any named venv.
## Usage: ac --playbook --file <str> [--host <str>] [--user <bool>]
## file:
## host (optional):
## - Space or comma delimited managed nodes to use.
## - Entering one more managed nodes overrries the auto detection feature which
## will build a cluster of managed nodes to run on.
## - Only the host prefix is needed, e.g. 'ec01150a'
## user (optional):
## - Ansible user authorized to run tests on the managed node.
## python (requred):
## - IBM enterprise python version, e.g 3.10', '3.11', '3.12'
## zoau (optional):
## - ZOAU version to use. e.g. 1.2.5, 1.3.0, 1.3.1
## pythonpath (optional):
## - The absolute path to where the ZOAU python module is located.
## - The can be for the precopiled binary, wheels or setup tools installation home.
## - Default is to use the precompiled binary (until we establish wheel locations)
## Example:
## $ ac --playbook --file "/path/playbook.yml" (this will look for inventory file in location of playbook)
## $ ac --playbook --file "/path/playbook.yml" --inventory "/path/inventory"
## $ ac --playbook --file "/path/playbook.yml" --inventory "/path/inventory" --user ibmuser
## $ ac --playbook --file "/path/playbook.yml" --host "ibm.com" --user "ibmuser"
ac_playbook(){
message "Running ansible playbook...."
. $VENV_BIN/activate && $VENV_BIN/ansible-playbook --.....
}
Ansible module
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Enabler description
Since the team ends up running playbooks to recreate client issues, it would be helpful of ac supported this given it has the venv's already running. I started a rough draft of the interface below and thought I would place it here for later use.
Ansible module
No response
The text was updated successfully, but these errors were encountered: