X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=roles%2Ftools%2Ftasks%2Fmain.yml;h=3fa7d35ffa58eda6049e9cbcd85ad28cc3340f81;hb=b4693a8e0d5a6b79dbbc3c7d3987dabbab4bbd43;hp=9d23619fd5b8947eb8bd98770686015a4c1c5340;hpb=eac82f289d503c5bcc0d1e04784d027745d371c6;p=perso%2FImmae%2FConfig%2FAnsible.git diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 9d23619..3fa7d35 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml @@ -5,10 +5,13 @@ loop: - git - gnupg -- name: mplayer config file +- name: config files copy: - src: mplayer - dest: $XDG_CONFIG_HOME/mplayer/config + src: "{{ item }}" + dest: "$XDG_CONFIG_HOME/{{ item }}" + loop: + - htop/htoprc + - mplayer/config - name: postgresql block: - name: psql config file @@ -80,4 +83,27 @@ - [ "LocationMode", "path-bar" ] - [ "SortOrder", "ascending" ] - [ "StartupMode", "recent" ] - +- name: pavucontrol configuration + ini_file: + path: "$XDG_CONFIG_HOME/pavucontrol.ini" + section: "window" + option: "{{ item.0 }}" + value: "{{ item.1 }}" + no_extra_spaces: true + loop: + - [ "sinkInputType", "0" ] + - [ "sourceOutputType", "0" ] + - [ "sinkType", "0" ] + - [ "sourceType", "0" ] + - [ "showVolumeMeters", "1" ] +- name: ssh files + copy: + src: "ssh/{{ item }}" + dest: "$HOME/.ssh/{{ item }}" + loop: + - known_hosts + - rc +- name: ssh configuration + template: + src: ssh_config.j2 + dest: $HOME/.ssh/config