Ansible_Quick_Start_on_Localhost 源码
Ansible_Quick_Start_on_Localhost 在本地主机(类似于Debian)上使用Ansible的快速入门。 从几乎零的Ansible知识开始,我花了大约45分钟的时间。 sudo apt install ansible mkdir ansible_test && cd ansible_test vim hosts 仅本地主机(127.0.0.1)的清单示例: [sites] 127.0.0.1 ansible_connection=local vim playbook.yml 显示系统分布的示例(等效于lsb_release ): - hosts: 127.0.0.1 become: yes tasks: - name: Show System Distribution debug: msg="{{ ansible_di
文件列表
Ansible_Quick_Start_on_Localhost-main.zip
(预估有个3文件)
Ansible_Quick_Start_on_Localhost-main
ansible_test
playbook.yml
1014B
hosts
43B
README.md
672B
暂无评论