Created
November 12, 2021 04:18
-
-
Save dmsimard/7d8d9806ef43b0c775587e154afbea53 to your computer and use it in GitHub Desktop.
ara callback on centos7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From a fresh CentOS7 image | |
yum -y update | |
yum -y install git python3 python3-pip | |
python3 -m pip install venv | |
python3 -m venv ~/venv | |
source ~/venv/bin/activate | |
pip install pip --upgrade | |
pip install ara ansible-core | |
export ANSIBLE_CALLBACK_PLUGINS=$(python3 -m ara.setup.callback_plugins) | |
export ARA_CALLBACK_THREADS=4 | |
export ARA_API_CLIENT=http | |
export ARA_API_SERVER=https://server.example.org | |
# export ARA_API_USERNAME=username | |
# export ARA_API_PASSWORD=password | |
ansible-pull -U https://github.com/dmsimard/ansible-pull-test playbook.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment