Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gigsforlinux/adbeb401a44fb23a6dae5c784958b74b to your computer and use it in GitHub Desktop.
Save gigsforlinux/adbeb401a44fb23a6dae5c784958b74b to your computer and use it in GitHub Desktop.
I'll Install Ansible-Puppet-Vagrant DevOps Tools For You
sudo apt update
sudo apt install ansible
ansible-inventory --list -y
#testing connection
ansible all -m ping -u root
ansible all -a "df -h" -u root
####Install Puppet
sudo apt-get update -y
###Install puppet server on master node
wget https://apt.puppetlabs.com/puppet6-release-focal.deb
sudo dpkg -i puppet6-release-focal.deb
sudo apt-get update -y
sudo apt-get install puppetserver -y
sudo nano /etc/default/puppetserver
JAVA_ARGS="-Xms1g -Xmx1g -Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
sudo systemctl start puppetserver
sudo systemctl enable puppetserver
sudo systemctl status puppetserver
###Install Vargrant
sudo apt install virtualbox
curl -O https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.deb
vagrant --version
cd ~/my-vagrant-project
vagrant init centos/8
vagrant up
vagrant ssh
vagrant halt
vagrant destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment