summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2021-02-18 19:51:51 +0000
committerAnoop C S <anoopcs@cryptolab.net>2021-04-15 15:25:10 +0530
commita451ef3473ff3fe26ebd1332e5d3a80c3fc7bd84 (patch)
tree9381a85ee070eac920b2637d672f9935e89b6740
parent111eb4dffd4bba1da00478a5cffde45a87db5bb0 (diff)
downloadsamba-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.yml3
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