![](https://avatars.plurk.com/3156986-medium.gif)
$4
要先 ansible-galaxy collection install community.general 後才能在 yml 裡面使用 community.general.postgresql_user ansible postgresql
![](https://avatars.plurk.com/3156986-medium.gif)
$4
然後 target 上面要安裝 python3-psycopg2 才能使用