codex-permissions role fails on linux (no ~/.codex/config.toml) #272

Closed
opened 2026-06-08 02:13:43 +00:00 by coilysiren · 0 comments
Owner

The codex-permissions role fails coily ansible-freshen on kai-server
(linux): "Path /home/kai/.codex/config.toml does not exist". The role
assumes the Codex config file exists, which holds on Macs but not on a
fresh linux host with no Codex install.

Surfaced extending the inventory to a linux host group (#271). Guard the
role on a stat of ~/.codex/config.toml (skip when absent), or have it
create the file first. All other roles converge clean on kai-server.

The codex-permissions role fails `coily ansible-freshen` on kai-server (linux): "Path /home/kai/.codex/config.toml does not exist". The role assumes the Codex config file exists, which holds on Macs but not on a fresh linux host with no Codex install. Surfaced extending the inventory to a linux host group (#271). Guard the role on a stat of ~/.codex/config.toml (skip when absent), or have it create the file first. All other roles converge clean on kai-server.
Sign in to join this conversation.
No description provided.