通常我会这样做:
sudo -su postgres psql \password \q
更改 postgres 密码。现在我想使用 ansible 自动执行此步骤。
postgresql ansible devops
ansible ×1
devops ×1
postgresql ×1