Skip to content

Commit

Permalink
changed failed when
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Oct 18, 2023
1 parent b803e20 commit 46f7aa7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .ansible-sign/sha256sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ e0aa583a3faf802922a6cb66c3e2fa5906105a619a6d9821f47c6a068e728570 jenkins.yml
d26a0f12ebb5835b5aa36074b24addf52fdca91939d97244eb682bb3bd05545e roles/jenkins_setup/files/shadowman.xml
3ce37f28b0b4cd83a86440fdfbc1148f6a61125dd4dcf900b953778a588ac12b roles/jenkins_setup/tasks/main.yml
fde421bd02e9d5d96effcbef92b4657f2ed9283855cebafcb3246c4829882382 roles/kafka/handlers/main.yml
d392a44c7a0254d7b1b8780d595f3bb8c4507082ef250e8ddf8176162e3bf2a0 roles/kafka/tasks/main.yml
ce806d6bc4f26c4615bb86e2cf99b9b73962222c605492dcdc8fe4cb652380e7 roles/kafka/tasks/main.yml
2d12114b12a76da493a951ed2c1abcd3d2d3e5a1ca0dcb0943fbc91665f5f91a roles/prometheus/defaults/main.yml
a8355ca3078663433c90e991a1a9622ae2d5b911696aef4a62701ed6a454690c roles/prometheus/handlers/main.yml
4116ff338c5ffed270d770729ff19e4f0a85365be1745f282fd35f50ca660fd6 roles/prometheus/tasks/main.yml
Expand Down
22 changes: 11 additions & 11 deletions .ansible-sign/sha256sum.txt.sig
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEE/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmUwC+4ACgkQTiIiIXrU
DNFYTAv+OeDaVMLHaXzKQG4phyRKuJ5pMxhzd4bhPNGXCRxvnEd/1V6gxfpfm7UG
ynWPMu/DjnjrA3CEbZ/lvijHzrvdBPhRLZPXFtpPPYYfNIVqR4B90jCzrvIQC0Hx
Ul6hU/i8HpcdW37mkN3xgDFwNXje4i5O/JaVCuQ7x0+n7tLJgK9ktMeqhubaMhBU
xfSovxVkk4TDxSSU9QLd6zJ+nkDxMDAt4dL0zj7ktM4dcZ88FH6Imk9STqrb8mfG
WOQL95U9IeETRzuPHiEIVWD48SvhOgqpHYqkEzB+3XaIfrb5VkM1syqnfFEuTagP
J5BHTlDtc3h5fn2jI3tGg75ChPTCzp88NJZqpIcpncL6MrqlFXY/88CC04NymZRE
Lk+JHkarz/5w9ZURUiEMWb69Imk5yw2zUmxULBp/A+2yuCIaIe/S+gyPO2S345Xe
1F8h6n/KMUi+T4B/kC0mNwvHJyAC8f8ZTGZ1Ziny9ds33I/lgbowZvr7YT+YiGSe
tWhpjw5N
=griQ
iQGzBAABCAAdFiEE/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmUwDYcACgkQTiIiIXrU
DNHprwv5AQpSX/zaNEgGQ6eULSHlwsNA3I4+Ef3rXz1GfmppHt+l8PEm8I/PrAGV
wUcvNS0KV0ZS+BO3KDblUoy4FYxChSML2raq6ddCc6YXLwd04SIRoaeMSJrUsBmm
VlTlpz8m4haUvJH45PUliY5Ug4W5TZtTYulHhovv0RAGO1/mJMBn5z8hmQV/JjUu
mhBVEGVSNlgX9K7h0QIf9kq6P1tymhim0HdITZE3IgfvwbgdhSpeqTC+oCsoX6EO
uJpyRhxq4l/nvzkQdnT66niJV+rhbcIaVoMBUrDq5LDDToq90gsIsRluS61Vhcv8
b1PY17Y4hBXSYSiSTfWEmsbAwcAFJ5O/fUQjAgn/BQBfsnVq650ulBftYnmuQT3C
tQAck83q9kdUAMik+5YbQH9T9QPI2gGzA6ZEP2ZuQ/njiXFNU5q64U+ZrXuRHtBQ
GTzjpAQwzSoqr6gFSyhCs5MywWO5N7Ab66FXnyk48D4JqyTTDfp3HWAPT8OrwHMU
SumzOglv
=Jpeg
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion roles/kafka/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
ansible.builtin.command: "/opt/kafka_2.13-3.6.0/bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic {{ topic }}"
register: kafkatopic
changed_when: kafkatopic.stdout == "Created topic " ~ topic ~ "."
failed_when: '("already exists" not in kafkatopic.stderr) or (kafkatopic.stdout != "Created topic " ~ topic ~ ".")'
failed_when: kafkatopic.stdout != "Created topic " ~ topic ~ "." or "already exists" not in kafkatopic.stderr
tags:
- createtopic

0 comments on commit 46f7aa7

Please sign in to comment.