• 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

  • 相关阅读:
    洛谷1525关押罪犯——二分
    洛谷P1525关押罪犯——二分做法
    poj2411铺砖——状压DP
    1 理解Linux系统的“平均负载”
    3.2-3 tac、more
    3.20 tr:替换或删除字符
    3.14-19 wc、iconv、dos2unix、diff、vimdiff、rev
    3.21-22 od、tee
    指针和引用的区别
    new与malloc区别
  • 原文地址:https://www.cnblogs.com/liujitao79/p/4282009.html
Copyright © 2020-2023  润新知