--- - 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 - passlib pip: name: "{{ item }}" state: latest - name: Gather AWS info action: ec2_facts - name: Install crons with_items: - sqs-poll.cron - ddb-users.cron template: src: "{{ item }}.j2" dest: /etc/cron.d/{{ item }} mode: "0644" owner: root group: root