diff options
| author | Sachin Prabhu <sprabhu@redhat.com> | 2021-02-18 19:51:51 +0000 |
|---|---|---|
| committer | Anoop C S <anoopcs@cryptolab.net> | 2021-04-15 15:25:10 +0530 |
| commit | a451ef3473ff3fe26ebd1332e5d3a80c3fc7bd84 (patch) | |
| tree | 9381a85ee070eac920b2637d672f9935e89b6740 | |
| parent | 111eb4dffd4bba1da00478a5cffde45a87db5bb0 (diff) | |
| download | samba-integration-a451ef3473ff3fe26ebd1332e5d3a80c3fc7bd84.tar.gz samba-integration-a451ef3473ff3fe26ebd1332e5d3a80c3fc7bd84.tar.xz samba-integration-a451ef3473ff3fe26ebd1332e5d3a80c3fc7bd84.zip | |
Restart systemd on CentOS8
The command
systemctl list-units
on CentOS 8 fails with
Failed to list units: Access denied
To avoid this problem, restart systemd.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
| -rw-r--r-- | vagrant/ansible/roles/common.prep/tasks/centos8.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/common.prep/tasks/centos8.yml b/vagrant/ansible/roles/common.prep/tasks/centos8.yml index bb3b9bd..2d296cc 100644 --- a/vagrant/ansible/roles/common.prep/tasks/centos8.yml +++ b/vagrant/ansible/roles/common.prep/tasks/centos8.yml @@ -13,3 +13,6 @@ - name: Enable Samba nightly rpms repository command: yum-config-manager --add-repo http://artifacts.ci.centos.org/gluster/nightly-samba/samba-nightly-master.repo + +- name: Restart systemd + command: kill -TERM 1 |
