File tree Expand file tree Collapse file tree
ansible/roles/dock_launch_config/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# this requires the use of gnu/coreutils base64 (`brew install coreutils`)
1515# Allows us to use same base64 locally and in host
1616- name : encode krain config to base64
17- shell : cat ~/{{ app_name }}.conf | base64 -w 0
17+ shell : cat ~/{{ app_name }}.conf | gbase64 -w 0
1818 register : krain_base64
1919 vars :
2020 - app_name : " krain"
3434# this requires the use of gnu/coreutils base64 (`brew install coreutils`)
3535# Allows us to use same base64 locally and in host
3636- name : encode charon config to base64
37- shell : cat ~/{{ app_name }}.conf | base64 -w 0
37+ shell : cat ~/{{ app_name }}.conf | gbase64 -w 0
3838 register : charon_base64
3939 vars :
4040 - app_name : " charon"
4848 - { file_name: 'token-03', value: "{{ vault_token_03 }}" }
4949
5050- name : encode ca.pem to base64
51- shell : cat ./certs/ca.pem | base64 -w 0
51+ shell : cat ./certs/ca.pem | gbase64 -w 0
5252 register : ca_pem_base64
5353
5454- name : encode ca-key.pem to base64
55- shell : cat ./certs/ca-key.pem | base64 -w 0
55+ shell : cat ./certs/ca-key.pem | gbase64 -w 0
5656 register : ca_key_pem_base64
5757
5858- name : encode pass to base64
59- shell : cat ./certs/pass | base64 -w 0
59+ shell : cat ./certs/pass | gbase64 -w 0
6060 register : pass_base64
6161
6262- name : Generate dock script
You can’t perform that action at this time.
0 commit comments