To install a specific version of a role from Galaxy, append a comma and the value of a GitHub release tag. For example: $ansible-galaxyroleinstallgeerlingguy.apache,3.2.0 It is also possible to point directly to the Git repository and specify a branch name or commit hash as the version....
Summary When I try to install specific package version via Ansible, I got error: TASK [Install my package] ***...
[root@localhost project]# cat roles/requirements.yml# from Ansible Galaxy, using the latest version - src: geerlingguy.redis # from Ansible Galaxy, overriding the name and using a specific version - src: geerlingguy.redis version: "1.5.0" name: redis_prod # from any Git-based repository, ...
# install_roles.yml # from galaxy - src: yatesr.timezone # from github - src: https://github.com/bennojoy/nginx # from github installing to a relative path - src: https://github.com/bennojoy/nginx path: vagrant/roles/ # from github, overriding the name and specifying a specific tag...
Role name in Ansible Galaxy:williamyeh.nginx This Ansible role has the following features for Nginx: Install specific version. Handlers for restart/reload/stop events; Bare bone configuration (realconfiguration should be left to user's template files; seeUsagesection below). ...
# from Ansible Galaxy , using the latest version - src: geerlingguy.redis # from Ansible Galaxy , overriding the name and using a specific version - src: geerlingguy.redis version: "1.5.0" name: redis_prod # from any Git-based repository , using HTTPS ...
# install_roles.yml # from galaxy - src: yatesr.timezone # from github - src: https://github.com/bennojoy/nginx # from github installing to a relative path - src: https://github.com/bennojoy/nginx path: vagrant/roles/ # from github, overriding the name and specifying a specific tag...
hostname1# if systems need specific variables, put them here 如果系统需要特定的变量,把它们放置在这里. hostname2# "" library/# if any custom modules, put them here (optional) 如果有自定义的模块,放在这里(可选) filter_plugins/# if any custom filter plugins, put them here (optional) 如果有...
# install_roles.yml# from galaxy-src:yatesr.timezone# from github-src:https://github.com/bennojoy/nginx# from github installing to a relative path-src:https://github.com/bennojoy/nginxpath:vagrant/roles/# from github, overriding the name and specifying a specific tag-src:https://github....
# install_roles.yml # from galaxy - src: yatesr.timezone # from github - src: https://github.com/bennojoy/nginx # from github installing to a relative path - src: https://github.com/bennojoy/nginx path: vagrant/roles/ # from github, overriding the name and specifying a specific tag...