Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. ---
  2. - hosts: ALL_UBUNTU
  3. any_errors_fatal: true
  4. gather_facts: true
  5. become: true
  6. tasks:
  7.  
  8. - name: Copy file to remote system
  9. copy:
  10. src: /usr/local/ansible/files/update_os.sh
  11. dest: /usr/local/scripts/update_os.sh
  12. owner: root
  13. group: root
  14. mode: 0777
  15. backup: yes
  16.  
  17. 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