semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

add support for ansible-core in docker container

Open tiny-pangolin opened this issue 3 years ago • 3 comments

Please allow using either ansible or ansible-core in the docker container. my playbooks are currently using ansible-core and it is causing issues since I already ported all my roles to ansible-core and it is causing issues since I am writing and testing them on ansible core on my local machine then trying to run them in ansible in semaphore.

tiny-pangolin avatar Jun 09 '22 16:06 tiny-pangolin

what issues?

AndrewSav avatar Jun 18 '22 10:06 AndrewSav

I was having issues with when: ansible_facts['os_family'] not working with ansible inside the semaphore contain but worked fine using almalinux in an lxc container and fedora on my laptop

tiny-pangolin avatar Jun 18 '22 18:06 tiny-pangolin

ansible_facts['os_family'] (and many other things) works on both ansible and ansible-core. There must be some different reason why they are "not working". Just FWIW "not working" is not a good description of an issue, as people usually cannot read minds and know what's not working. A good issue report contains 1) steps to reproduce 2) what you expected to see 3) what you saw instead. As far as I understand ansible is built on top of ansible-core, so if you have ansible, you also have ansible-core so I cannot figure out what the issue is that you are reporting.

AndrewSav avatar Jun 18 '22 21:06 AndrewSav