Use date instead of ansible_date_time module 58/1058/1
authorFerenc Tóth <ferenc.2.toth@nokia.com>
Wed, 26 Jun 2019 13:30:23 +0000 (15:30 +0200)
committerFerenc Tóth <ferenc.2.toth@nokia.com>
Wed, 26 Jun 2019 13:30:23 +0000 (15:30 +0200)
Signed-off-by: Ferenc Tóth <ferenc.2.toth@nokia.com>
Change-Id: Ib6f87a0392d093858ee297a643902b1b3100cfed

SPECS/infra-charts.spec
infra-charts/values_fluentd.yaml.j2

index 54d3b2d..04ea249 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT infra-charts
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.0.0
-%define RPM_MINOR_VERSION 7
+%define RPM_MINOR_VERSION 8
 
 Name:           %{RPM_NAME}
 Version:        %{RPM_MAJOR_VERSION}
index 736d8b5..d4e2134 100644 (file)
@@ -39,4 +39,4 @@ fluentd:
 {% endif %}
 {%- endfor %}
 {% endif %}
-  config_timestamp: {{ ansible_date_time.epoch }}
+  config_timestamp: {{ lookup('pipe', 'date +%s') }}