taperole 1.8.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/CHANGELOG.md +13 -0
  4. data/Gemfile.lock +4 -2
  5. data/README.md +6 -6
  6. data/lib/taperole/commands/ansible.rb +2 -2
  7. data/lib/taperole/core/ansible_runner.rb +1 -1
  8. data/lib/taperole/core/installer.rb +4 -4
  9. data/lib/taperole/version.rb +1 -1
  10. data/requirements.yml +0 -3
  11. data/roles/backend_checkout/tasks/main.yml +0 -1
  12. data/roles/backend_install_essentials/meta/main.yml +0 -1
  13. data/roles/backend_install_essentials/tasks/main.yml +0 -10
  14. data/roles/deployer_user/tasks/main.yml +2 -2
  15. data/roles/dev_keys/tasks/main.yml +1 -1
  16. data/roles/letsencrypt/tasks/main.yml +19 -0
  17. data/roles/nginx/tasks/main.yml +31 -8
  18. data/roles/nginx/templates/nginx.conf.j2 +84 -0
  19. data/roles/nginx/templates/{nginx_unicorn.j2 → nginx_puma.j2} +34 -13
  20. data/roles/puma_activate/tasks/main.yml +27 -0
  21. data/roles/puma_install/tasks/main.yml +29 -0
  22. data/roles/puma_install/templates/puma.rb.j2 +26 -0
  23. data/roles/puma_install/templates/puma_init.j2 +75 -0
  24. data/roles/puma_install/templates/puma_monit.j2 +6 -0
  25. data/spec/commands/installer_spec.rb +3 -3
  26. data/taperole.gemspec +1 -0
  27. data/templates/base/deploy.example.yml +1 -1
  28. data/templates/base/omnibox.example.yml +3 -2
  29. data/templates/base/tape_vars.example.yml +6 -1
  30. data/templates/static_html/omnibox.example.yml +1 -0
  31. data/templates/static_html/tape_vars.example.yml +6 -1
  32. data/test/base_docker_box/Dockerfile +3 -3
  33. data/test/rails/Dockerfile +3 -3
  34. data/test/rails/start_rails.sh +6 -4
  35. data/test/rails/tape_vars.yml +7 -2
  36. data/vars/defaults.yml +7 -6
  37. metadata +24 -26
  38. data/roles/backend_install_essentials/templates/memcached.j2 +0 -7
  39. data/roles/unicorn_activate/defaults/main.yml +0 -3
  40. data/roles/unicorn_activate/tasks/main.yml +0 -16
  41. data/roles/unicorn_install/tasks/main.yml +0 -21
  42. data/roles/unicorn_install/templates/unicorn.rb.j2 +0 -47
  43. data/roles/unicorn_install/templates/unicorn_init.j2 +0 -70
  44. data/roles/unicorn_install/templates/unicorn_monit.j2 +0 -5
  45. data/vendor/geerlingguy.memcached/.gitignore +0 -1
  46. data/vendor/geerlingguy.memcached/.travis.yml +0 -34
  47. data/vendor/geerlingguy.memcached/README.md +0 -53
  48. data/vendor/geerlingguy.memcached/defaults/main.yml +0 -9
  49. data/vendor/geerlingguy.memcached/handlers/main.yml +0 -3
  50. data/vendor/geerlingguy.memcached/meta/.galaxy_install_info +0 -1
  51. data/vendor/geerlingguy.memcached/meta/main.yml +0 -24
  52. data/vendor/geerlingguy.memcached/tasks/main.yml +0 -29
  53. data/vendor/geerlingguy.memcached/tasks/setup-Debian.yml +0 -6
  54. data/vendor/geerlingguy.memcached/tasks/setup-RedHat.yml +0 -3
  55. data/vendor/geerlingguy.memcached/templates/memcached-Debian.conf.j2 +0 -27
  56. data/vendor/geerlingguy.memcached/templates/memcached-RedHat.conf.j2 +0 -19
  57. data/vendor/geerlingguy.memcached/tests/inventory +0 -1
  58. data/vendor/geerlingguy.memcached/tests/test.yml +0 -5
  59. data/vendor/geerlingguy.memcached/vars/Debian.yml +0 -3
  60. data/vendor/geerlingguy.memcached/vars/RedHat.yml +0 -3
@@ -1,3 +0,0 @@
1
- ---
2
- - name: Install Memcached.
3
- yum: name=memcached state=installed
@@ -1,27 +0,0 @@
1
- # Run memcached as a daemon. This command is implied, and is not needed for the
2
- # daemon to run.
3
- -d
4
-
5
- # Log memcached's output to /var/log/memcached
6
- logfile {{ memcached_log_file }}
7
- {{ memcached_log_verbosity }}
8
-
9
- # Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
10
- # Note that the daemon will grow to this size, but does not start out holding this much
11
- # memory
12
- -m {{ memcached_memory_limit }}
13
-
14
- # Default connection port is 11211
15
- -p {{ memcached_port }}
16
-
17
- # Run the daemon as root. The start-memcached will default to running as root if no
18
- # -u command is present in this config file
19
- -u {{ memcached_user }}
20
-
21
- # Specify which IP address to listen on. The default is to listen on all IP addresses
22
- # This parameter is one of the only security measures that memcached has, so make sure
23
- # it's listening on a firewalled interface.
24
- -l {{ memcached_listen_ip }}
25
-
26
- # Limit the number of simultaneous incoming connections. The daemon default is 1024
27
- -c {{ memcached_connections }}
@@ -1,19 +0,0 @@
1
- # Default connection port is 11211
2
- PORT="{{ memcached_port }}"
3
-
4
- # The user to run memcached as.
5
- USER="{{ memcached_user }}"
6
-
7
- # Limit the number of simultaneous incoming connections. The daemon default is 1024.
8
- MAXCONN="{{ memcached_connections }}"
9
-
10
- # Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
11
- # Note that the daemon will grow to this size, but does not start out holding this much
12
- # memory
13
- CACHESIZE="{{ memcached_memory_limit }}"
14
-
15
- # Extra options:
16
- # -l Specify which IP address to listen on. The default is to listen on all IP addresses
17
- # This parameter is one of the only security measures that memcached has, so make sure
18
- # it's listening on a firewalled interface.
19
- OPTIONS="-l {{ memcached_listen_ip }} {{ memcached_log_verbosity }} >> {{ memcached_log_file }} 2>&1"
@@ -1 +0,0 @@
1
- localhost
@@ -1,5 +0,0 @@
1
- ---
2
- - hosts: localhost
3
- remote_user: root
4
- roles:
5
- - ansible-role-memcached
@@ -1,3 +0,0 @@
1
- ---
2
- __memcached_user: memcache
3
- memcached_config_file: /etc/memcached.conf
@@ -1,3 +0,0 @@
1
- ---
2
- __memcached_user: memcached
3
- memcached_config_file: /etc/sysconfig/memcached