diff options
author | Aaron LI <aly@aaronly.me> | 2018-04-16 19:46:18 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-04-16 19:46:18 +0800 |
commit | 551151ebf10aa4bf143d63696d431062c1c7ccfa (patch) | |
tree | c223f8ef7584660bf423e33275bde50a36a896e0 /roles/basic | |
parent | a53f889d9d0cf79b69d8f1fd3266e7ffe5bf210e (diff) | |
download | ansible-dfly-vps-551151ebf10aa4bf143d63696d431062c1c7ccfa.tar.bz2 |
basic/periodic: Inline daily security status
Diffstat (limited to 'roles/basic')
-rw-r--r-- | roles/basic/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |