Skip to content

Commit 278831f

Browse files
authored
d8-bash-histtimeformat-option (#2376)
* d8-bash-histtimeformat-option * fix lint fail
1 parent 9592c98 commit 278831f

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

roles/_meta/common_base/meta/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ dependencies:
4747
when: is_local is not defined or not is_local
4848
- role: debian/vim
4949
when: is_local is not defined or not is_local
50+
- role: debian/bash
51+
when: is_local is not defined or not is_local

roles/debian/bash/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# BASH options
2+
3+
Set system options for the Bourne Again shell.
4+
5+
<!--TOC-->
6+
<!--ENDTOC-->
7+
8+
<!--ROLEVARS-->
9+
<!--ENDROLEVARS-->

roles/debian/bash/tasks/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- name: Copy bash histformat startup option.
2+
ansible.builtin.lineinfile:
3+
path: /etc/bash.bashrc
4+
line: "export HISTTIMEFORMAT='%Y-%m-%d %T '"
5+
create: true

0 commit comments

Comments
 (0)