ansible-navigator
ansible-navigator copied to clipboard
Podman inside execution enviroment using ansible-navigator
ISSUE TYPE
- podman enabled base EE
SUMMARY
Unable to run podman modules or ansible-builder inside an execution enviroment using ansible-navigator.
Steps to reproduce the issue:
- Try to run any podman module/command on an Execution enviroment.
Describe the results you received: Depending on how I build it, get either
podman run localhost/ee_tools ansible localhost -m ansible.builtin.shell -a 'podman images'
REPOSITORY TAG IMAGE ID CREATED SIZEtime="2021-10-07T20:03:22Z" level=warning msg="\"/\" is not a shared mount, this could cause issues or missing mounts with rootless containers"
time="2021-10-07T20:03:22Z" level=warning msg="using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids"
or
Errors were encountered while running the playbook:
ERROR! Invalid callback for stdout specified: awx_display...
[HINT] To see the full error message try ':stdout'
[HINT] After it's fixed, try to ':rerun' the playbook
Describe the results you expected: things to work.
Additional information you deem important (e.g. issue happens only occasionally): This is the working dir where I've been storing info trying to do this
This may be out of the scope of whats is expected here, but thought it might be a good place to broach the subject.
Good day, any progress here? Having the same problem when I'm trying to build my ee from ansible automation platform.
Container in container is.......... tricky. You may find some help here: https://github.com/cidrblock/container_in_container. The team is working on a more formal approach/answer to this and we should have something in the next few months.
@jorgenspange This was my fix, doesn't solve inside navigator, but solves with AAP controller https://www.redhat.com/architect/ansible-execution-environment-automated-build