From 551151ebf10aa4bf143d63696d431062c1c7ccfa Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 16 Apr 2018 19:46:18 +0800 Subject: basic/periodic: Inline daily security status --- roles/basic/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'roles/basic') diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml index 8f3903c..324ca9f 100644 --- a/roles/basic/tasks/main.yml +++ b/roles/basic/tasks/main.yml @@ -33,6 +33,18 @@ state: touch mode: 0600 +- name: periodic - touch config file + file: + path: /etc/periodic.conf + state: touch + mode: 0644 + +- name: periodic - inline daily security status + lineinfile: + path: /etc/periodic.conf + regexp: '^#?\s*daily_status_security_inline' + line: "daily_status_security_inline=YES" + - name: csh - install /etc/csh.cshrc copy: src: csh.cshrc -- cgit v1.2.2