modify exec error int tsg-diagnose_sync_ca role
This commit is contained in:
@@ -5,11 +5,11 @@
|
|||||||
- name: "tsg-diagnose: add badssl ca file to tfe tls-ca-bundle"
|
- name: "tsg-diagnose: add badssl ca file to tfe tls-ca-bundle"
|
||||||
shell: cat /tmp/sync/ca-root.crt > /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem && cat /tmp/sync/wpr_cert.pem >> /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem
|
shell: cat /tmp/sync/ca-root.crt > /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem && cat /tmp/sync/wpr_cert.pem >> /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
register: result_tsg-diagnose_sync-cert-shell
|
register: result_tsg_diagnose_sync_cert_shell
|
||||||
|
|
||||||
|
|
||||||
- name: "Tsg-diagnose:copy cert file to device"
|
- name: "Tsg-diagnose:copy cert file to device"
|
||||||
copy:
|
copy:
|
||||||
src: '{{ role_path }}/files/tsg_diagnose_ca.pem'
|
src: '{{ role_path }}/files/tsg_diagnose_ca.pem'
|
||||||
dest: /opt/tsg/tfe/resource/tfe/
|
dest: /opt/tsg/tfe/resource/tfe/
|
||||||
when: result_tsg-diagnose_sync-cert-shell.rc==1
|
when: result_tsg_diagnose_sync_cert_shell.rc==1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user