converted rabbitmq to use repo_packages

This commit is contained in:
Kevin Carter 2014-10-01 22:19:51 -05:00
parent b41fc58920
commit f014d70ff4
6 changed files with 25 additions and 24 deletions

View File

@ -22,10 +22,3 @@ verbose: True
container_lvm_fstype: ext4
container_lvm_fssize: 5GB
apt_container_repos:
- { repo: "ppa:adiscon/v8-stable", state: "present" }
service_pip_dependencies:
- python-memcached
- pycrypto

View File

@ -23,3 +23,4 @@
- rsyslog
vars_files:
- vars/config_vars/container_config_rsyslog.yml
- vars/repo_packages/rsyslog.yml

View File

@ -14,11 +14,11 @@
# limitations under the License.
- name: Rsyslog Setup
template: >
src={{ item }}
dest=/etc/rsyslog.d/{{ item }}
owner=root
group=root
template:
src: "{{ item }}"
dest: "/etc/rsyslog.d/{{ item }}"
owner: "root"
group: "root"
register: results
with_items:
- 50-default.conf

View File

@ -14,12 +14,12 @@
# limitations under the License.
- name: Deploy rsyslog config generator
template: >
src={{ item }}
dest=/opt/{{ item }}
owner=root
group=root
mode=0755
template:
src: "{{ item }}"
dest: "/opt/{{ item }}"
owner: "root"
group: "root"
mode: "0755"
with_items:
- genlog.py
@ -31,11 +31,11 @@
/opt/genlog.py > /etc/rsyslog.d/51-openstack.conf
- name: Ensure ownership on /var/spool/rsyslog
file: >
path=/var/spool/rsyslog
state=directory
owner=syslog
group=syslog
file:
path: "/var/spool/rsyslog"
state: "directory"
owner: "syslog"
group: "syslog"
- name: Start rsyslog
service: name=rsyslog state=restarted pattern=rsyslog

View File

@ -14,4 +14,7 @@
# limitations under the License.
- name: stop rsyslog
service: name=rsyslog state=stopped pattern=rsyslog
service:
name: "rsyslog"
state: "stopped"
pattern: "rsyslog"

View File

@ -17,3 +17,7 @@ repo_package_name: rsyslog
apt_container_repos:
- { repo: "ppa:adiscon/v8-stable", state: "present" }
service_pip_dependencies:
- python-memcached
- pycrypto