Skip to content

Instantly share code, notes, and snippets.

@mjmenger
Last active August 18, 2021 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjmenger/f40137e1c3172fdd8d2871aa0ffe7955 to your computer and use it in GitHub Desktop.
Save mjmenger/f40137e1c3172fdd8d2871aa0ffe7955 to your computer and use it in GitHub Desktop.
A1T jumpstart

from F5 Clouddocs

sudo apt install python3-pip
pip install virtualenv
python3 -m virtualenv myansible
source myansible/bin/activate
pip install ansible
ansible-playbook --version
ansible-galaxy collection install f5networks.f5_modules
#
# bigip address, username, and password are
# retrieved from a .env file
#
# the format of the .env file looks like
# bigip1=0.0.0.0
# user=username
# password=yoursecretpassword
#
###
# @name as3status
#
GET https://{{$dotenv bigip1}}/mgmt/shared/appsvcs/declare
Authorization: Basic {{$dotenv user}} {{$dotenv password}}
Content-Type: application/json
###
# @name dostatus
#
GET https://{{$dotenv bigip1}}/mgmt/shared/declarative-onboarding?show=full
Authorization: Basic {{$dotenv user}} {{$dotenv password}}
Content-Type: application/json
git config --global alias.serve '!git daemon --base-path=. --export-all --reuseaddr --informative-errors --verbose'
git config --global alias.hub '!git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --informative-errors --verbose'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment