From d5540240e271fa77e3317cec2d6422ee2eb0906e Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 8 Oct 2018 11:01:58 +0200 Subject: [PATCH] Fix(Choux): Re-write all pacman list install --- tasks/arch_CLI_packages.yml | 13 ++++----- tasks/arch_gnome.yml | 43 ++++++++++++++------------- tasks/arch_graphicals.yml | 58 ++++++++++++++++++------------------- tasks/arch_python.yml | 7 ++--- tasks/arch_virtualbox.yml | 5 ++-- 5 files changed, 60 insertions(+), 66 deletions(-) diff --git a/tasks/arch_CLI_packages.yml b/tasks/arch_CLI_packages.yml index be06211..a216257 100644 --- a/tasks/arch_CLI_packages.yml +++ b/tasks/arch_CLI_packages.yml @@ -30,14 +30,13 @@ - name: Install extra CLI packages pacman: - name: "{{ item }}" + name: + - moc + - newsboat + - pass + - cups + - cups-pdf state: present - with_items: - - moc - - newsboat - - pass - - cups - - cups-pdf when: not minimal or not server - name: enable service cups diff --git a/tasks/arch_gnome.yml b/tasks/arch_gnome.yml index 7840073..bec0f8a 100644 --- a/tasks/arch_gnome.yml +++ b/tasks/arch_gnome.yml @@ -1,29 +1,28 @@ --- - name: Install gnome packages pacman: - name: "{{ item }}" + name: + - gnome + - gdm + - gnome-tweaks + - gparted + - transmission-gtk + - quodlibet + - gnome-mpv + - numix-gtk-theme + - materia-gtk-theme + - gnome-icon-theme-extras + - arc-solid-gtk-theme + - arc-gtk-theme + - gnome-themes-extra + - gnome-icon-theme-symbolic + - gnome-icon-theme + - adwaita-icon-theme + - chrome-gnome-shell + - networkmanager + - network-manager-applet + - gnome-keyring state: present - with_items: - - gnome - - gdm - - gnome-tweaks - - gparted - - transmission-gtk - - quodlibet - - gnome-mpv - - numix-gtk-theme - - materia-gtk-theme - - gnome-icon-theme-extras - - arc-solid-gtk-theme - - arc-gtk-theme - - gnome-themes-extra - - gnome-icon-theme-symbolic - - gnome-icon-theme - - adwaita-icon-theme - - chrome-gnome-shell - - networkmanager - - network-manager-applet - - gnome-keyring - name: enable service gdm systemd: diff --git a/tasks/arch_graphicals.yml b/tasks/arch_graphicals.yml index 490cb9a..fbd4415 100644 --- a/tasks/arch_graphicals.yml +++ b/tasks/arch_graphicals.yml @@ -17,41 +17,39 @@ - name: Install graphical packages pacman: - name: "{{ item }}" + name: + - gimp + - firefox + - firefox-i18n-fr + - chromium + - inkscape + - thunderbird + - thunderbird-i18n-fr + - libreoffice-fresh + - hunspell + - hunspell-fr + - rxvt-unicode + - vlc + - texlive-most + - gnuplot state: present - with_items: - - gimp - - firefox - - firefox-i18n-fr - - chromium - - inkscape - - thunderbird - - thunderbird-i18n-fr - - libreoffice-fresh - - hunspell - - hunspell-fr - - rxvt-unicode - - vlc - - texlive-most - - gnuplot - name: Install fonts pacman: - name: "{{ item }}" + name: + - awesome-terminal-fonts + - cantarell-fonts + - gnu-free-fonts + - gsfonts + - ttf-bitstream-vera + - ttf-dejavu + - ttf-droid + - ttf-roboto + - ttf-liberation + - ttf-ubuntu-font-family + - ttf-inconsolata + - noto-fonts state: present - with_items: - - awesome-terminal-fonts - - cantarell-fonts - - gnu-free-fonts - - gsfonts - - ttf-bitstream-vera - - ttf-dejavu - - ttf-droid - - ttf-roboto - - ttf-liberation - - ttf-ubuntu-font-family - - ttf-inconsolata - - noto-fonts - name: Install AUR fonts aur: diff --git a/tasks/arch_python.yml b/tasks/arch_python.yml index ee9dd80..9cb57b1 100644 --- a/tasks/arch_python.yml +++ b/tasks/arch_python.yml @@ -1,9 +1,8 @@ --- - name: Install python env pacman: - name: "{{ item }}" + name: + - python + - python-virtualenv state: present - with_items: - - python - - python-virtualenv diff --git a/tasks/arch_virtualbox.yml b/tasks/arch_virtualbox.yml index c8f0436..5b9917c 100644 --- a/tasks/arch_virtualbox.yml +++ b/tasks/arch_virtualbox.yml @@ -1,10 +1,9 @@ --- - name: Install virtualbox pacman: - name: "{{ item }}" + name: + - virtualbox state: present - with_items: - - virtualbox - name: Ensure group vboxuser exists group: