Stop setting a user to the symbolic link
There is no point in setting an owner and group for a symbolic link for the logs, only 2 roles do those and they cause issues for systems such as CentOS and require workarounds for SUSE. All the other roles work fine without them so we don't need to use those anymore. Change-Id: I781c901bf0a22790e609600b32eaabb36b82f983
This commit is contained in:
parent
a64d1124bc
commit
ebd76388a7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user