--- - name: Install build bits with_items: - git - gcc - libffi-devel - openssl-devel yum: name: "{{ item }}" state: present - name: Install epel utils with_items: - pwgen yum: enablerepo: epel name: "{{ item }}" state: latest - name: Install PIP things with_items: - ansible - boto3 pip: name: "{{ item }}" state: latest - name: Gather AWS info action: ec2_facts - name: Install queue-watching cron template: src: sqs-poll.cron.j2 dest: /etc/cron.d/sqs-poll.cron mode: "0644" owner: root group: root