Last active
September 20, 2024 16:45
-
-
Save jelinekb/272485749194f002717b170c0818e09c to your computer and use it in GitHub Desktop.
Ansible Bootstrap
This file contains hidden or 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
#!/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