Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
ansible:ansible [2019/04/10 22:17] Frédéric Daniel Luc Lehobey créée |
ansible:ansible [2019/10/22 10:25] (Version actuelle) Frédéric Daniel Luc Lehobey [Modules] |
||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| * https://www.earth.li/~noodles/blog/2017/07/learning-to-love-ansible.html | * https://www.earth.li/~noodles/blog/2017/07/learning-to-love-ansible.html | ||
| - | ===== Git ===== | + | ===== Installation ===== |
| - | * https://docs.ansible.com/ansible/latest/modules/git_module.html | + | * https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-the-control-machine |
| + | |||
| + | ===== Modules ===== | ||
| + | |||
| + | * Apt : https://docs.ansible.com/ansible/latest/modules/apt_module.html | ||
| + | * Fichiers : https://docs.ansible.com/ansible/latest/modules/file_module.html | ||
| + | * get_url : https://docs.ansible.com/ansible/latest/modules/get_url_module.html | ||
| + | * Git : https://docs.ansible.com/ansible/latest/modules/git_module.html | ||
| + | * INI : https://docs.ansible.com/ansible/latest/modules/ini_file_module.html | ||
| + | * MySQL | ||
| + | * https://docs.ansible.com/ansible/latest/modules/mysql_db_module.html | ||
| + | * https://docs.ansible.com/ansible/latest/modules/mysql_user_module.html | ||
| + | * Utilisateurs et groupes | ||
| + | * https://docs.ansible.com/ansible/latest/modules/user_module.html | ||
| + | * unarchive : https://docs.ansible.com/ansible/latest/modules/unarchive_module.html | ||
| + | ==== Externes ==== | ||
| + | * php5enmod / php5dismod : https://gist.github.com/vpArth/7802008f55b86b4ee7179333329ecbde | ||
| + | |||
| + | ===== Vault ===== | ||
| + | * https://docs.ansible.com/ansible/latest/user_guide/vault.html | ||
| + | * https://docs.ansible.com/ansible/latest/user_guide/playbooks_vault.html#using-encrypt-string | ||
| + | |||
| + | ===== Documentations / exemples ===== | ||
| + | * PHP : https://stephenreescarter.net/how-to-deploy-a-basic-php-application-using-ansible/ | ||
| + | * MySQL : https://github.com/dannysheehan/ansible-role-mysql/blob/master/tasks/main.yml | ||
| ===== Installation simultanée de RPM ===== | ===== Installation simultanée de RPM ===== | ||
| * https://stackoverflow.com/questions/46974769/how-do-i-use-ansible-to-install-multiple-rpms-that-have-dependencies | * https://stackoverflow.com/questions/46974769/how-do-i-use-ansible-to-install-multiple-rpms-that-have-dependencies | ||
| + | |||
| + | ===== Transfert de clefs ===== | ||
| + | * https://www.middlewareinventory.com/blog/ssh-key-based-authentication-using-ansible-ad-hoc-and-playbook/ | ||
| + | |||
| + | ===== Copie de fichiers ===== | ||
| + | * https://www.middlewareinventory.com/blog/how-to-copy-files-between-remote-servers-ansible-fetch-sync/ | ||