Env overwritten on linux when setting ansible_env manually #2

Closed
opened 2026-02-15 17:17:37 -05:00 by yindo · 0 comments
Owner

Originally created by @Xyz3R on GitHub (Jan 13, 2026).

This pre task:

pre_tasks: - name: Enable color terminal for current session 
  ansible.builtin.set_fact: 
    ansible_env: TERM: xterm-256color 
    COLORTERM: truecolor

overwrites the env breaking the "Add Homebrew to PATH for current session (Linux)" step.

Originally created by @Xyz3R on GitHub (Jan 13, 2026). This pre task: ``` pre_tasks: - name: Enable color terminal for current session ansible.builtin.set_fact: ansible_env: TERM: xterm-256color COLORTERM: truecolor ``` overwrites the env breaking the "Add Homebrew to PATH for current session (Linux)" step.
yindo closed this issue 2026-02-15 17:17:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw-ansible#2