Skip to content

Instantly share code, notes, and snippets.

View elsie-dev's full-sized avatar
🌟
Be a rainbow in someone's cloud

ElsieMarion elsie-dev

🌟
Be a rainbow in someone's cloud
View GitHub Profile
#!/bin/bash
echo 'Starting Provision: web'$1
sudo apt-get update
sudo apt-get install -y nginx
echo "Machine: web"$1 >> /usr/share/nginx/html/index.html
echo 'Provision web'$1 'complete'
#!/bin/bash
echo 'Starting Provision: lb1'
sudo apt-get update
sudo apt-get install -y nginx
sudo service nginx stop
sudo rm -rf /etc/nginx/sites-enabled/default
sudo mkdir /var/www/handy.local
sudo touch /var/www/handy.local/index.html
sudo touch /etc/nginx/sites-enabled/default
@elsie-dev
elsie-dev / gist:d14de602e9d09b11bc6614ec3ae346cf
Last active July 13, 2023 08:41
Ansible requirements.txt file used in my technical article
ansible>=2.7.12
asn1crypto==0.24.0
awscli==1.16.111
bcrypt==3.1.6
boto==2.49.0
boto3==1.9.101
botocore==1.12.101
certifi==2018.11.29
cffi
chardet==3.0.4