Skip to content

Commit ef089c2

Browse files
supaPatrickdarora
authored andcommitted
chore: fix for sar making sure directory is available before service starts
1 parent 3216d3b commit ef089c2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ansible/tasks/setup-system.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
update-alternatives --set ebtables /usr/sbin/ebtables-nft
3333
systemctl restart ufw
3434
35+
- name: Create Sysstat log directory
36+
file:
37+
path: /var/log/sysstat
38+
state: directory
39+
3540
- name: Install other useful tools
3641
apt:
3742
pkg:
@@ -48,10 +53,6 @@
4853
src: files/default.sysstat
4954
dest: /etc/default/sysstat
5055

51-
- name: Create Sysstat log directory
52-
file:
53-
path: /var/log/sysstat
54-
state: directory
5556

5657
- name: Adjust APT update intervals
5758
copy:

0 commit comments

Comments
 (0)