ansible-navigator icon indicating copy to clipboard operation
ansible-navigator copied to clipboard

Switch to label for execution environment detection of an image

Open cidrblock opened this issue 4 years ago • 1 comments
trafficstars

Summary

switch to a label here, maybe fall back on workdir

https://github.com/ansible/ansible-navigator/blob/HEAD@%7B2021-06-04T20:50:57Z%7D/ansible_navigator/actions/images.py#L341

Issue Type

Feature Idea

Additional Information


https://github.com/ansible/ansible-navigator/blob/HEAD@%7B2021-06-04T20:50:57Z%7D/ansible_navigator/actions/images.py#L341

may not always be true

Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

cidrblock avatar Jun 04 '21 20:06 cidrblock

Currently if the workdir of the image is /runner, it is assumed to be an EE https://github.com/ansible/ansible-navigator/blob/7c0704e6ce05e734367410f6377b2e865c65b842/src/ansible_navigator/actions/images.py#L343

cidrblock avatar Sep 27 '21 14:09 cidrblock