【文件属性】:
文件名称:ansible-freebsd-redis:角色扮演。 FreeBSD。 安装和配置Redis
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-07 21:26:04
HTML
freebsd_redis
FreeBSD。 安装和配置Redis。
随时。
。
要求
没有任何。
变数
查看vars中的默认值和示例。
工作流程
将shell更改为/ bin / sh。
shell> ansible dbserver -e 'ansible_shell_type=csh ansible_shell_executable=/bin/csh' -a 'sudo pw usermod freebsd -s /bin/sh'
安装角色。
shell> ansible-galaxy install vbotka.freebsd_redis
拟合变量。
shell> editor vbotka.freebsd_redis/vars/main.yml
创建剧本和广告资源。
shell> cat redis.yml
- hosts: dbserver
roles:
【文件预览】:
ansible-freebsd-redis-master
----defaults()
--------main.yml(3KB)
----templates()
--------redis.conf.j2(3KB)
----meta()
--------main.yml(359B)
----.travis.yml(416B)
----LICENSE(1KB)
----README.md(2KB)
----tests()
--------test.yml(92B)
--------inventory(9B)
----.ansible-lint(146B)
----.yamllint(355B)
----vars()
--------main.yml.sample(3KB)
----handlers()
--------main.yml(676B)
----tasks()
--------packages.yml(1KB)
--------redisconf.yml(329B)
--------rcconf.yml(685B)
--------main.yml(286B)
--------debug.yml(1KB)