e42e4717a89d9a6a39b61a37c53e3747e164092d
[awsible] / roles / management / tasks / main.yml
1 ---
2 - name: Install build bits
3 with_items:
4 - git
5 - gcc
6 - libffi-devel
7 - openssl-devel
8 yum:
9 name: "{{ item }}"
10 state: present
11
12 - name: Install epel utils
13 with_items:
14 - pwgen
15 yum:
16 enablerepo: epel
17 name: "{{ item }}"
18 state: latest
19
20 - name: Install PIP things
21 with_items:
22 - ansible
23 - boto3
24 - passlib
25 pip:
26 name: "{{ item }}"
27 state: latest
28
29 - name: Gather AWS info
30 action: ec2_facts
31
32 - name: Install crons
33 with_items:
34 - sqs-poll.cron
35 - ddb-users.cron
36 template:
37 src: "{{ item }}.j2"
38 dest: /etc/cron.d/{{ item }}
39 mode: "0644"
40 owner: root
41 group: root