Repository navigation
v0.6.10
·
666 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Security
- Upgrade if Conn3x manages
authorized_keyfor users you don't fully trust. A local user whose keys Conn3x managed could plant a symlink in their home and gain root on the next apply. Reads and writes of~/.sshnow run as that user. A~/.sshowned by root, or a home the user can't write to, now gives a clear error instead of being managed. See GHSA-78rx-v8vx-rjhg. (#270)
Features
conn3x convert ansiblenow brings acrossapt_repositoryandyum_repository. Save each repository's signing key beside your playbook first, because arepositorystep holds the key itself and the converter won't download it. Anything it can't match, likearch=orfilename, stays a TODO with the reason. (#265)- New
inimodule: set or remove one option in an INI-style file, and everything else stays, comments included. Each plan reads the file, so a hand edit shows up inconn3x drift. (#267) - New
replacemodule: replace every match of a regexp in a file. A replacement its own regexp would change again can't settle, so Conn3x stops it before writing anything. (#267) conn3x convert ansiblenow brings acrossini_fileandreplace, as far as it can prove the result. Python and Go regexps differ, so lookaheads,(?i),\d,\w,\sand\bstay a TODO with the reason. Rewrite\das[0-9]if that's what you meant and convert again. (#267)
Fixes
conn3x driftno longer reports cloud values nobody changed. A BigQuery table used to show as drifted after every row insert, and straight after a fresh apply, whileconn3x plansaidNo changes.A changed cloud resource now counts as drift only when a normal plan would change it back. The others are listed under their own heading and exit 0. If you relied on drift failing for a change to something your config doesn't set, it now shows in that list instead. (#254)lineandblocksteps on a symlink now write to the file it points to, and the link and that file's mode and owner stay as they are. Until now they replaced the link with a regular file of mode 0777, which anyone on the host could write to, and the file it pointed to never got the edit. If you've pointed alineorblockstep at a symlink, check that path now: upgrading doesn't repair it, and a plan saysNo changes.because the content matches.find /etc -xdev -type f -perm -0002(#268) lists world-writable files under/etc; look wider if your steps edit paths elsewhere. Treat anything you find as possibly tampered with, then put the link back and move any edits you still want into the real file. (#268)conn3x convert ansibleno longer copiesno_logvalues into the.tffile. A task withno_logset to anything but false, including a templated value or one set on its block or play, stays a TODO with the reason, and its contents aren't quoted. If you've already converted a playbook that usesno_log, check the.tffile and your plans for secrets, and change any you find. (#269)