ansible终端操作范例,ansible终端范例
ansible终端操作范例,ansible终端范例
100.126.0.45 ansible_ssh_user=root ansible_ssh_pass='Paic1234'
100.126.0.46 ansible_ssh_user=root ansible_ssh_pass='Paic1234'
ansible shb-sf -m copy -a "src=/chkusr/allan/szc-stg-sf/flanneld.service dest=/lib/systemd/system/"
ansible shb-sf -m shell -a "cd /tmp/ && tar -xzvf auto_update_1.7.6-to-1.9.1.tar.gz"
ansible shb-sf -m shell -a "yum install -y ntpdate && ntpdate ntp.yun.paic.com.cn"
ansible sz1_node -m shell -a " cat /lib/systemd/system/flanneld.service"
ansible szd -m shell -a "kubectl config view" > tmp.log
yum install -y ntpdate && ntpdate ntp-1.cloud.pub
评论暂时关闭