A DevOps team stores Ansible playbooks in CodeCommit and wants to auto-trigger playbook runs on every commit. What is the most straightforward AWS-native approach?
-
A
Use CloudWatch Events to trigger an EC2 instance that runs the playbook
-
B
Configure a CodePipeline with a CodeBuild action that runs ansible-playbook
-
C
Schedule a Lambda function to poll CodeCommit every minute
-
D
Use AWS OpsWorks to detect commits and execute playbooks