Skip to content

Commit

Permalink
test(mosquitto): remove uid check for users file
Browse files Browse the repository at this point in the history
Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
  • Loading branch information
shantanoo-desai committed Apr 1, 2023
1 parent 3b6ee58 commit 04fe8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/services/test_config_mosquitto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

- name: Test if Mosquitto related configuration files exist in deploy_dir
ansible.builtin.assert:
that: item.stat.exists and item.stat.mode == '0755' and item.stat.uid == 1000
that: item.stat.exists and item.stat.mode == '0755'
fail_msg: "FAIL: {{ item.item }} DOES NOT exist in {{ komponist.deploy_dir }}/mosquitto directory"
success_msg: "PASS: {{ item.item }} exists in {{ komponist.deploy_dir }}/mosquitto directory"
loop: "{{ test_mosquitto_files_stat.results | map('ansible.utils.keep_keys', ['item', 'exists', 'mode', 'uid']) }}"
loop: "{{ test_mosquitto_files_stat.results | map('ansible.utils.keep_keys', ['item', 'exists', 'mode']) }}"
loop_control:
label: "{{ item.item }}"

0 comments on commit 04fe8f6

Please sign in to comment.