diff --git a/memcached/README.md b/memcached/README.md new file mode 100644 index 00000000..0a1aef27 --- /dev/null +++ b/memcached/README.md @@ -0,0 +1,11 @@ +# PHP-FPM + +Installation and basic configuration of memcached + +## Tasks + +Minimal configuration is in `tasks/main.yml` + +## Available variables + +The full list of variables (with default values) can be found in `defaults/main.yml`. diff --git a/memcached/defaults/main.yml b/memcached/defaults/main.yml new file mode 100644 index 00000000..ed97d539 --- /dev/null +++ b/memcached/defaults/main.yml @@ -0,0 +1 @@ +--- diff --git a/memcached/handlers/main.yml b/memcached/handlers/main.yml new file mode 100644 index 00000000..8a049b3b --- /dev/null +++ b/memcached/handlers/main.yml @@ -0,0 +1,5 @@ +--- +- name: restart memcached + service: + name: memcached + state: restarted diff --git a/memcached/meta/main.yml b/memcached/meta/main.yml new file mode 100644 index 00000000..f700b4ef --- /dev/null +++ b/memcached/meta/main.yml @@ -0,0 +1,19 @@ +galaxy_info: + author: Evolix + description: Installation and basic configuration of memcached. + + issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues + + license: GPLv2 + + min_ansible_version: 2.0 + + platforms: + - name: Debian + versions: + - jessie + +dependencies: [] + # List your role dependencies here, one per line. + # Be sure to remove the '[]' above if you add dependencies + # to this list. diff --git a/memcached/tasks/main.yml b/memcached/tasks/main.yml new file mode 100644 index 00000000..46ca20db --- /dev/null +++ b/memcached/tasks/main.yml @@ -0,0 +1,4 @@ +- name: ensure packages are installed + apt: + name: memcached + state: present