1
0
Fork 0
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:
L3D 2021-01-07 19:28:02 +01:00 committed by L3D
parent 05ff3aec13
commit 97788b9106
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 18 additions and 1 deletions

View file

@ -43,8 +43,17 @@ fi
HISTCONTROL={{ dotfiles__history_control }} HISTCONTROL={{ dotfiles__history_control }}
shopt -s histappend 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 }} HISTSIZE={{ dotfiles__history_size }}
HISTFILESIZE={{ dotfiles__history_file_size }} HISTFILESIZE={{ dotfiles__history_file_size }}
{% endif %}
{% for _row in dotfiles__additional_bashrc_lines | default() %} {% for _row in dotfiles__additional_bashrc_lines | default() %}
{{ _row }} {{ _row }}

View file

@ -28,8 +28,16 @@ fi
# hostory controll # hostory controll
HISTCONTROL={{ dotfiles__history_control }} HISTCONTROL={{ dotfiles__history_control }}
shopt -s histappend 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 }} HISTSIZE={{ dotfiles__history_size }}
HISTFILESIZE={{ dotfiles__history_file_size }} HISTFILESIZE={{ dotfiles__history_file_size }}
{% endif %}
{% for _row in dotfiles__additional_user_bashrc_lines | default() %} {% for _row in dotfiles__additional_user_bashrc_lines | default() %}
{{ _row }} {{ _row }}

View file

@ -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' playbook_version_path: 'role_dotfiles_chaos-bodensee_github.version'