Skip to content

Commit

Permalink
Merge pull request #846 from cisagov/improvement/revert-csa-email-map…
Browse files Browse the repository at this point in the history
…-yaml

Revert "Create CSA region-to-email mapping YAML file for cyhy-mailer"
  • Loading branch information
dav3r authored Dec 2, 2024
2 parents c0c8d02 + cc5793a commit a485db6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions ansible/roles/cyhy_mailer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@
owner: cyhy
src: aws_config.j2

- name: Create the CSA region-to-email mapping YAML file
ansible.builtin.copy:
content: "{{ cyhy_mailer_csa_email_yaml }}"
dest: /var/cyhy/cyhy-mailer/secrets/csa_emails.yml
group: cyhy
mode: 0444
owner: cyhy

# The compose command will automatically use docker-compose.yml and
# docker-compose.override.yml, so this is a way for us to tune
# compose's behavior to the particular machine.
Expand Down
2 changes: 0 additions & 2 deletions ansible/roles/cyhy_mailer/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
# CSA region-to-email YAML mapping
cyhy_mailer_csa_email_yaml: "{{ lookup('aws_ssm', '/cyhy/csa_email_yaml') }}"
# reporter mongo database
cyhy_mailer_reporter_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/database') }}"
# reporter mongo password
Expand Down

0 comments on commit a485db6

Please sign in to comment.