chore(lint): fix linting
Some checks failed
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Failing after 1m33s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m32s
test / Molecule tests (default, debian12) (push) Successful in 1m54s
test / Molecule tests (with_tls_enabled, debian12) (push) Successful in 1m16s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m39s
test / Molecule tests (with_tls_enabled, debian11) (push) Successful in 1m36s
test / Molecule tests (with_tls_enabled, ubuntu2204) (push) Successful in 1m20s
test / Molecule tests (with_tls_enabled, ubuntu2004) (push) Successful in 1m39s
Some checks failed
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Failing after 1m33s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m32s
test / Molecule tests (default, debian12) (push) Successful in 1m54s
test / Molecule tests (with_tls_enabled, debian12) (push) Successful in 1m16s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m39s
test / Molecule tests (with_tls_enabled, debian11) (push) Successful in 1m36s
test / Molecule tests (with_tls_enabled, ubuntu2204) (push) Successful in 1m20s
test / Molecule tests (with_tls_enabled, ubuntu2004) (push) Successful in 1m39s
This commit is contained in:
parent
dc11222183
commit
57f9a722b0
@ -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
|
||||
- haproxy_metrics_endpoint.status == 200
|
||||
|
Loading…
Reference in New Issue
Block a user