From 57f9a722b0616e7e680cdc965e4751d52539a31a Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 3 Feb 2024 23:53:49 +0100 Subject: [PATCH] chore(lint): fix linting --- molecule/with_tls_enabled/verify.yml | 38 ++++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/molecule/with_tls_enabled/verify.yml b/molecule/with_tls_enabled/verify.yml index d16df37..ed49fec 100644 --- a/molecule/with_tls_enabled/verify.yml +++ b/molecule/with_tls_enabled/verify.yml @@ -72,26 +72,26 @@ - name: "Test: directory /var/lib/haproxy" block: - - name: "Stat directory /var/lib/haproxy" - ansible.builtin.stat: - path: "/var/lib/haproxy" - register: stat_var_lib_haproxy + - name: "Stat directory /var/lib/haproxy" + ansible.builtin.stat: + path: "/var/lib/haproxy" + register: stat_var_lib_haproxy - - name: "Stat socket /var/lib/haproxy/stats" - ansible.builtin.stat: - path: "/var/lib/haproxy/stats" - register: stat_var_lib_haproxy_stats + - name: "Stat socket /var/lib/haproxy/stats" + ansible.builtin.stat: + path: "/var/lib/haproxy/stats" + register: stat_var_lib_haproxy_stats - - name: "Verify directory /var/lib/haproxy" - ansible.builtin.assert: - that: - - stat_var_lib_haproxy.stat.exists - - stat_var_lib_haproxy.stat.isdir - - stat_var_lib_haproxy.stat.pw_name == 'haproxy' - - stat_var_lib_haproxy.stat.gr_name == 'haproxy' - - stat_var_lib_haproxy.stat.mode == '0755' - - stat_var_lib_haproxy_stats.stat.exists - - stat_var_lib_haproxy_stats.stat.issock + - name: "Verify directory /var/lib/haproxy" + ansible.builtin.assert: + that: + - stat_var_lib_haproxy.stat.exists + - stat_var_lib_haproxy.stat.isdir + - stat_var_lib_haproxy.stat.pw_name == 'haproxy' + - stat_var_lib_haproxy.stat.gr_name == 'haproxy' + - stat_var_lib_haproxy.stat.mode == '0755' + - stat_var_lib_haproxy_stats.stat.exists + - stat_var_lib_haproxy_stats.stat.issock - name: "Test: service haproxy" block: @@ -179,4 +179,4 @@ that: - haproxy_health_endpoint.status == 200 - haproxy_stats_endpoint.status == 200 - - haproxy_metrics_endpoint.status == 200 \ No newline at end of file + - haproxy_metrics_endpoint.status == 200