Compare commits

..

No commits in common. "effb658a7e47756fabd29874ae874aaeb55613ab" and "c84cbec1f5715390a4cbfaf2a06d85cb9cc73ae1" have entirely different histories.

2 changed files with 2 additions and 18 deletions

View File

@ -31,7 +31,7 @@
- name: Disable dmesg logging to console - name: Disable dmesg logging to console
ansible.posix.sysctl: ansible.posix.sysctl:
name: kernel.printk name: kernel.printk
value: "3 4 1 3" value: '3 4 1 3'
state: present state: present
sysctl_set: true sysctl_set: true
- name: Add users - name: Add users
@ -133,7 +133,7 @@
owner: 0 owner: 0
group: 0 group: 0
mode: "0644" mode: "0644"
validate: "/usr/sbin/sshd -T -f %s" validate: '/usr/sbin/sshd -T -f %s'
notify: notify:
- restart sshd - restart sshd
handlers: handlers:
@ -142,18 +142,3 @@
name: sshd name: sshd
enabled: true enabled: true
state: restarted state: restarted
- name: Install gdu
hosts: all
tasks:
- name: Check if gdu is installed
stat:
path: "/usr/bin/gdu"
register: file_data
- name: If gdu is not installed
ansible.builtin.apt:
name: gdu
update_cache: true
when: not file_data.stat.exists
- name: If gdu is installed
debug:
msg: "gdu is already installed!"

View File

@ -1,7 +1,6 @@
# General # General
alias clear="printf '\033c'" # faster than ncurses clear by a lot alias clear="printf '\033c'" # faster than ncurses clear by a lot
alias c='clear' alias c='clear'
alias q="exit"
alias bashrc="vim ~/.bashrc && source ~/.bashrc" alias bashrc="vim ~/.bashrc && source ~/.bashrc"
# LS # LS
alias ls='ls --color=auto -FAh' alias ls='ls --color=auto -FAh'