Add yaml filter to avoid parsing errors

	- This is required to correctly parse commands
	  in postrotate and prerotate part of
          logrotate jobs

Related: PROD-29848

Change-Id: Ic5c15eee232ca85537146cfbc5b79415ddab73f7
diff --git a/logrotate/server.sls b/logrotate/server.sls
index b45df64..a5de796 100644
--- a/logrotate/server.sls
+++ b/logrotate/server.sls
@@ -27,7 +27,7 @@
     - require:
       - pkg: logrotate_packages
     - context:
-        jobs: {{ job }}
+        jobs: {{ job|yaml }}
 
 {%- endfor %}