Last active
December 2, 2022 01:09
-
-
Save jnbdz/0a5ae79a31d4f71d3c244c4eda1d1952 to your computer and use it in GitHub Desktop.
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
sudo apt update | |
sudo apt install lsb-release python3-distutils | |
cd ~/Downloads | |
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
sudo apt update && sudo apt install packer | |
packer --version | |
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
sudo apt update && sudo apt install vault | |
vault --version | |
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
sudo apt update && sudo apt install terraform | |
terraform --version | |
# If pip is not installed | |
python3 -m pip -V | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python3 get-pip.py --user | |
# Install ansible | |
# Doc: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html | |
python3 -m pip install --user ansible | |
ansible --version | |
# Show the installed Ansible packages | |
python3 -m pip show ansible | |
# Install ansible galaxy | |
ansible-galaxy collection install devsec.hardening | |
python3 -m pip install --user argcomplete | |
activate-global-python-argcomplete --user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment