Commonly Used Ansible Modules
Command module: Executes commands on remote hosts, default module, can ignore the -m option Example: ansible webservers -m command -a ‘systemctl start httpd ‘ The command module does not support $ variables, <, >, |, ;, &, etc., while the shell module does. chdir: Change to the directory of the managed host creates: If a … Read more