Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem: journalctl doesn't work for vagrant user in pulp2-pulp3 dev box
Browse files Browse the repository at this point in the history
Solution: Add the pulp_user (vagrant) to systemd-journal group in all
distros, not just Debian.
This is in the pulp-devel role, so will not affect end users.

Fixes: #5272
journalctl doesn't work for vagrant user in pulp2-pulp3 dev box
https://pulp.plan.io/issues/5272
  • Loading branch information
mikedep333 committed Sep 16, 2019
1 parent 9bdf00c commit 974b139
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions roles/pulp-devel/tasks/main.yml
Expand Up @@ -60,13 +60,11 @@
until: result is succeeded
when: ansible_distribution == 'Fedora'

- name: "Add {{ pulp_user }} to systemd-journal group (Debian only)"
- name: "Add {{ pulp_user }} to systemd-journal group"
user:
name: "{{ pulp_user }}"
groups: systemd-journal
append: yes
when: ansible_distribution == 'Debian'


become: true

Expand Down

0 comments on commit 974b139

Please sign in to comment.