Skip to content

feat(tools/lfops): add a terminal UI that assembles and starts an ansible-navigator run - #782

Merged
markuslf merged 1 commit into
mainfrom
feat/lfops-tui
Nov 19, 2026
Merged

markuslf merged 1 commit into
mainfrom
feat/lfops-tui

Conversation

@markuslf

Copy link
Copy Markdown
Member

tools/lfops assembles and starts an ansible-navigator run of an LFOps playbook in a terminal UI, in five steps: playbook, tags, inventories, limit, confirm.

  • Playbooks: playbooks/*.yml of $LFOPS_DIR or $LF_GITHUB/lfops with hosts in at least one inventory.
  • Tags: the roles of the playbook plus the tags from the "Tags" section of their READMEs.
  • Inventories: $LF_GITLAB/*/ans/hosts.yml (or the glob in $LFOPS_INVENTORIES) with hosts for the playbook. An inventory without such hosts is offered via a parent playbook, e.g. setup_basic --tags=monitoring_plugins.
  • Limit: hosts, groups or a typed glob.

Entries used last are listed first ($XDG_STATE_HOME/lfops/history.json). Further arguments such as --check --diff are passed on. eval "$(command lfops --shell-init)" puts the command on the Bash prompt and into the history instead of running it.

🤖 Generated with Claude Code

@markuslf
markuslf requested a review from NavidSassan November 19, 2026 09:54
@markuslf
markuslf enabled auto-merge November 19, 2026 09:54
@markuslf
markuslf merged commit ad1b055 into main Nov 19, 2026
11 checks passed
@markuslf
markuslf deleted the feat/lfops-tui branch November 19, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant