# # 显示所有的TAG号# git tag -l# # 本次我们使用Newton版本搭建一套AIO# git checkout stable/newton# git describe --abbrev=0 --tags# # Checkout the latest tag from either method of retrieving the tag.# git checkout 15.0.0.0rc1
# cd /opt/openstack-ansible/playbooks# 删除所有的LXC容器# openstack-ansible lxc-containers-destroy.yml# # On the host stop all of the services that run locally and not# # within a container.# for i in \$(ls/etc/init \|grep-e"nova\|swift\|neutron\|cinder" \|awk-F'.''{print $1}'); do \service $i stop; \done# # 卸除所有已经安装的Openstack服务# for i in $(pip freeze | grep -e "nova\|neutron\|keystone\|swift\|cinder"); do \pipuninstall-y $i; done# # 删除日志和配置目录# rm -rf /openstack /etc/{neutron,nova,swift,cinder} \/var/log/{neutron,nova,swift,cinder}# # 删除pip配置文件# rm -rf /root/.pip# # 删除apt的proxy配置文件# rm /etc/apt/apt.conf.d/00apt-cacher-proxy
## Logging leveldebug:False## APT Cache Optionscache_timeout:600# Set the package install state for distribution packages# Options are 'present' and 'latest'memcached_package_state:"latest"# Defines that the role will be deployed on a host machineis_metal:true# The default memcache memory setting is to use .25 of the available system ram# as long as that value is < 8192. However you can set the `memcached_memory`# value to whatever you like as an override.base_memcached_memory:"{{ ansible_memtotal_mb | default(4096) }}"memcached_memory:"{{ base_memcached_memory | int // 4 if base_memcached_memory | int // 4 < 8192 else 8192 }}"memcached_port:11211memcached_listen:"127.0.0.1"memcached_log:/var/log/memcached/memcached.logmemcached_connections:1024memcached_threads:4memcached_file_limits:"{{ memcached_connections | int + 1024 }}"memcached_distro_packages: []memcached_test_distro_packages: []install_test_packages:False