2021-06-16

Ansible Note

Ansible version: 2.9 


執行shell
Module: Execute shell commands on targets
https://docs.ansible.com/ansible/2.9/modules/shell_module.html

管理檔案
Module: Manage files and file properties
https://docs.ansible.com/ansible/2.9/modules/file_module.html

複製檔案
Module: copy – Copy files to remote locations
https://docs.ansible.com/ansible/2.9/modules/copy_module.html

複製後解壓縮檔案
Module: Unpacks an archive after (optionally) copying it from the local machine
https://docs.ansible.com/ansible/2.9/modules/unarchive_module.html

OS user管理
Module: user – Manage user accounts
https://docs.ansible.com/ansible/2.9/modules/user_module.html

OS group 管理
Module: group – Add or remove groups
https://docs.ansible.com/ansible/2.9/modules/group_module.html