--- - name: Nerest bash PATH var with set true paths after pct enter into lxc container from proxmox host hosts: [ 'debian10' ] # TODO: Tmux create session not worked in pct enter - only work tmux attach (so..) tasks: - name: Append .shell-env ansible.builtin.lineinfile: path: '/root/.shell-env' line: |- ## ## Correct PATH for tmux enter ## PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin