cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
196
Views
1
Helpful
1
Replies

CI/CD pipeline for infrastructure automation missing Ansible

ZERONULL
Level 1
Level 1

Unable to use ansible for configuration management. When trying to launch ansible-playbook inventory.yml configure_multiple_vlans.yml from devbox sandbox it shows ansible:command not found. Same hapens with ansible --version. Is it missing ansible and I'am not allowed to install it on devbox sandbox environment or have I misunderstood something.

1 Accepted Solution

Accepted Solutions

Torbjørn
VIP
VIP

Hello @ZERONULL,
Welcome to the community!

The development VM in this sandbox runs Gitlab CE(available on http://10.10.20.50) with Gitlab runner in containers so that you can test your CI/CD pipelines. Ansible is available inside the container that runs on the development VM, but not available to run on the VM itself. You should hence try to run your playbook from the Gitlab CI/CD

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

1 Reply 1

Torbjørn
VIP
VIP

Hello @ZERONULL,
Welcome to the community!

The development VM in this sandbox runs Gitlab CE(available on http://10.10.20.50) with Gitlab runner in containers so that you can test your CI/CD pipelines. Ansible is available inside the container that runs on the development VM, but not available to run on the VM itself. You should hence try to run your playbook from the Gitlab CI/CD

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev