UBUNTU Testing
./startup.sh
ssh -i Ubuntu-key.pem [email protected] 'bash -s' < scripts/ubuntu-setup.sh
ssh -i Ubuntu-key.pem [email protected] 'bash -s' < scripts/ubuntu-setup.sh
ssh -i Ubuntu-key.pem [email protected]
git clone https://github.com/ansible-lockdown/UBUNTU18-CIS.git
vi or nano UBUNTU18-CIS/site.yml
- hosts: localhost
ansible-playbook site.yml
terrafrom refresh
Outputs:
Ubuntu18 = "ssh -i Ubuntu-key.pem [email protected]" Ubuntu20 = "ssh -i Ubuntu-key.pem [email protected]" ec2_instance_ip_Ubuntu18 = "3.89.35.103" ec2_instance_ip_Ubuntu20 = "3.95.13.227"
Welcome to your PIPELINE testing
./cleanup.sh