http://docs.ansible.com/list_of_all_modules.html
command - Executes a command on a remote node raw - Executes a low-down and dirty SSH command script - Runs a local script on a remote node after transferring it shell - Execute commands in nodes.
acl - Sets and retrieves file ACL information. assemble - Assembles a configuration file from fragments copy - Copies files to remote locations. fetch - Fetches a file from remote nodes file - Sets attributes of files ini_file - Tweak settings in INI files lineinfile - Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression. patch (E) - Apply patch files using the GNU patch tool. replace - Replace all instances of a particular string in a file using a back-referenced regular expression. stat - retrieve file or file system status synchronize - Uses rsync to make synchronizing file paths in your playbooks quick and easy. template - Templates a file out to a remote server. unarchive - Copies an archive to a remote location and unpack it xattr - set/retrieve extended attributes
add_host - add a host (and alternatively a group) to the ansible-playbook in-memory inventory group_by - Create Ansible groups based on facts
haproxy (E) - An Ansible module to handle states enable/disable server and set weight to backend host in haproxy using socket commands. lldp (E) - get details reported by lldp get_url - Downloads files from HTTP, HTTPS, or FTP to node uri - Interacts with webservices
rpm_key - Adds or removes a gpg key from the rpm db yum - Manages packages with the I(yum) package manager
git - Deploy software (or files) from git checkouts subversion - Deploys a subversion repository.
alternatives (E) - Manages alternative programs for common commands at (E) - Schedule the execution of a command or script file via the at command. authorized_key - Adds or removes an SSH authorized key capabilities (E) - Manage Linux capabilities cron - Manage cron.d and crontab entries. crypttab (E) - Encrypted Linux block devices debconf (E) - Configure a .deb package facter (E) - Runs the discovery program I(facter) on the remote system filesystem (E) - Makes file system on block device firewalld (E) - Manage arbitrary ports/services with firewalld getent (E) - a wrapper to the unix getent utility gluster_volume (E) - Manage GlusterFS volumes group - Add or remove groups hostname - Manage hostname kernel_blacklist (E) - Blacklist kernel modules locale_gen (E) - Creates or removes locales. lvg (E) - Configure LVM volume groups lvol (E) - Configure LVM logical volumes modprobe (E) - Add or remove kernel modules mount - Control active and configured mount points ohai (E) - Returns inventory data from I(Ohai) open_iscsi (E) - Manage iscsi targets with open-iscsi ping - Try to connect to host and return C(pong) on success. seboolean - Toggles SELinux booleans. selinux - Change policy and state of SELinux service - Manage services. setup - Gathers facts about remote hosts sysctl - Manage entries in sysctl.conf. ufw (E) - Manage firewall with UFW user - Manage user accounts zfs (E) - Manage zfs
posted on 2015-02-09 17:19 北京涛子 阅读( ...) 评论( ...) 编辑 收藏转载于:https://www.cnblogs.com/liujitao79/p/4282009.html
相关资源:Ansible-Tower-3.0-中文安装配置及使用指南