semaphoreui / semaphore

Modern UI for Ansible, Terraform, OpenTofu, Bash, Pulumi.
https://semaphoreui.com
MIT License
10.33k stars 1.04k forks source link

add support for ansible-core in docker container #958

Open tiny-pangolin opened 2 years ago

tiny-pangolin commented 2 years ago

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.

AndrewSav commented 2 years ago

what issues?

tiny-pangolin commented 2 years ago

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

AndrewSav commented 2 years ago

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.