Title: cloudfall-engine doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #529 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: cloudfall-engine doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #529 · cloudfall-dev/cloudfall
X Title: cloudfall-engine doctor's ansible-playbook check reports ok with a version read from a traceback · Issue #529 · cloudfall-dev/cloudfall
Description: Found while fixing #524 in #527. cloudfall-engine doctor has the same fault #524 reports for cloudfall doctor: its ansible-playbook tool check reads a version from the first dotted number the command prints, so an ansible that fails at s...
Open Graph Description: Found while fixing #524 in #527. cloudfall-engine doctor has the same fault #524 reports for cloudfall doctor: its ansible-playbook tool check reads a version from the first dotted number the comma...
X Description: Found while fixing #524 in #527. cloudfall-engine doctor has the same fault #524 reports for cloudfall doctor: its ansible-playbook tool check reads a version from the first dotted number the comma...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/529
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cloudfall-engine doctor's ansible-playbook check reports ok with a version read from a traceback","articleBody":"Found while fixing #524 in #527.\n\n`cloudfall-engine doctor` has the same fault #524 reports for `cloudfall doctor`: its `ansible-playbook` tool check reads a version from the first dotted number the command prints, so an ansible that fails at start passes with the Python version its traceback names. That breaks Q-1 (never report success it cannot prove).\n\n## Reproduce\n\nOn Python 3.15 with ansible-core 2.21.0, where ansible fails at start with `AttributeError: module 'dataclasses' has no attribute '_is_type'`:\n\n```console\n$ uv run --python 3.15 --with ansible-core==2.21.0 cloudfall-engine doctor\n```\n\nExpected by reading the code, not run: the `ansible-playbook` entry reads `\"ok\": true, \"version\": \"3.15\"`.\n\n## Expected\n\nThe entry reads the version only from ansible's own `ansible-playbook [core X.Y.Z]` line, and fails otherwise.\n\n## Touches\n\n- `engine/src/cloudfall_engine/cli.py:985`: `required_tools={\"ansible-playbook\": ANSIBLE_MINIMUM_VERSION}`, checked by treaty's generic version regex\n\n## Suspected code\n\nThe same as #524: declare an `ansible-playbook` `treaty.Dependency` with `version_regex=r\"(?m)^ansible-playbook \\[core (\\d+(?:\\.\\d+)+)[^\\]]*\\]\"` on the engine app, as #527 does for the SDK's `app.py`, ideally sharing the one declaration.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T18:35:35Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/529"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d2bbded-405d-1167-deab-193bbc3608b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 994E:1FFF:B66402:FA7CD2:6B05597A |
| html-safe-nonce | 512ccf86e14de7d2aed2f57811ea928083bd8de8f739f47b0a311626c65157e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTRFOjFGRkY6QjY2NDAyOkZBN0NEMjo2QjA1NTk3QSIsInZpc2l0b3JfaWQiOiIyNjg0NTY2MTg3NzE5MDg4NTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a306af78e6c7bf5dcff93fa678b7bc68611cfb6bcaba6ccd9483da088fd64b20 |
| hovercard-subject-tag | issue:6451507784 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/529/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf523df1fef4e5152fc4a9c35d601b7a6ecf161388d2333d200aa9a97d04c852/cloudfall-dev/cloudfall/issues/529 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf523df1fef4e5152fc4a9c35d601b7a6ecf161388d2333d200aa9a97d04c852/cloudfall-dev/cloudfall/issues/529 |
| og:image:alt | Found while fixing #524 in #527. cloudfall-engine doctor has the same fault #524 reports for cloudfall doctor: its ansible-playbook tool check reads a version from the first dotted number the comma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width