摘要: - hosts: home #对应/etc/ansible/hosts的组或者ip remote_user: root #执行用户 tasks: #任务 - name: install httpd #任务名 yum: name=httpd state=present - name: install 阅读全文
posted @ 2020-05-29 22:55 菜鸟web 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 因为ubuntu18已经没有用rc.local,因为日常用的习惯所以我们下面进行创建 1.创建rc.local软链接(因为system只会读取/etc/systemd/system下的文件) ln -fs /lib/systemd/system/rc-local.service /etc/syste 阅读全文
posted @ 2020-05-29 12:47 菜鸟web 阅读(1910) 评论(0) 推荐(0) 编辑
摘要: apt autoremove --purge snapd 执行这条命令,然后再次查看磁盘 阅读全文
posted @ 2020-05-29 12:34 菜鸟web 阅读(3261) 评论(1) 推荐(0) 编辑