# ansible -hUsage: ansible <host-pattern> [options]Define and run a single task 'playbook' against a set of hostsOptions: -a MODULE_ARGS, --args=MODULE_ARGS module argume
centos7.x ansible -i add_zabbix_list zabbix -s -m shell -a "rpm -iUh http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.1-1.el7.x86_64.rpm"<--如果无法在线安装rpm包就分发过去ansible -i add_zabbix_li
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号