Skip to content

Commit

Permalink
Merge pull request #721 from guardian/nicl/update-cdk-base-paths
Browse files Browse the repository at this point in the history
Update cdk-base dep S3 paths
  • Loading branch information
nicl authored Apr 25, 2022
2 parents af3b15d + 550e5c7 commit 3f0bb6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/cdk-base/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
- name: Install instance-tag-discovery
shell: |
NAME=instance-tag-discovery
/usr/local/bin/aws s3 cp s3://{{ dist_bucket | quote }}/packages/$NAME/$NAME-linux-{{ deb_arch }} /var/lib/cloud/scripts/per-instance/00-$NAME
/usr/local/bin/aws s3 cp s3://{{ dist_bucket | quote }}/deploy/PROD/$NAME/$NAME-linux-{{ deb_arch }} /var/lib/cloud/scripts/per-instance/00-$NAME
chmod +x /var/lib/cloud/scripts/per-instance/00-$NAME
when:
- ansible_os_family == "Debian"

- name: Install devx-logs
shell: |
NAME=devx-logs
/usr/local/bin/aws s3 cp s3://{{ dist_bucket | quote }}/packages/$NAME/$NAME-linux-{{ deb_arch }} /var/lib/cloud/scripts/per-instance/01-$NAME
/usr/local/bin/aws s3 cp s3://{{ dist_bucket | quote }}/deploy/PROD/$NAME/$NAME-linux-{{ deb_arch }} /var/lib/cloud/scripts/per-instance/01-$NAME
chmod +x /var/lib/cloud/scripts/per-instance/01-$NAME
when:
- ansible_os_family == "Debian"
Expand All @@ -29,4 +29,4 @@
printf '#!/bin/bash\nsystemctl start td-agent-bit.service' > /var/lib/cloud/scripts/per-instance/02-$NAME
chmod +x /var/lib/cloud/scripts/per-instance/02-$NAME
when:
- ansible_os_family == "Debian"
- ansible_os_family == "Debian"

0 comments on commit 3f0bb6b

Please sign in to comment.