
系统维护-杂记
yunweigo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据库正则匹配
简单记录 golang 数据库表的正则匹配记录 alter 库.表 alter 库.表 alter 表 数据库 库.表的数据库记录 reg, _ := regexp.Compile("(?i:alter\\s+table)\\s+?(.*?\\.)?`*(?P<table>\\w+)") tables := reg.FindAllStringSubmatch(sql, -1) ...原创 2020-04-14 22:39:05 · 863 阅读 · 0 评论 -
Failed to connect to the host via ssh: Control socket connect(/root/.ansible/cp/xxx): Connect
这里写自定义目录标题Failed to connect to the host via ssh Failed to connect to the host via ssh 当前环境:ansible 运行在docker容器当中,并且可以连接对应的机器 $ ansible all -m ping server1 | UNREACHABLE! => { "changed": false...转载 2019-07-10 13:40:26 · 2317 阅读 · 0 评论