Skip to content

Instantly share code, notes, and snippets.

@jelinekb
Last active September 20, 2024 16:45
Show Gist options
  • Save jelinekb/272485749194f002717b170c0818e09c to your computer and use it in GitHub Desktop.
Save jelinekb/272485749194f002717b170c0818e09c to your computer and use it in GitHub Desktop.
Ansible Bootstrap
#!/usr/bin/env bash
## execute script from url
# https://stackoverflow.com/questions/46073096/is-there-a-permalink-to-the-latest-version-of-gist-files
# bash <(wget -qO- https://gist.githubusercontent.com/jelinekb/272485749194f002717b170c0818e09c/raw/ansible_bootstrap.sh)
### Ubuntu 24.10
## bootstraps ansible depenencies on managed node
# 1. openssh
# 2. pip3
# 3. pipx
# 4. pipx ansible
sudo apt update
sudo apt -y install openssh-server # required by ansible
sudo apt -y install python3-pip # required to install pipx
sudo apt -y install pipx
pipx install ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment