Merge "Stop setting a user to the symbolic link"
This commit is contained in:
@@ -36,8 +36,6 @@
|
|||||||
file:
|
file:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
owner: "{{ item.owner|default(omit) }}"
|
|
||||||
group: "{{ item.group|default(omit) }}"
|
|
||||||
state: "link"
|
state: "link"
|
||||||
force: "yes"
|
force: "yes"
|
||||||
with_items: "{{ log_dirs|default([]) }}"
|
with_items: "{{ log_dirs|default([]) }}"
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
log_dirs:
|
log_dirs:
|
||||||
- src: "/openstack/log/{{ inventory_hostname }}-molteniron"
|
- src: "/openstack/log/{{ inventory_hostname }}-molteniron"
|
||||||
dest: "/var/log/molteniron"
|
dest: "/var/log/molteniron"
|
||||||
owner: "syslog"
|
|
||||||
group: "syslog"
|
|
||||||
- include: common-tasks/unbound-clients.yml
|
- include: common-tasks/unbound-clients.yml
|
||||||
static: no
|
static: no
|
||||||
when:
|
when:
|
||||||
|
|||||||
@@ -27,10 +27,6 @@
|
|||||||
log_dirs:
|
log_dirs:
|
||||||
- src: "/openstack/log/{{ inventory_hostname }}-swift"
|
- src: "/openstack/log/{{ inventory_hostname }}-swift"
|
||||||
dest: "/var/log/swift"
|
dest: "/var/log/swift"
|
||||||
owner: "syslog"
|
|
||||||
# NOTE(hwoarang) The syslog user on openSUSE belongs to the 'users'
|
|
||||||
# group. There is no dedicated syslog group.
|
|
||||||
group: "{{ (ansible_pkg_mgr == 'zypper') | ternary ('users', 'syslog') }}"
|
|
||||||
- include: common-tasks/unbound-clients.yml
|
- include: common-tasks/unbound-clients.yml
|
||||||
static: no
|
static: no
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user