From 960f076a806658742333ff1851a3a2b9036a52f6 Mon Sep 17 00:00:00 2001 From: akbarjimi Date: Wed, 5 May 2021 14:27:41 +0000 Subject: [PATCH] Added write to file 2 --- app.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.yml b/app.yml index 48c2017..59e7457 100644 --- a/app.yml +++ b/app.yml @@ -8,3 +8,5 @@ dpkg_options: 'force-confnew,force-confdef' name: httpd 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 \ No newline at end of file