摘要: - name: Install yum package in Ansible example yum: name={{item}} state=present with_items: - git - httpd - mysql name:指定管理的软件包 state = present | inst 阅读全文
posted @ 2021-09-13 14:12 Star-Hitian 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 将命令放入 远程用户家目录下的.bashrc里边。如下: # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Uncomment the following line if you 阅读全文
posted @ 2021-09-13 11:11 Star-Hitian 阅读(1436) 评论(0) 推荐(0) 编辑