Skip to content

Commit

Permalink
ansible-ckan-role (#10): Added Redis & Solr playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Apr 19, 2020
1 parent 6521838 commit 1893dd8
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
- import_playbook: playbooks/traefik.yml
- import_playbook: playbooks/docker-setup-host.yml
- import_playbook: playbooks/docker-full-stack-start.yml
- import_playbook: playbooks/redis.yml
- import_playbook: playbooks/postgresql.yml
- import_playbook: playbooks/solr.yml
# - import_playbook: playbooks/ckan-setup.yml
18 changes: 18 additions & 0 deletions ansible/playbooks/redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# FILE: playbooks/redis.yml
# LICENSE: Public Domain
# DESCRIPTION: Install redis on the host.
# It's used by CKAN. You can skip this playbook
# SEE: https://github.com/DavidWittman/ansible-redis

# ansible-playbook -i inventories/etica.dev playbooks/redis.yml

- hosts: all
vars:
- redis_bind: 127.0.0.1
redis_version: 5.0.8
redis_verify_checksum: true
# See https://github.com/antirez/redis-hashes
redis_checksum: "sha256:f3c7eac42f433326a8d981b50dba0169fdfaf46abb23fcda2f933a7552ee4ed7"
roles:
- davidwittman.redis
13 changes: 13 additions & 0 deletions ansible/playbooks/solr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# FILE: playbooks/solr.yml
# LICENSE: Public Domain
# DESCRIPTION: Install solr on the host.
# It's used by CKAN. You can skip this playbook
# SEE: https://github.com/geerlingguy/ansible-role-solr

# ansible-playbook -i inventories/etica.dev playbooks/solr.yml

- hosts: all
roles:
- geerlingguy.java
- geerlingguy.solr
11 changes: 11 additions & 0 deletions ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@
# https://github.com/geerlingguy/ansible-role-postgresql
- src: geerlingguy.postgresql
# Tested with v2.2.0, 2020-03-20

- src: geerlingguy.java
# Tested with v1.9.7

# https://github.com/geerlingguy/ansible-role-solr
- src: geerlingguy.solr
# Tested with v5.1.0

# https://github.com/DavidWittman/ansible-redis
- src: davidwittman.redis
# Tested with v1.2.7

0 comments on commit 1893dd8

Please sign in to comment.