diff --git a/.ansible-sign/sha256sum.txt b/.ansible-sign/sha256sum.txt index 7dd45b6..1dd8202 100644 --- a/.ansible-sign/sha256sum.txt +++ b/.ansible-sign/sha256sum.txt @@ -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 -c84ba59db2f5d91530ef26958b253432321ecc571b7d840831d5b11675e93544 roles/kafka/tasks/main.yml +d392a44c7a0254d7b1b8780d595f3bb8c4507082ef250e8ddf8176162e3bf2a0 roles/kafka/tasks/main.yml 2d12114b12a76da493a951ed2c1abcd3d2d3e5a1ca0dcb0943fbc91665f5f91a roles/prometheus/defaults/main.yml a8355ca3078663433c90e991a1a9622ae2d5b911696aef4a62701ed6a454690c roles/prometheus/handlers/main.yml 4116ff338c5ffed270d770729ff19e4f0a85365be1745f282fd35f50ca660fd6 roles/prometheus/tasks/main.yml diff --git a/.ansible-sign/sha256sum.txt.sig b/.ansible-sign/sha256sum.txt.sig index 34aa8ec..acb86c1 100644 --- a/.ansible-sign/sha256sum.txt.sig +++ b/.ansible-sign/sha256sum.txt.sig @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNATURE----- -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 +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 -----END PGP SIGNATURE----- diff --git a/roles/kafka/tasks/main.yml b/roles/kafka/tasks/main.yml index 7f4fbd0..45229b1 100644 --- a/roles/kafka/tasks/main.yml +++ b/roles/kafka/tasks/main.yml @@ -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' + failed_when: '("already exists" not in kafkatopic.stderr) or (kafkatopic.stdout != "Created topic " ~ topic ~ ".")' tags: - createtopic