Skip to content

run command hangs when using --step flag in stdout mode #2092

@AndrewJackson2020

Description

@AndrewJackson2020
ISSUE TYPE
  • Bug Report
SUMMARY

When running ansible-navigator run with the --step flag it hangs. Running the equivalent command using ansible-navigator exec works as expected.

ANSIBLE-NAVIGATOR VERSION
$ ansible-navigator --version
ansible-navigator 25.12.0
CONFIGURATION
---
ansible-navigator:
  ansible:
    inventory:
      entries:
      - inventory
  execution-environment:
    container-engine: docker
    enabled: true
    environment-variables:
      pass:
        - VAULT_TOKEN
    image: REDACTED
    pull:
       policy: always
    container-options:
      - '--entrypoint='
      - '--network=host'
      - '--user=root'
  mode: stdout
  logging:
    level: debug
  playbook-artifact:
    enable: true
    save-as: playbook-artifacts/{playbook_name}-artifact-{time_stamp}.json
EXPECTED RESULTS

ansible-navigator run should execute step by step and prompt user at each step as is the case in ansible-playbooks. If --step mode is not supported then ansible-navigator run should cleanly exit and tell the user that flag is not supported with ansible-navigator run and this limitation should be documented.

ACTUAL RESULTS

ansible-navigator run hangs at the first step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugResearched, reproducible, committed to fixnewNew issues and PRs to triaged

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions