chore(lint): fix yaml linting issues
Some checks failed
test / Linting (push) Failing after 35s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_tls_enabled, debian11) (push) Has been skipped
test / Molecule tests (with_tls_enabled, debian12) (push) Has been skipped
test / Molecule tests (with_tls_enabled, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_tls_enabled, ubuntu2204) (push) Has been skipped
Some checks failed
test / Linting (push) Failing after 35s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_tls_enabled, debian11) (push) Has been skipped
test / Molecule tests (with_tls_enabled, debian12) (push) Has been skipped
test / Molecule tests (with_tls_enabled, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_tls_enabled, ubuntu2204) (push) Has been skipped
This commit is contained in:
parent
e198c463ae
commit
dc11222183
@ -72,26 +72,26 @@
|
|||||||
|
|
||||||
- name: "Test: directory /var/lib/haproxy"
|
- name: "Test: directory /var/lib/haproxy"
|
||||||
block:
|
block:
|
||||||
- name: "Stat directory /var/lib/haproxy"
|
- name: "Stat directory /var/lib/haproxy"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy"
|
path: "/var/lib/haproxy"
|
||||||
register: stat_var_lib_haproxy
|
register: stat_var_lib_haproxy
|
||||||
|
|
||||||
- name: "Stat socket /var/lib/haproxy/stats"
|
- name: "Stat socket /var/lib/haproxy/stats"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy/stats"
|
path: "/var/lib/haproxy/stats"
|
||||||
register: stat_var_lib_haproxy_stats
|
register: stat_var_lib_haproxy_stats
|
||||||
|
|
||||||
- name: "Verify directory /var/lib/haproxy"
|
- name: "Verify directory /var/lib/haproxy"
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- stat_var_lib_haproxy.stat.exists
|
- stat_var_lib_haproxy.stat.exists
|
||||||
- stat_var_lib_haproxy.stat.isdir
|
- stat_var_lib_haproxy.stat.isdir
|
||||||
- stat_var_lib_haproxy.stat.pw_name == 'haproxy'
|
- stat_var_lib_haproxy.stat.pw_name == 'haproxy'
|
||||||
- stat_var_lib_haproxy.stat.gr_name == 'haproxy'
|
- stat_var_lib_haproxy.stat.gr_name == 'haproxy'
|
||||||
- stat_var_lib_haproxy.stat.mode == '0755'
|
- stat_var_lib_haproxy.stat.mode == '0755'
|
||||||
- stat_var_lib_haproxy_stats.stat.exists
|
- stat_var_lib_haproxy_stats.stat.exists
|
||||||
- stat_var_lib_haproxy_stats.stat.issock
|
- stat_var_lib_haproxy_stats.stat.issock
|
||||||
|
|
||||||
- name: "Test: service haproxy"
|
- name: "Test: service haproxy"
|
||||||
block:
|
block:
|
||||||
|
@ -48,26 +48,26 @@
|
|||||||
|
|
||||||
- name: "Test: directory /var/lib/haproxy"
|
- name: "Test: directory /var/lib/haproxy"
|
||||||
block:
|
block:
|
||||||
- name: "Stat directory /var/lib/haproxy"
|
- name: "Stat directory /var/lib/haproxy"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy"
|
path: "/var/lib/haproxy"
|
||||||
register: stat_var_lib_haproxy
|
register: stat_var_lib_haproxy
|
||||||
|
|
||||||
- name: "Stat socket /var/lib/haproxy/stats"
|
- name: "Stat socket /var/lib/haproxy/stats"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy/stats"
|
path: "/var/lib/haproxy/stats"
|
||||||
register: stat_var_lib_haproxy_stats
|
register: stat_var_lib_haproxy_stats
|
||||||
|
|
||||||
- name: "Verify directory /var/lib/haproxy"
|
- name: "Verify directory /var/lib/haproxy"
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- stat_var_lib_haproxy.stat.exists
|
- stat_var_lib_haproxy.stat.exists
|
||||||
- stat_var_lib_haproxy.stat.isdir
|
- stat_var_lib_haproxy.stat.isdir
|
||||||
- (stat_var_lib_haproxy.stat.uid | int) == 99
|
- (stat_var_lib_haproxy.stat.uid | int) == 99
|
||||||
- (stat_var_lib_haproxy.stat.gid | int) == 99
|
- (stat_var_lib_haproxy.stat.gid | int) == 99
|
||||||
- stat_var_lib_haproxy.stat.mode == '0755'
|
- stat_var_lib_haproxy.stat.mode == '0755'
|
||||||
- stat_var_lib_haproxy_stats.stat.exists
|
- stat_var_lib_haproxy_stats.stat.exists
|
||||||
- stat_var_lib_haproxy_stats.stat.issock
|
- stat_var_lib_haproxy_stats.stat.issock
|
||||||
|
|
||||||
- name: "Test: service haproxy"
|
- name: "Test: service haproxy"
|
||||||
block:
|
block:
|
||||||
|
@ -41,4 +41,4 @@
|
|||||||
privatekey_path: /tmp/haproxy-cert/cert.pem.key
|
privatekey_path: /tmp/haproxy-cert/cert.pem.key
|
||||||
provider: selfsigned
|
provider: selfsigned
|
||||||
owner: "1000"
|
owner: "1000"
|
||||||
group: "1000"
|
group: "1000"
|
||||||
|
@ -48,26 +48,26 @@
|
|||||||
|
|
||||||
- name: "Test: directory /var/lib/haproxy"
|
- name: "Test: directory /var/lib/haproxy"
|
||||||
block:
|
block:
|
||||||
- name: "Stat directory /var/lib/haproxy"
|
- name: "Stat directory /var/lib/haproxy"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy"
|
path: "/var/lib/haproxy"
|
||||||
register: stat_var_lib_haproxy
|
register: stat_var_lib_haproxy
|
||||||
|
|
||||||
- name: "Stat socket /var/lib/haproxy/stats"
|
- name: "Stat socket /var/lib/haproxy/stats"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/var/lib/haproxy/stats"
|
path: "/var/lib/haproxy/stats"
|
||||||
register: stat_var_lib_haproxy_stats
|
register: stat_var_lib_haproxy_stats
|
||||||
|
|
||||||
- name: "Verify directory /var/lib/haproxy"
|
- name: "Verify directory /var/lib/haproxy"
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- stat_var_lib_haproxy.stat.exists
|
- stat_var_lib_haproxy.stat.exists
|
||||||
- stat_var_lib_haproxy.stat.isdir
|
- stat_var_lib_haproxy.stat.isdir
|
||||||
- (stat_var_lib_haproxy.stat.uid | int) == 99
|
- (stat_var_lib_haproxy.stat.uid | int) == 99
|
||||||
- (stat_var_lib_haproxy.stat.gid | int) == 99
|
- (stat_var_lib_haproxy.stat.gid | int) == 99
|
||||||
- stat_var_lib_haproxy.stat.mode == '0755'
|
- stat_var_lib_haproxy.stat.mode == '0755'
|
||||||
- stat_var_lib_haproxy_stats.stat.exists
|
- stat_var_lib_haproxy_stats.stat.exists
|
||||||
- stat_var_lib_haproxy_stats.stat.issock
|
- stat_var_lib_haproxy_stats.stat.issock
|
||||||
|
|
||||||
- name: "Test: service haproxy"
|
- name: "Test: service haproxy"
|
||||||
block:
|
block:
|
||||||
@ -154,4 +154,4 @@
|
|||||||
that:
|
that:
|
||||||
- haproxy_health_endpoint.status == 200
|
- haproxy_health_endpoint.status == 200
|
||||||
- haproxy_stats_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