Skip to content

Commit 7046c06

Browse files
committed
changes to rollbar token from file to variable
1 parent b522846 commit 7046c06

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

ansible/delta-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ api_s3_context_bucket=runnable.context.resources.production
1515

1616
[docks:vars]
1717
docker_config=docks
18+
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751
1819

1920
[eru:vars]
2021
eru_github_id=46a23f5f99f0aa9460f8

ansible/gamma-hosts/variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ api_s3_context_bucket=runnable.context.resources.production-beta
1515

1616
[docks:vars]
1717
docker_config=docks
18+
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751
1819

1920
[eru:vars]
2021
eru_github_id=8abb08f83f6d1c52bd1a

ansible/roles/dock-init/files/rollbar.token

Lines changed: 0 additions & 1 deletion
This file was deleted.

ansible/roles/dock-init/tasks/main.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616

1717
- name: copy rollbar token
1818
tags: rollbar
19-
become: true
20-
copy:
21-
src=rollbar.token
22-
dest=/opt/runnable/dock-init/key
23-
mode=0444
24-
owner=root
25-
group=root
19+
lineinfile:
20+
dest="/opt/runnable/dock-init/key/rollbar.token
21+
line="{{ docks_rollbar_key }}"
22+
create=yes

0 commit comments

Comments
 (0)