--- #- name: copy script set_timezone.sh to tmp # copy: # src: set_timezone.sh # dest: /tmp/set_timezone.sh # owner: root # group: root # mode: '0744' - name: execute script set_timezone.sh script: set_timezone.sh #- name: delete script set_timezone.sh on tmp directory # file: # path: /tmp/set_timezone.sh # state: absent