SSH into the EC2 and run
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
From the page Manage Jenkins > Manage Plugins
, install Ansible and Terraform plugins.
From the page Manage Jenkins > Global Tool Configuration
, add Ansible and Terraform installations by filling out usr/bin/
to the installation paths.