playbooks: os-swift-install: Use correct group name on openSUSE

The syslog user on openSUSE belongs to the 'users' group.

Change-Id: I82bbb2fcdc0fe57f52a812989b25fa16b94bfe68
This commit is contained in:
Markos Chandras 2017-08-18 22:12:48 +01:00
parent f70ca23478
commit aaf7465762

View File

@ -35,7 +35,9 @@
- src: "/openstack/log/{{ inventory_hostname }}-swift" - src: "/openstack/log/{{ inventory_hostname }}-swift"
dest: "/var/log/swift" dest: "/var/log/swift"
owner: "syslog" owner: "syslog"
group: "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/package-cache-proxy.yml - include: common-tasks/package-cache-proxy.yml
# If we're using ceilometer then swift needs a rabbitmq/vhost & usera # If we're using ceilometer then swift needs a rabbitmq/vhost & usera