- name: "init_runtime: copy init_runtime scripts to docker"
copy:
src: "{{ role_path }}/files/init_runtime"
dest: /opt/tsg/
mode: 0644
- name: "init_runtime: chmod 0755 for exec_init_runtime.sh and exec_rollback.sh"
file:
path: "{{ item }}"
mode: '0755'
with_items:
- /opt/tsg/init_runtime/exec_init_runtime.sh
- /opt/tsg/init_runtime/exec_rollback.sh