Browse Source

Added write to file 2

main
Mohammad Akbari 4 years ago
parent
commit
960f076a80
  1. 2
      app.yml

2
app.yml

@ -8,3 +8,5 @@
dpkg_options: 'force-confnew,force-confdef' dpkg_options: 'force-confnew,force-confdef'
name: httpd name: httpd
state: latest state: latest
- name: Execute the command in remote shell; stdout goes to the specified file on the remote
ansible.builtin.shell: $(date)." app" >> somelog.txt
Loading…
Cancel
Save