summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2017-11-12 16:25:19 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2017-11-12 16:25:19 +0100
commitced523c435d74799979c23d0faa63bd46bcba97c (patch)
tree02643e41f7ffb883b923824eb6126bc01ff77fbf
parent82e085df81cd17293ff557fc3663bc5b5aad65fa (diff)
downloadplaybooks-ansible-ced523c435d74799979c23d0faa63bd46bcba97c.tar.gz
playbooks-ansible-ced523c435d74799979c23d0faa63bd46bcba97c.tar.xz
playbooks-ansible-ced523c435d74799979c23d0faa63bd46bcba97c.zip
Update rc files and add pkgs for client hosts
-rw-r--r--roles/clients/tasks/pkgs.yml2
-rw-r--r--roles/common/files/bashrc1
-rw-r--r--roles/common/files/tmux.conf3
-rw-r--r--roles/common/files/zshrc1
4 files changed, 6 insertions, 1 deletions
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'