Today, AWS Systems Manager introduces the ability to execute Ansible playbooks directly from GitHub or Amazon Simple Storage Service (Amazon S3) through Systems Manager Run Command or State Manager. This lets you use your existing Ansible automations and to benefit from the control and safety provided by Systems Manager.

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/09/now-use-aws-systems-manager-to-execute-complex-ansible-playbooks/