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_fstype: ext4
|
||||||
container_lvm_fssize: 5GB
|
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
|
- rsyslog
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/config_vars/container_config_rsyslog.yml
|
- vars/config_vars/container_config_rsyslog.yml
|
||||||
|
- vars/repo_packages/rsyslog.yml
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Rsyslog Setup
|
- name: Rsyslog Setup
|
||||||
template: >
|
template:
|
||||||
src={{ item }}
|
src: "{{ item }}"
|
||||||
dest=/etc/rsyslog.d/{{ item }}
|
dest: "/etc/rsyslog.d/{{ item }}"
|
||||||
owner=root
|
owner: "root"
|
||||||
group=root
|
group: "root"
|
||||||
register: results
|
register: results
|
||||||
with_items:
|
with_items:
|
||||||
- 50-default.conf
|
- 50-default.conf
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Deploy rsyslog config generator
|
- name: Deploy rsyslog config generator
|
||||||
template: >
|
template:
|
||||||
src={{ item }}
|
src: "{{ item }}"
|
||||||
dest=/opt/{{ item }}
|
dest: "/opt/{{ item }}"
|
||||||
owner=root
|
owner: "root"
|
||||||
group=root
|
group: "root"
|
||||||
mode=0755
|
mode: "0755"
|
||||||
with_items:
|
with_items:
|
||||||
- genlog.py
|
- genlog.py
|
||||||
|
|
||||||
@ -31,11 +31,11 @@
|
|||||||
/opt/genlog.py > /etc/rsyslog.d/51-openstack.conf
|
/opt/genlog.py > /etc/rsyslog.d/51-openstack.conf
|
||||||
|
|
||||||
- name: Ensure ownership on /var/spool/rsyslog
|
- name: Ensure ownership on /var/spool/rsyslog
|
||||||
file: >
|
file:
|
||||||
path=/var/spool/rsyslog
|
path: "/var/spool/rsyslog"
|
||||||
state=directory
|
state: "directory"
|
||||||
owner=syslog
|
owner: "syslog"
|
||||||
group=syslog
|
group: "syslog"
|
||||||
|
|
||||||
- name: Start rsyslog
|
- name: Start rsyslog
|
||||||
service: name=rsyslog state=restarted pattern=rsyslog
|
service: name=rsyslog state=restarted pattern=rsyslog
|
||||||
|
@ -14,4 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: stop rsyslog
|
- 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:
|
apt_container_repos:
|
||||||
- { repo: "ppa:adiscon/v8-stable", state: "present" }
|
- { repo: "ppa:adiscon/v8-stable", state: "present" }
|
||||||
|
|
||||||
|
service_pip_dependencies:
|
||||||
|
- python-memcached
|
||||||
|
- pycrypto
|
||||||
|
Loading…
Reference in New Issue
Block a user