zoukankan      html  css  js  c++  java
  • ansible

    http://docs.ansible.com/list_of_all_modules.html

    Commands Modules

    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.

    Files Modules

    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

    Inventory Modules

    add_host - add a host (and alternatively a group) to the ansible-playbook in-memory inventory
    group_by - Create Ansible groups based on facts

    Network Modules

    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

    Packaging Modules

    rpm_key - Adds or removes a gpg key from the rpm db
    yum - Manages packages with the I(yum) package manager

    Source Control Modules

    git - Deploy software (or files) from git checkouts
    subversion - Deploys a subversion repository.

    System Modules

    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

  • 相关阅读:
    程序员创业第二步:五个角度打造企业世界级竞争力
    开源题材征集 + MVC&EF Core 完整教程小结
    MVC+EF Core 完整教程20--tag helper详解
    MVC5+EF6 入门完整教程13 -- 动态生成多级菜单
    加载驱动三种的方法
    Caused by: javax.el.PropertyNotFoundException: Property [userName] not found on type [java.lang.String]
    Eclipse 中的 insert spaces for tabs 设置方法
    Windows中mysql的配置文件,解决字符集编码问题,统一使用utf8字符集
    ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated ......问题报错解决办法!
    Java中的类三种类加载器+双气委派模型
  • 原文地址:https://www.cnblogs.com/liujitao79/p/4282009.html
Copyright © 2011-2022 走看看