From ced523c435d74799979c23d0faa63bd46bcba97c Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Sun, 12 Nov 2017 16:25:19 +0100 Subject: Update rc files and add pkgs for client hosts --- roles/clients/tasks/pkgs.yml | 2 ++ roles/common/files/bashrc | 1 + roles/common/files/tmux.conf | 3 ++- roles/common/files/zshrc | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/clients/tasks/pkgs.yml b/roles/clients/tasks/pkgs.yml index 770cdd2..c130bd8 100644 --- a/roles/clients/tasks/pkgs.yml +++ b/roles/clients/tasks/pkgs.yml @@ -171,6 +171,8 @@ - python3-pelican - pandoc - p7zip + - libvirt-client + - fpdns - name: Installation des paquets codecs dnf: name={{ item }} state=present diff --git a/roles/common/files/bashrc b/roles/common/files/bashrc index 3f9f072..a9dce3d 100644 --- a/roles/common/files/bashrc +++ b/roles/common/files/bashrc @@ -14,6 +14,7 @@ alias myip4='curl -4 https://manchester.casperlefantom.net:4433/ipclient.php' alias torip='torsocks curl https://manchester.casperlefantom.net:4433/ipclient.php' alias beep='echo -e "\a"' alias screenoff='xset dpms force off' +alias fbx='curl $FBX 2>/dev/null | grep "mise en route" | cut -d " " -f10,11,12,13' alias wifion='nmcli r wifi on' alias wifioff='nmcli r wifi off' alias ltx='tmux ls' diff --git a/roles/common/files/tmux.conf b/roles/common/files/tmux.conf index ee0fa52..6473e27 100644 --- a/roles/common/files/tmux.conf +++ b/roles/common/files/tmux.conf @@ -46,7 +46,8 @@ setw -g mode-keys emacs # add uptime in status right set -g status-right-length 60 #set -g status-right '#[fg=red,bg=default]epoch: #(uptime | cut -d " " -f 4,5,6,7) #[fg=blue]|| %Y-%m-%d %H:%M %a ' -set -g status-right '#[fg=red,bg=default]epoch: #(uptime -s) #[fg=blue]|| %Y-%m-%d %H:%M %a ' +#set -g status-right '#[fg=red,bg=default]epoch: #(uptime -s) #[fg=blue]|| %Y-%m-%d %H:%M %a ' +set -g status-right '#[fg=red,bg=default]#H: #(uptime -s) #[fg=blue]%Y-%m-%d %H:%M %a ' # recording program output to a log bind P pipe-pane -o "cat >> ~/logs/#W-$(date +%Y%m%d-%H%M%S).log.bin" \; display "Toggled logging" diff --git a/roles/common/files/zshrc b/roles/common/files/zshrc index 56b90d8..d258032 100644 --- a/roles/common/files/zshrc +++ b/roles/common/files/zshrc @@ -33,6 +33,7 @@ alias myip4='curl -4 https://manchester.casperlefantom.net:4433/ipclient.php' alias torip='torsocks curl https://manchester.casperlefantom.net:4433/ipclient.php' alias beep='echo -e "\a"' alias screenoff='xset dpms force off' +alias fbx='curl $FBX 2>/dev/null | grep "mise en route" | cut -d " " -f10,11,12,13' alias wifion='nmcli r wifi on' alias wifioff='nmcli r wifi off' alias ltx='tmux ls' -- cgit