Skip to content

Commit 6d59caa

Browse files
committed
changes to fix errors
1 parent 7046c06 commit 6d59caa

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

ansible/delta-hosts/variables

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ api_s3_context_bucket=runnable.context.resources.production
1717
docker_config=docks
1818
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751
1919

20+
[dock:vars]
21+
docks_rollbar_key=d1af6567ed0f464fb1d676f38fd31751
22+
2023
[eru:vars]
2124
eru_github_id=46a23f5f99f0aa9460f8
2225
eru_github_secret=a0336d72e3d540fb9fbbed2c123a81e1cb329dab

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
- { file_name: 'token-02', value: "{{ vault_token_02 }}" }
1515
- { file_name: 'token-03', value: "{{ vault_token_03 }}" }
1616

17+
- fail: msg="value tokens need to be defined for this role"
18+
when: docks_rollbar_key is not defined
19+
1720
- name: copy rollbar token
1821
tags: rollbar
1922
lineinfile:
20-
dest="/opt/runnable/dock-init/key/rollbar.token
23+
dest="/opt/runnable/dock-init/key/rollbar.token"
2124
line="{{ docks_rollbar_key }}"
2225
create=yes

ansible/roles/package-aws/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232

3333
- name: Move ec2-api-tool to ec2
3434
become: true
35-
command: mv /usr/local/ec2-api-tools-1.7.5.1 /usr/local/ec2
35+
command: mv -f /usr/local/ec2-api-tools-1.7.5.1 /usr/local/ec2

0 commit comments

Comments
 (0)