converted memcached to use repo_packages

This commit is contained in:
Kevin Carter 2014-10-01 22:02:19 -05:00
parent b41fc58920
commit b54779cff9
4 changed files with 11 additions and 17 deletions

View File

@ -18,7 +18,3 @@ service_name: memcached
# only used when the lxc vg is present on the target # only used when the lxc vg is present on the target
container_lvm_fstype: ext4 container_lvm_fstype: ext4
container_lvm_fssize: 5GB container_lvm_fssize: 5GB
service_pip_dependencies:
- python-memcached
- pycrypto

View File

@ -22,3 +22,4 @@
- memcached - memcached
vars_files: vars_files:
- vars/config_vars/container_config_memcached.yml - vars/config_vars/container_config_memcached.yml
- vars/repo_packages/memcached.yml

View File

@ -13,18 +13,11 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
- name: Install memcached
apt:
pkg: memcached
state: latest
update_cache: yes
cache_valid_time: 600
- name: Drop memcached config - name: Drop memcached config
template: > template:
src="memcached.conf" src: "memcached.conf"
dest="/etc/memcached.conf" dest: "/etc/memcached.conf"
owner=root owner: "root"
group=root group: "root"
mode=0644 mode: "0644"
notify: Restart memcached notify: Restart memcached

View File

@ -17,3 +17,7 @@ repo_package_name: memcached
container_packages: container_packages:
- memcached - memcached
service_pip_dependencies:
- python-memcached
- pycrypto