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:
Mohammed Naser 2018-06-27 10:47:17 -04:00
parent a64d1124bc
commit ebd76388a7
3 changed files with 0 additions and 8 deletions

View File

@ -36,8 +36,6 @@
file:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ item.owner|default(omit) }}"
group: "{{ item.group|default(omit) }}"
state: "link"
force: "yes"
with_items: "{{ log_dirs|default([]) }}"

View File

@ -27,8 +27,6 @@
log_dirs:
- src: "/openstack/log/{{ inventory_hostname }}-molteniron"
dest: "/var/log/molteniron"
owner: "syslog"
group: "syslog"
- include: common-tasks/unbound-clients.yml
static: no
when:

View File

@ -27,10 +27,6 @@
log_dirs:
- src: "/openstack/log/{{ inventory_hostname }}-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
static: no
when: