ansible-roles/memcached/tasks/phpmemcachedadmin.yml
Jérémy Lecour ee21973371
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Use FQCN
Fully Qualified Collection Name
2023-03-20 23:33:19 +01:00

27 lines
631 B
YAML

---
- name: Create phpMemcachedAdmin root dir
ansible.builtin.file:
path: /var/www/phpmemcachedadmin/
state: directory
mode: "0755"
tags:
- memcached
- name: Install phpMemcachedAdmin
ansible.builtin.unarchive:
src: 'https://github.com/elijaa/phpmemcachedadmin/archive/1.3.0.tar.gz'
dest: /var/www/phpmemcachedadmin/
remote_src: True
extra_opts: --strip-components=1
mode: "0755"
tags:
- memcached
- name: Copy phpMemcachedAdmin config
ansible.builtin.template:
src: Memcache.php.j2
dest: /var/www/phpmemcachedadmin/Config/Memcache.php
mode: "0755"
tags:
- memcached