Skip to content

Commit

Permalink
improved error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
adworjan committed Oct 17, 2023
1 parent c990afd commit 328c21c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 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
70078a53895da6af9f14f6d64ab7074aa6f79af2bb3c5777c2d8d78e3a215583 roles/kafka/tasks/main.yml
c84ba59db2f5d91530ef26958b253432321ecc571b7d840831d5b11675e93544 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/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmUuiPYACgkQTiIiIXrU
DNFBRQv/Sahu4Ry7dXTW8ojYBPGbjPIlq5PkA2l1+MIVD4HmY3QUKNfqf3kZM+RL
5SwVYIfcT+tp7FC+SflQwVFLcMz/dTE+0PekReM3rsxMOEdHQUKL2WHdllVXk1s2
YxnQp6lkz9nsDX54TxlS6bzTCSp1GD0qi3dFIBOmYS5BEcvcScRdOTfaHnspm+y8
BsvQaCmvcfNlMhp4F4MLJuZlSDfbNSSRu6ewOHbBl2fqYH6PiNI3hzEm6xFTbQhH
mqFgfQi896hZDDISFDtRquaMfgbYs6TS9f1JYQelKsnryWX1LSWcQQV0TN1WILLE
KtLo2EVJueXh+gZOSzZxmZvYr983qXnapJ4UAzi6YtPZns7ZOksP/RplnRbtSbJ0
2jYkxk8XVSng/29w1n2WrYvagnj2kkaQYdpZStb6BlLZ7rrdtZgEIjQO4UYQEnEJ
237HOIKHSbPl4ZL3PcMAx7hw5MHdIGOA8z27Vwx/UpD6hgYcCSA2Dt88C2t+57v3
doak6qQC
=O6x+
iQGzBAABCAAdFiEE/bJvyFHKKJdaZDOLTiIiIXrUDNEFAmUuicsACgkQTiIiIXrU
DNH2jgv6AkfNyr/k4LiqVJ+ERvl4rkAUCI923MfMvZr25JNgq+Ugz7tcPxaxEB+g
+7Sr5ProL4mHZvDRqc9dB93+Z6wo7xAJAeBayZvcVjmQ1AxfUyGFttV7jc9D7b84
qDndTWJm64NkiVQxUf2fLPEg9e0wkwjNLT599iuGLZgBnihdJ8Z/D4sP32knpyuP
ejyrn5IYP0thNoie0xwMbBwq4YxPgcKu+RyFdhVGVZSBr5h7RiXNvp7mSx5ofbJh
eZkTyW5DEPPCr0tl2WWha/YKoUI2lpG5sq3fgjUMuotBaG1rsnQ7mymkoNY3Qy01
8IY7nV/1bqbDjGuOiFM/zGnbKd11+dlKvZSIH+JW8ty0z71i/UwEyPBtFS2ZjWZB
q9bTRcmynDUv5KcQZYHe1udVpfUqWEP7toLsxQo6brGtVIqriB8VsZmqGWg/1SIP
kKgsJA94AURiDBiFSAnPjb59vJ3Tax73oJmSNWt3YaGNb/TJpOYLJ5v+gGs/b4Z1
ktvK9c3Z
=ie7k
-----END PGP SIGNATURE-----
1 change: 1 addition & 0 deletions roles/kafka/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +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'
tags:
- createtopic

0 comments on commit 328c21c

Please sign in to comment.