add rudimentary ddb account creation scripts
[awsible] / roles / management / tasks / main.yml
index ba24f86a11f94bda30ffa5175743bfb766377f9c..e42e4717a89d9a6a39b61a37c53e3747e164092d 100644 (file)
@@ -21,6 +21,7 @@
   with_items:
   - ansible
   - boto3
+  - passlib
   pip:
     name: "{{ item }}"
     state: latest
 - name: Gather AWS info
   action: ec2_facts
 
-- name: Install queue-watching cron
+- name: Install crons
+  with_items:
+  - sqs-poll.cron
+  - ddb-users.cron
   template:
-    src: sqs-poll.cron.j2
-    dest: /etc/cron.d/sqs-poll.cron
+    src: "{{ item }}.j2"
+    dest: /etc/cron.d/{{ item }}
     mode: "0644"
     owner: root
     group: root