Ansible with GitHub and Jenkins

Hi Guys,

I’m looking for a step by step process to configure GitHub, Jenkins (CI) and Ansible (CD) so that a code from local machine to → Github → Jenkins (CI) → Ansible (CD) → local or EC2 can be deployed.

Also looking for a list of all parameters available to deploy AWS resources, example: parameter below for 'security_group, from_port, to_port, cidr_ip etc…: