腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
使用
Ansible
的postgresql_privs锁定
Postgres
公共模式
、
我想
使用
Ansible
锁定
postgres
数据库
中的公共模式。在新
创建
的
postgres
安装中
使用
psql:REVOKE
postgres
=# REVOKE
使用
Ansible
,虽然我得到了各种错误。第一个错误抱怨
数据库
BOB不存在--它没有,我还没有
创建
浏览 2
提问于2017-01-24
得票数 1
回答已采纳
1
回答
变得两次
、
、
我想要运行
ansible
这样的:..。谁becomes根通过sudo运行一堆任务command: /usr/bin/su -
postgres
-c '/bin/createuser -D -R -S myuser 告诉它把警告关起来?
浏览 0
提问于2017-12-13
得票数 5
1
回答
Ansible
postgresql_table:如何
创建
外键约束?
、
使用
Ansible
中的postgresql模块
创建
数据库
和表是非常直接的,而且工作非常好,但我
无法
真正了解如何
创建
外键约束。例如:我在
Ansible
中
创建
一个表,如下所示: become: yes
浏览 10
提问于2022-06-27
得票数 1
回答已采纳
1
回答
无法
使用
ansible
创建
postgres
数据库
、
service become_user:
postgres
template: template0 become: yes state: present 这是执行主剧本后的错误: 完整的回溯是: Traceback
浏览 31
提问于2019-03-19
得票数 0
10
回答
PostgreSQL
无法
使用
Ansible
进行对等身份验证
、
、
、
、
FreeBSD
使用
pgsql作为PostgreSQL的默认系统用户。md5有了这个配置,我就可以以pgsql身份连接到
数据库
在一台远程机器上,我有一个在FreeBSD服务器上
创建
数据库
的
Ansible
任务。
浏览 3
提问于2014-09-10
得票数 43
1
回答
使用
psql和用
ansible
postgresql_user
创建
的用户和db进行对等身份验证失败
、
、
我
使用
ansible
postgresql_user有什么问题吗?}' password: '{{db_password}}' state: present
postgres
|
postgres
| UTF8 | en_US
浏览 2
提问于2017-10-04
得票数 0
1
回答
Ansible
: docker相关命令在playbook中不起作用,但一旦直接运行就能起作用
、
、
、
exec octopus_
postgres
_{{ group_id }} /bin/bash -c 'psql -h localhost -U
postgres
-p 5433 -c "CREATE,这个任务似乎就成功完成了,但是如果我检查
postgres
数据库
--它没有任何变化。如果我通过bash在主机上手动运行上述命令,则一切正常,
数据库
也会更新,如下所示: docker exec octopus_
postgres
_iaa /bin&
浏览 31
提问于2019-05-26
得票数 1
回答已采纳
1
回答
ansible
-container
数据库
初始化脚本
、
、
、
尝试
使用
ansible
-container (0.2.0)
创建
DB (
postgres
)容器并从pg_dump file初始化
数据库
。
ansible
-container是否尊重/docker-entrypoint-initdb.d/?我尝试了一些变体,但没有成功,所以我想知道这是否得到了官方的支持。
浏览 4
提问于2016-12-30
得票数 0
3
回答
是否可以
创建
可以访问所有表的postgresql用户?
、
、
我想
创建
一个
Ansible
语句来
创建
一个
Postgres
用户,该用户对特定
数据库
具有连接权限,对该特定
数据库
中的所有表具有select/insert/update/delete权限。我尝试了以下几种方法: become: yes postgresql_user
浏览 11
提问于2016-10-28
得票数 17
回答已采纳
1
回答
使用
Ansible
在同一cron作业中运行多个命令
、
我目前有一个cronjob,它在
ansible
中
创建
postgres
数据库
的备份。 cron: minute: "*/2" job: "pg_dump -U
postgres
我知道
使用
cronjob可以简
浏览 0
提问于2020-09-09
得票数 0
1
回答
使用
Ansible
postgresql_user与psycopg2从VirtualEnv
、
、
Ansible
postgresql_user模块需要psycopg2的工作安装: 如果这是安装在服务器上的VirtualEnv中,那么
Ansible
模块如何找到它呢?
浏览 2
提问于2015-04-19
得票数 13
回答已采纳
1
回答
如何
使用
ansible
设置
postgres
密码
、
、
通常我会这样做: sudo -su
postgres
\password \q 更改
postgres
密码。现在我想
使用
ansible
自动执行这一步。
浏览 57
提问于2020-08-07
得票数 2
回答已采纳
1
回答
使用
ansible
的aws
postgres
rds
、
、
我正在尝试
使用
ansible
在AWS RDS上部署
postgres
数据库
。但是,我遇到了
数据库
大小的问题,我将其指定为20 GB (空闲层的最大值) "msg": "Failed to create instance: Storage size for Engine Name:
postgres
and Storage Type: io1 must be between 100 and 6144.Currently specified storage siz
浏览 3
提问于2017-05-03
得票数 0
1
回答
ansible
为何继续以“已启动”状态重新
创建
码头集装箱
、
我有一个码头集装箱由
Ansible
管理。每次我用
Ansible
启动容器时,都会重新
创建
容器,而不是刚刚开始。
POSTGRES
_USER: "{{
postgres
_user }}"
POSTGRES
_DB: "{{
postgres
_db }}" 当我启动、停止并
浏览 2
提问于2015-11-18
得票数 1
回答已采纳
1
回答
Ansible
:引用变量名中的变量内容
我已经
使用
ansible
vault
创建
了一些密码,我正在尝试
创建
数据库
用户,如下所示: name: "{{ item }}" login_user:
postgres
_admin login_host: localhost"
浏览 0
提问于2020-10-15
得票数 1
2
回答
如何
使用
ansible
使用
zfs-linux
创建
zfs文件系统/zpool
、
、
我希望
使用
ansible
中的zfs模块生成以下内容,下面的工作
使用
命令行,但在第二次运行时失败,因为文件系统已经存在。目前我在
ansible
有:
浏览 4
提问于2013-11-12
得票数 5
回答已采纳
1
回答
将更改部署到多个Postgresql
数据库
上的多个
数据库
的最佳方法是什么
、
、
我想知道是否有更好的方法将更改部署到多个服务器上的多个
Postgres
数据库
。我一直在
使用
Ansible
完成这项任务,我有一个基本将更改复制到服务器、将其应用于
数据库
并
使用
psql收集日志的剧本:但是,我对INDEX
创建
的这种方法有一些问题。有时
创建
索引需要几分钟或几个小时,我需要
使用
带有
a
浏览 0
提问于2021-10-30
得票数 1
14
回答
在
Ansible
中缺少sudo密码
Ansible
从下面的代码中请求sudo密码,它试图
创建
一个新的
postgres
用户。密码 - name: 'Provision a PostgreSQL server' sudo: yes sudo_user:
postgres
remote_user是非根用户,它没有密码,只能
使用
键auth登录。对于用户
postgres
,这个帐户也没有密码,因为
数据库
刚刚
浏览 17
提问于2014-08-30
得票数 83
2
回答
如何将
postgres
与
ansible
连接起来?
、
目标: 我的目标是
使用
ansible
2.8.3连接
postgres
9.3,并
使用
Ansible
执行
postgres
操作。我已经
创建
了一个yaml文件来安装
postgres
,该文件还
使用
yaml脚本
创建
了一个
数据库
。我试图通过更改sudoer文件的内容来解决这个错误,但是它破坏了文件,迫使我重新安装ubuntu和
ansible
。我正在跟随练习已经运行了
Ansible</e
浏览 0
提问于2019-08-13
得票数 1
1
回答
运行两次
ansible
lineinfile将在文件末尾添加一行
、
我有一个
ansible
剧本,我想更改
postgres
数据库
的配置:- name: Configuring
postgres
lineinfile: regexp: "^local all
postgres
peer$" line: "local
浏览 2
提问于2017-03-17
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
使用Ansible和XtraBackup自动化备份mysql数据库
使用VBA创建Access数据库
使用JMeter创建数据库测试
谷歌创建手机地震预警,我国暂无法使用
如何使用flink-connector-postgres-cdc将Kafka写数据到PostgreSQL数据库动态表中
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券