From 726e78f811ed4120ae81633b05ddc0fd521aba95 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 19 Sep 2019 09:53:20 +0200 Subject: [PATCH 1/8] Feat: Nouvelle config pour Poivre --- Poivre.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Poivre.yml diff --git a/Poivre.yml b/Poivre.yml new file mode 100644 index 0000000..5d3662e --- /dev/null +++ b/Poivre.yml @@ -0,0 +1,38 @@ +--- +- hosts: localhost + connection: local + + vars_files: + - vars/common.yml + - vars/home.yml + - vars/Combava.yml + + tasks: + - include: tasks/ansible.yml + - include: tasks/arch_aur.yml + - include: tasks/arch_CLI_packages.yml + - include: tasks/dd_backup.yml + - include: tasks/prompt.yml + - include: tasks/users.yml + - include: tasks/sudo.yml + - include: tasks/ssh.yml + - include: tasks/arch_programming.yml + - include: tasks/arch_gnome.yml + - include: tasks/arch_graphicals.yml + - include: tasks/dotfiles.yml + - include: tasks/dotfiles_desktop.yml + - include: tasks/home_autofs.yml + - include: tasks/laptop.yml + # - include: tasks/nfs_share.yml + #- include: tasks/wine.yml + # - include: tasks/arch_virtualbox.yml + + handlers: + - name: restart sshd + systemd: + name: sshd + state: restarted + - name: restart nfs + systemd: + name: nfs-server + state: restarted From 47c07017152830dd4fc34c596bb9ca05c6e48131 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 19 Sep 2019 17:02:18 +0200 Subject: [PATCH 2/8] Feat: sudo before arch_aur --- Poivre.yml | 4 ++-- tasks/arch_CLI_packages.yml | 24 ------------------------ tasks/arch_aur.yml | 9 +++++++++ 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/Poivre.yml b/Poivre.yml index 5d3662e..12d8265 100644 --- a/Poivre.yml +++ b/Poivre.yml @@ -9,12 +9,12 @@ tasks: - include: tasks/ansible.yml - - include: tasks/arch_aur.yml - include: tasks/arch_CLI_packages.yml + - include: tasks/sudo.yml + - include: tasks/arch_aur.yml - include: tasks/dd_backup.yml - include: tasks/prompt.yml - include: tasks/users.yml - - include: tasks/sudo.yml - include: tasks/ssh.yml - include: tasks/arch_programming.yml - include: tasks/arch_gnome.yml diff --git a/tasks/arch_CLI_packages.yml b/tasks/arch_CLI_packages.yml index 5e17e16..74fb7fb 100644 --- a/tasks/arch_CLI_packages.yml +++ b/tasks/arch_CLI_packages.yml @@ -77,27 +77,3 @@ regexp: '^#Color$' line: 'Color' backrefs: yes - -- name: Install mkpasswd - aur: - name: mkpasswd - use: makepkg - skip_installed: true - become: yes - become_user: aur_builder - - # - name: Init Samba (empty config) - # file: - # path: /etc/samba/smb.conf - # state: file - - # - name: Install Tmuxinator - # aur: - # name: "{{ item }}" - # use: yay - # skip_installed: true - # with_items: - # - tmuxinator - # become: yes - # become_user: aur_builder - diff --git a/tasks/arch_aur.yml b/tasks/arch_aur.yml index fb383d3..c7dc789 100644 --- a/tasks/arch_aur.yml +++ b/tasks/arch_aur.yml @@ -33,3 +33,12 @@ skip_installed: true become: yes become_user: aur_builder + +- name: Install mkpasswd + aur: + name: mkpasswd + use: makepkg + skip_installed: true + become: yes + become_user: aur_builder + From d6c59c26ce68d43b357991ed157c9b0856a761f4 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 24 Sep 2019 17:00:17 +0200 Subject: [PATCH 3/8] Fix: remove numix-get-theme --- tasks/arch_gnome.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/arch_gnome.yml b/tasks/arch_gnome.yml index 4d1c9ac..35d9365 100644 --- a/tasks/arch_gnome.yml +++ b/tasks/arch_gnome.yml @@ -45,7 +45,6 @@ - name: Install look and feel pacman: name: - - numix-gtk-theme - materia-gtk-theme - gnome-icon-theme-extras - arc-solid-gtk-theme From 317ccb83678d64e569036fc76282b6d6bfbd7d42 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 24 Sep 2019 17:00:32 +0200 Subject: [PATCH 4/8] Feat: remove dd-backup for Poivre --- Poivre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Poivre.yml b/Poivre.yml index 12d8265..0c4bd2b 100644 --- a/Poivre.yml +++ b/Poivre.yml @@ -12,7 +12,7 @@ - include: tasks/arch_CLI_packages.yml - include: tasks/sudo.yml - include: tasks/arch_aur.yml - - include: tasks/dd_backup.yml + #- include: tasks/dd_backup.yml - include: tasks/prompt.yml - include: tasks/users.yml - include: tasks/ssh.yml From 41295252cfe7b062523f28ff211f88bd9fbad2ef Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 30 Sep 2019 14:55:10 +0200 Subject: [PATCH 5/8] Feat: remove user creation --- Poivre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Poivre.yml b/Poivre.yml index 0c4bd2b..19fb3ed 100644 --- a/Poivre.yml +++ b/Poivre.yml @@ -14,7 +14,7 @@ - include: tasks/arch_aur.yml #- include: tasks/dd_backup.yml - include: tasks/prompt.yml - - include: tasks/users.yml + #- include: tasks/users.yml - include: tasks/ssh.yml - include: tasks/arch_programming.yml - include: tasks/arch_gnome.yml From 49757179192469afc2154ea962de044a1f1ee810 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 30 Sep 2019 22:35:52 +0200 Subject: [PATCH 6/8] Feat: reactivate user for Poivre --- Poivre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Poivre.yml b/Poivre.yml index 19fb3ed..0c4bd2b 100644 --- a/Poivre.yml +++ b/Poivre.yml @@ -14,7 +14,7 @@ - include: tasks/arch_aur.yml #- include: tasks/dd_backup.yml - include: tasks/prompt.yml - #- include: tasks/users.yml + - include: tasks/users.yml - include: tasks/ssh.yml - include: tasks/arch_programming.yml - include: tasks/arch_gnome.yml From f461d0b34fcd0a112be5d981417b60c6ffdc21b9 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 30 Sep 2019 22:44:24 +0200 Subject: [PATCH 7/8] Feat: deactivate user for Poivre --- Poivre.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Poivre.yml b/Poivre.yml index 0c4bd2b..9b1edd5 100644 --- a/Poivre.yml +++ b/Poivre.yml @@ -15,7 +15,7 @@ #- include: tasks/dd_backup.yml - include: tasks/prompt.yml - include: tasks/users.yml - - include: tasks/ssh.yml + # - include: tasks/ssh.yml - include: tasks/arch_programming.yml - include: tasks/arch_gnome.yml - include: tasks/arch_graphicals.yml From 1c0f32dadb04187ad4bc0d53f24bf230532ebe3d Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 1 Oct 2019 09:47:03 +0200 Subject: [PATCH 8/8] Feat: change name of raisin share --- files/autofs.raisin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/autofs.raisin b/files/autofs.raisin index 5248a7b..9cfb6c3 100644 --- a/files/autofs.raisin +++ b/files/autofs.raisin @@ -1 +1 @@ -raisin_doc -fstype=cifs,rw,noperm ://RAISIN/Tosh500G +raisin_doc -fstype=cifs,rw,noperm ://RAISIN/DocNAS