Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: ALL_UBUNTU
- any_errors_fatal: true
- gather_facts: true
- become: true
- tasks:
- - name: Copy file to remote system
- copy:
- src: /usr/local/ansible/files/update_os.sh
- dest: /usr/local/scripts/update_os.sh
- owner: root
- group: root
- mode: 0777
- backup: yes
- when I run the play, it doesnt seem to put the updated file on the systems. There IS a file there with the same name but I am putting an updated copy there.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement