converted rabbitmq to use repo_packages
This commit is contained in:
parent
b41fc58920
commit
f014d70ff4
@ -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
|
||||
|
@ -23,3 +23,4 @@
|
||||
- rsyslog
|
||||
vars_files:
|
||||
- vars/config_vars/container_config_rsyslog.yml
|
||||
- vars/repo_packages/rsyslog.yml
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -17,3 +17,7 @@ repo_package_name: rsyslog
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "ppa:adiscon/v8-stable", state: "present" }
|
||||
|
||||
service_pip_dependencies:
|
||||
- python-memcached
|
||||
- pycrypto
|
||||
|
Loading…
Reference in New Issue
Block a user