converted memcached to use repo_packages
This commit is contained in:
parent
b41fc58920
commit
b54779cff9
@ -18,7 +18,3 @@ service_name: memcached
|
||||
# only used when the lxc vg is present on the target
|
||||
container_lvm_fstype: ext4
|
||||
container_lvm_fssize: 5GB
|
||||
|
||||
service_pip_dependencies:
|
||||
- python-memcached
|
||||
- pycrypto
|
||||
|
@ -22,3 +22,4 @@
|
||||
- memcached
|
||||
vars_files:
|
||||
- vars/config_vars/container_config_memcached.yml
|
||||
- vars/repo_packages/memcached.yml
|
||||
|
@ -13,18 +13,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Install memcached
|
||||
apt:
|
||||
pkg: memcached
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 600
|
||||
|
||||
- name: Drop memcached config
|
||||
template: >
|
||||
src="memcached.conf"
|
||||
dest="/etc/memcached.conf"
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
template:
|
||||
src: "memcached.conf"
|
||||
dest: "/etc/memcached.conf"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
notify: Restart memcached
|
||||
|
@ -17,3 +17,7 @@ repo_package_name: memcached
|
||||
|
||||
container_packages:
|
||||
- memcached
|
||||
|
||||
service_pip_dependencies:
|
||||
- python-memcached
|
||||
- pycrypto
|
||||
|
Loading…
x
Reference in New Issue
Block a user