ansible playbook实例介绍
change_user_pass.ymv
如何利用user模块批量修改用户名密码
supervisor_offline_tx1.yml
拷贝目录并执行脚本可以参考这个playbook。 这个模式可以实现大部分批量管理需求
step:
拷贝一个目录到目标节点
执行目录中的install.sh脚本
Name |
Last commit
ad9b58b3
-
【ADD】增加diagnose_tx1,诊断脚本,目前只有诊断MediaServer是否正常工作的功能
|
History
|
Last Update |
---|---|---|
.. | ||
README.md | Loading commit data... | |
change_user_pass.yml | Loading commit data... | |
config.sh | Loading commit data... | |
config_watchman_tx1.retry | Loading commit data... | |
config_watchman_tx1.yml | Loading commit data... | |
deploy_watchman_tk1.retry | Loading commit data... | |
deploy_watchman_tk1.yml | Loading commit data... | |
deploy_watchman_tx1.retry | Loading commit data... | |
deploy_watchman_tx1.yml | Loading commit data... | |
deploy_watchman_tx1_master_patch.retry | Loading commit data... | |
deploy_watchman_tx1_master_patch.yml | Loading commit data... | |
root_changepass_ssh.yml | Loading commit data... | |
supervisor_offline_tx1.yml | Loading commit data... | |
tk1_config.sh | Loading commit data... |