问题——ansible获取authorized_key模块问题
报错:
[root@Workstation modules]# ansible-doc authorized_key
ERROR! module authorized_key missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 8)
添加github中的代码后
[root@Workstation modules]# ansible-doc authorized_key
ERROR! module authorized_key missing documentation (or could not parse documentation): invalid syntax (<unknown>, line 136)
都是无法解析文档
解决方法
ansible-galaxy collection install ansible.posix
- 在 root 用户及普通用户下都执行此命令