]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/tools/tasks/main.yml
Add pavucontrol and ssh
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
index dd52f67d578ca100015b8593025609a055fa1e4b..3fa7d35ffa58eda6049e9cbcd85ad28cc3340f81 100644 (file)
     - [ "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