Comando ansible galaxy: qué hace y cómo se usa
¿Qué hace el comando ansible galaxy?
ansible-galaxy collection install community.general: instalar la colección community.general.
Ejemplos de ansible galaxy
$ ansible-galaxy init webansible-galaxy init web: crear la estructura de un rol llamado web.
$ ansible-galaxy install geerlingguy.nginxansible-galaxy install geerlingguy.nginx: instalar el rol geerlingguy.nginx.
$ ansible-galaxy collection install community.generalansible-galaxy collection install community.general: instalar la colección community.general.
Pruébalo tú
Para crear la estructura de un rol llamado web se usa este comando.
Aprende más en Tecleo
En Tecleo no lees: escribes los comandos y te corregimos al momento, con explicaciones y repaso para que no se te olviden.