wechat.cert.sync.yml
578 Bytes
---
# switch java inner upstream to aws
- hosts: java-order, java-ufo-fore, java-extendstore
vars_prompt:
- name: "confirmation"
prompt: "Start to sync cert files . Please Enter YES to continue"
private: no
tasks:
- name: "make sure user type YES to confirm"
fail:
msg: "user do not type YES"
when: confirmation != 'YES'
- name: copy wechat cert files to remote
copy:
src: ~/.cert/wechatpay
dest: /home/master/.cert
owner: master
group: master
mode: 0444
remote_user: root