base: Store date and time for bash history on RedHat hosts

This commit is contained in:
Timo Makinen 2021-03-19 16:49:37 +00:00
parent a0031b05ac
commit 675d7af7a4

View file

@ -71,6 +71,14 @@
dest: /etc/GREP_COLORS
state: absent
- name: store date and time for bash history
copy:
dest: /etc/profile.d/history.sh
content: 'export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "'
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
- name: cron job for downloading yum updates
cron:
name: yum-downloadonly