ansible for devops读书笔记第一章

越涛
2023-12-01
  •  yum -y install ansible
  •  ansible --version

 

  •  mkdir /etc/ansible
  •  touch /etc/ansible/hosts

  [example]
    www.example.com

  • ansible example -m ping -u [username]
  • ansible example -a "free -m" -u [username]

转载于:https://www.cnblogs.com/guxiaobei/p/8250988.html

 类似资料: