techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Add "collection" to the ansible-galaxy command #113

Closed CodyECSL closed 2 years ago

CodyECSL commented 2 years ago

Proposed Changes

Add "collection" to the ansible-galaxy command as it will run without making changes if that collection argument is not provided.

With collection argument: ansible-galaxy collection install -r ./collections/requirements.yml Process install dependency map Starting collection install process Installing 'ansible.utils:2.6.1' to '/home/user/.ansible/collections/ansible_collections/ansible/utils' Installing 'community.general:5.6.0' to '/home/user/.ansible/collections/ansible_collections/community/general' Installing 'ansible.posix:1.4.0' to '/home/user/.ansible/collections/ansible_collections/ansible/posix' Installing 'kubernetes.core:2.3.2' to '/home/user/.ansible/collections/ansible_collections/kubernetes/core'

Without collection argument: ansible-galaxy install -r ./collections/requirements.yml Command runs without any output to console and no actions taken

Checklist

timothystewart6 commented 2 years ago

Thank you!