arc/ansible
Mark O Brien ef43d0bbf3 mailman: initial setup of server
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-08-30 14:47:37 +01:00
..
group_vars mailman: initial setup of server 2021-08-30 14:47:37 +01:00
handlers Add handlers 2021-01-20 11:38:36 +01:00
host_vars mailman: initial setup of server 2021-08-30 14:47:37 +01:00
roles set up pdc host 2021-04-22 11:27:35 +01:00
secrets mailman: initial setup of server 2021-08-30 14:47:37 +01:00
ansible.cfg add ansible cfg 2021-01-19 11:33:50 +00:00
create_ec2.yml add vm for mailman arc project 2021-08-24 10:59:00 +01:00
datanommer.yml Add datagrepper-test to all the task on the datanommer playbook 2021-01-21 14:52:35 +01:00
delete_ec2.yml basic playbooks to create/delete ec2 instances 2021-01-18 12:22:52 +00:00
inventory mailman: initial setup of server 2021-08-30 14:47:37 +01:00
README create datanommer timescale instance 2021-02-03 15:20:20 +00:00
snapshot_ebs_volume.yml Add playbook/role to snapshot ebs volume 2021-01-25 13:00:16 +00:00

Dependencies:
  - awscli
  - python3-boto3


Before running any of the EC2 related playbooks, first create a vars file. Use host_vars/datanommer.yml as a reference.
When running the playbook add an extra var "-e initiative_name=<vars_file_name>"

i.e. ansible-playbook create_ec2.yml -e "initiative_name=datanommer"

When creating a snapshot a description must be passed as an extra var with the key `snap_description`
The description should mention why the snaphot was created.

i.e. ansible-playbook snapshot_ebs_volume.yml -e "initiative_name=datanommer" -e "snap_description=database partitioned by year"