mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
Fix F**ing RHEL
This commit is contained in:
parent
05ff3aec13
commit
97788b9106
3 changed files with 18 additions and 1 deletions
|
@ -43,8 +43,17 @@ fi
|
|||
|
||||
HISTCONTROL={{ dotfiles__history_control }}
|
||||
shopt -s histappend
|
||||
{% if ansible_os_family == 'Redhat' %}
|
||||
# HISTSIZE={{ dotfiles__history_size }}
|
||||
# HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% elif ansible_distribution == "CentOS" %}
|
||||
# HISTSIZE={{ dotfiles__history_size }}
|
||||
# HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% else %}
|
||||
HISTSIZE={{ dotfiles__history_size }}
|
||||
HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% for _row in dotfiles__additional_bashrc_lines | default() %}
|
||||
{{ _row }}
|
||||
|
|
|
@ -28,8 +28,16 @@ fi
|
|||
# hostory controll
|
||||
HISTCONTROL={{ dotfiles__history_control }}
|
||||
shopt -s histappend
|
||||
{% if ansible_os_family == 'Redhat' %}
|
||||
# HISTSIZE={{ dotfiles__history_size }}
|
||||
# HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% elif ansible_distribution == "CentOS" %}
|
||||
# HISTSIZE={{ dotfiles__history_size }}
|
||||
# HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% else %}
|
||||
HISTSIZE={{ dotfiles__history_size }}
|
||||
HISTFILESIZE={{ dotfiles__history_file_size }}
|
||||
{% endif %}
|
||||
|
||||
{% for _row in dotfiles__additional_user_bashrc_lines | default() %}
|
||||
{{ _row }}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
playbook_version_number: 2063 # should be over ninethousand
|
||||
playbook_version_number: 2064 # should be over ninethousand
|
||||
playbook_version_path: 'role_dotfiles_chaos-bodensee_github.version'
|
||||
|
|
Loading…
Reference in a new issue