{"id":27063658,"url":"https://github.com/Benoth/ansible-ubuntu","last_synced_at":"2025-04-05T16:01:57.947Z","repository":{"id":143719866,"uuid":"50427679","full_name":"lvancrayelynghe/ansible-ubuntu","owner":"lvancrayelynghe","description":"Ansible scripts to setup Ubuntu desktop/server","archived":false,"fork":false,"pushed_at":"2020-04-06T23:29:54.000Z","size":245,"stargazers_count":225,"open_issues_count":3,"forks_count":91,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-11T02:02:26.476Z","etag":null,"topics":["ansible","playbook","setup","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvancrayelynghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-26T12:36:09.000Z","updated_at":"2024-09-27T19:34:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"21a1fe43-1b72-4b03-b79a-d9d2539fdede","html_url":"https://github.com/lvancrayelynghe/ansible-ubuntu","commit_stats":null,"previous_names":["benoth/ansible-ubuntu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvancrayelynghe%2Fansible-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvancrayelynghe%2Fansible-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvancrayelynghe%2Fansible-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvancrayelynghe%2Fansible-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvancrayelynghe","download_url":"https://codeload.github.com/lvancrayelynghe/ansible-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361593,"owners_count":20926641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","playbook","setup","ubuntu"],"created_at":"2025-04-05T16:01:56.159Z","updated_at":"2025-04-05T16:01:57.920Z","avatar_url":"https://github.com/lvancrayelynghe.png","language":"Shell","funding_links":[],"categories":["ubuntu"],"sub_categories":[],"readme":"# Ansible Ubuntu setup\nAnsible roles to setup Ubuntu desktop and Ubuntu server (14.04 and 16.04). This playbook is focused on quickly deploying a \"ready to use\" dev machine.\n\n\n## Requirements\n- Git\n- Ansible 2+ (automatically installed from [Ansible offical PPA](https://launchpad.net/~ansible/+archive/ubuntu/ansible) with the provided install.sh script)\n\n\n## Installation\nFirst, you need to install Git and Ansible :\n```\nsudo apt-get install git\ngit clone https://github.com/Benoth/ansible-ubuntu.git\ncd ansible-ubuntu\n./install.sh\n```\n\nThen you need to customize the playbook `ansible-desktop.yml` (or create a new one) to suit your needs. Every roles are disabled by default.\n\nRun `ansible-playbook ansible-desktop.yml --ask-become-pass` and enter your sudo password to run the playbook\n\n## Roles included\n\n| Role                     | Description                                                                                                                                                                                                                                                                                                                           |\n| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| | **General** |\n| common                   | Install a lot of usefull packages (curl, htop, less, zip ... see [corresponding task file](https://github.com/Benoth/ansible-ubuntu/blob/master/roles/common/tasks/main.yml))                                                                                                                                                         |\n| locales                  | Configure system locales and timezone                                                                                                                                                                                                                                                                                                 |\n| java-openjdk             | Install Default Java JDK                                                                                                                                                                                                                                                                                                              |\n| ripgrep                  | Install [ripgrep](https://github.com/jimhester/ripgrep) (grep++)                            |\n| sift                     | Install [Sift](https://sift-tool.org/) tool, a fast and powerful alternative to grep                                                                                                                                                                                                                                                  |\n| zsh                      | Install [ZSH](http://www.zsh.org/) and create a [zshrc file](https://github.com/Benoth/ansible-ubuntu/blob/master/roles/zsh/files/zshrc) for the current user / root                                                                                                                                                                  |\n| | **Desktop tools** |\n| adapta-theme             | Install [Adapta Theme](https://github.com/tista500/Adapta/) from source and apply some gsettings                                                         |\n| albert                   | Install [Albert](https://github.com/ManuelSchneid3r/albert) omnilauncher from [Alin Andrei WebUpd8 PPA](https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8)                                                                                                                                                                  |\n| altyo                    | Install [AltYo](https://github.com/linvinus/AltYo) Gtk3 drop-down terminal emulator from [Denis Konstantinov AltYo PPA](https://launchpad.net/~linvinus/+archive/ubuntu/altyo)                                                                                                                                                        |\n| arc-theme                | Install [Arc Theme](https://github.com/horst3180/arc-theme) from source and apply some gsettings                                                         |\n| atom                     | Install [Atom](https://atom.io/) from [WebUpd8 PPA](https://launchpad.net/~webupd8team/+archive/ubuntu/atom) and [Sync Settings](https://atom.io/packages/sync-settings) plugin                                                                                                                                                       |\n| chromium                 | Install [Chromium](https://www.chromium.org/). May also install plugins and set policies                                                                                                                                                                                                                                              |\n| claws-mail               | Install [Claws Mail](http://www.claws-mail.org/) from [Claws Mail PPA](https://launchpad.net/~claws-mail/+archive/ubuntu/ppa) (14.04)                                                                                                                                                                                                 |\n| compton                  | Install [Compton](https://github.com/chjj/compton) lightweight compositor                                                                                                                                                                                                                                                             |\n| copyq                    | Install [CopyQ](https://hluk.github.io/CopyQ/) clipboard manager                            |\n| dbeaver                  | Install [DBeaver](http://dbeaver.jkiss.org/) from online deb file                                                                                                                                                                                                                                                                     |\n| desktop                  | Install a lot of usefull packages (meld, tilda, vlc, xclip)                                                                                                                                                                                                                                                                           |\n| desktop-autostart        | Update autostart handling (unhide all apps, create, remove...)                                                                                                                                                                                                                                                                        |\n| desktop-cleanup          | Remove Unity sh... integrations and install Nautilus plugins                                                                                                                                                                                                                                                                          |\n| desktop-preferences-unity | This one is very personal. Imports all my Unity preferences                                                                                                                                                                                                                                                                          |\n| filezilla                | Install [Filezilla](https://filezilla-project.org/) (no particular settings, basic installation)                                                                                                                                                                                                                                      |\n| firefox                  | Install [Firefox](https://www.mozilla.org/firefox/) (no particular settings, basic installation)                                                                                                                                                                                                                                      |\n| flatabulous              | Install [Flatabulous Theme](https://github.com/anmoljagetia/Flatabulous) from source and apply some gsettings                                            |\n| geary                    | Install [Geary](https://wiki.gnome.org/Apps/Geary) email client (from [Yorba PPA](https://launchpad.net/~yorba/+archive/ubuntu/ppa) on 14.04)                                                                                                                                                                                         |\n| gimp                     | Install [Gimp](https://www.gimp.org/) and some minor settings                                                                                                                                                                                                                                                                         |\n| grub-customizer          | Install Grub Customizer using [Daniel Richter PPA](https://launchpad.net/~danielrichter2007/+archive/ubuntu/grub-customizer)                                                                                                                                                                                                          |\n| indicator-sysmonitor     | Install [indicator-sysmonitor](https://github.com/fossfreedom/indicator-sysmonitor) from [FOSSFreedom PPA](https://launchpad.net/~fossfreedom/+archive/ubuntu/indicator-sysmonitor)                                                                                                                                                   |\n| ksuperkey                | Install [ksuperkey](https://github.com/hanschen/ksuperkey) using [Eugene Mikhantiev PPA](https://launchpad.net/~mehanik/+archive/ubuntu/ksuperkey)                                                                                                                                                                                    |\n| libreoffice              | Install [LibreOffice](https://www.libreoffice.org/) using [LibreOffice 5.1 PPA](https://launchpad.net/~libreoffice/+archive/ubuntu/libreoffice-5-1)                                                                                                                                                                                   |\n| maim                     | Install [maim (make image)](https://github.com/naelstrof/maim) (screenshots tool) from [WebUpd8 Alin Andrei PPA](https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8)                                                                                                                                                         |\n| mysql-workbench          | Install [MySQL WorkBench](https://www.mysql.fr/products/workbench/) from online deb file                                                                                                                                                                                                                                              |\n| nautilus-plugins         | Install Nautilus plugins                                                                                                                                                                                                                                                                                                              |\n| nemo                     | Install [Nemo](https://github.com/linuxmint/nemo) from [WebUpd8 PPA](https://launchpad.net/~webupd8team/+archive/ubuntu/nemo)                                                                                                                                                                                                         |\n| notepadqq                | Install [Notepadqq](http://notepadqq.altervista.org/wp/) from [Notepadqq Team PPA](https://launchpad.net/~notepadqq-team/+archive/ubuntu/notepadqq)                                                                                                                                                                                   |\n| notify-osd               | Install ehanced Notidy-OSD from [Leolik PPA](https://launchpad.net/~leolik/+archive/ubuntu/leolik)                                                                                                                                                                                                                                    |\n| qutebrowser              | Install [qutebrowser](https://qutebrowser.org/) from online deb file                                                                                                                                                                                                                                                                  |\n| rofi                     | Compile [rofi](https://davedavenport.github.io/rofi/) from source                                                                                                                                                                                                                                                                     |\n| remarkable               | Install [Remarkable](https://remarkableapp.github.io/linux.html) from online deb file                                                                                                                                                                                                                                                 |\n| remmina                  | Install [Remmina](http://www.remmina.org/)                                                                                                                                                                                                                                                                                            |\n| shutter                  | Install [Shutter](http://shutter-project.org/) screenshot tool                                                                                                                                                                                                                                                                        |\n| skype                    | Install [Skype](https://www.skype.com/)                                                                                                                                                                                                                                                                                               |\n| slop                     | Install [slop (select operation)](https://github.com/naelstrof/slop) (selection tool) from [WebUpd8 Alin Andrei PPA](https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8)                                                                                                                                                     |\n| smartgit                 | Install [SmartGit](http://www.syntevo.com/smartgit/) from [Eugene San PPA](https://launchpad.net/~eugenesan/+archive/ubuntu/ppa)                                                                                                                                                                                                      |\n| sublime3                 | Install [Sublime Text 3](https://www.sublimetext.com/3) from [WebUpd8 PPA](https://launchpad.net/~webupd8team/+archive/ubuntu/sublime-text-3) and the [Package Control](https://packagecontrol.io/) plugin                                                                                                                            |\n| sunflower                | Install [SunFlower](http://sunflower-fm.org/download)fom online dev                                                                                                                                                                                                                                                                   |\n| teamviewer               | Install [TeamViewer](https://www.teamviewer.com/) from online deb file                                                                                                                                                                                                                                                                |\n| thunderbird              | Install [Thunderbird](https://www.mozilla.org/thunderbird/) (no particular settings, basic installation)                                                                                                                                                                                                                              |\n| ultra-flat-icons         | Install [Ultra flat icons](http://www.noobslab.com/2015/01/make-linux-more-elegant-with-ultra-flat.html) from [Noobslab PPA](https://launchpad.net/~noobslab/+archive/ubuntu/icons)                                                                                                                                                   |\n| urxvt-perls              | Install [rxvt perl extensions](https://github.com/muennich/urxvt-perls) from Git                             |\n| vagrant                  | Install [Vagrant](https://www.vagrantup.com/) from online deb file                                                                                                                                                                                                                                                                    |\n| virtualbox               | Install [VirtualBox](https://www.virtualbox.org/) from VirtualBox APT repositories                                                                                                                                                                                                                                                    |\n| vokoscreen               | Install [Vokoscreen](http://www.kohaupt-online.de/hp/) screencast tool                                                                                                                                                                                                                                                                |\n| wine                     | Install [Wine](https://www.winehq.org/) from [Ubuntu Wine Team PPA](https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa) and create [HeidiSQL](http://www.heidisql.com/) shortcut                                                                                                                                                  |\n| workrave                 | Install [Workrave](http://www.workrave.org/) a tool  assists in the recovery and prevention of Repetitive Strain Injury (RSI)                                                                                                                                                                                                         |\n| xfce-dockbarx            | Install [DockbarX](https://github.com/M7S/dockbarx) and the XFCE plugin from [Dockbar main PPA](https://launchpad.net/~dockbar-main/+archive/ubuntu/ppa)                                                                                                                                                                              |\n| xmind                    | Install [XMind](http://www.xmind.net/) from online deb file                                                                                                                                                                                                                                                                           |\n| min                      | Install [Min browser](https://minbrowser.github.io/min/) from online deb file                                                                                                                                                                                                                                                         |\n| | **bspwm** |\n| bspwm                    | Compile [bspwm binary tree tiling window manager](https://github.com/baskerville/bspwm) from source.                                                                                                                                                                                                                                  |\n| bspwm-environment        | Install [various packages](https://github.com/Benoth/ansible-ubuntu/blob/master/roles/bspwm-environment/tasks/main.yml) to create a desktop environment                                                                                                                                                                               |\n| bspwm-panel              | Compile [lemonbar, xdo, xtitle, etc](https://github.com/Benoth/ansible-ubuntu/blob/master/roles/bspwm-panel/tasks/main.yml) from source to handle a panel                                                                                                                                                                             |\n| sxhkd                    | Compile [sxhkd keyboard events daemon](https://github.com/baskerville/sxhkd) from source.                                                                                                                                                                                                                                             |\n| | **Dev tools** |\n| blackfire                | Install [Blackfire](https://blackfire.io/) from Blackfire deb repository                                                                                                                                                                                                                                                              |\n| bower                    | Install [Bower](https://bower.io/) as a global package using NPM                                                                                                                                                                                                                                                                      |\n| browsersync              | Install [Browsersync](https://www.browsersync.io/) as a global package using NPM                                                                                                                                                                                                                                                      |\n| composer                 | Install [Composer](https://getcomposer.org/), PHP Dependency Manager                                                                                                                                                                                                                                                                  |\n| gulp                     | Install [Gulp](http://gulpjs.com/) as a global package using NPM                                                                                                                                                                                                                                                                      |\n| mailcatcher              | Install [Mailcatcher](https://mailcatcher.me/) as a service                                                                                                                                                                                                                                                                           |\n| mailhog                  | Install [MailHog](https://github.com/mailhog/MailHog) (Catches SMTP emails, like MailCatcher) as a service                                                                                                                                                                                                                            |\n| php-phar-tools           | Install common PHP tools (PHPUnit, Codeception, PHP-CS-Fixer, ...)                                                                                                                                                                                                                                                                    |\n| webpack                  | Install [webpack](https://webpack.github.io/docs/) as a global package using NPM                                                                                                                                                                                                                                                      |\n| | **Services \u0026 server tools** |\n| apache2                  | Install [Apache 2 HTTP Server](https://httpd.apache.org/) with some admin tools and remove defaults hosts                                                                                                                                                                                                                             |\n| apache2-php              | Basic Apache 2 PHP Virtualhosts creation (you may need to run the \"php\" role first, depending on your configuration)                                                                                                                                                                                                                  |\n| beanstalkd               | Install [beanstalkd](http://kr.github.io/beanstalkd/) with default configuration                                                                                                                                                                                                                                                      |\n| docker                   | Install [Docker](https://www.docker.com/) and Docker compose from Docker deb repository                                                                                                                                                                                                                                               |\n| elasticsearch            | Install [Elasticsearch](http://elastic.co/) from Elastic deb repository                                                                                                                                                                                                                                                               |\n| exim                     | Install [Exim](http://www.exim.org/) and disable local delivery                                                                                                                                                                                                                                                                       |\n| fail2ban                 | Install [Fail2ban](http://www.fail2ban.org/) with default config                                                                                                                                                                                                                                                                      |\n| hhvm                     | Install [HHVM](http://hhvm.com/) from HHVM deb repository                                                                                                                                                                                                                                                                             |\n| memcached                | Install [Memcached](https://memcached.org/) with default config                                                                                                                                                                                                                                                                       |\n| mysql56                  | Install [MySQL 5.6](http://www.mysql.com/) (using 14.04 repositories on 16.04)                                                                                                                                                                                                                                                        |\n| mysql57                  | Install [MySQL 5.7](http://www.mysql.com/) **Only available on Ubuntu 16.04+**                                                                                                                                                                                                                                                        |\n| nginx                    | Install [nginx](https://nginx.org/) and remove defaults hosts                                                                                                                                                                                                                                                                         |\n| nginx-php-fpm            | Basic nginx PHP-FPM Virtualhosts creation (you may need to run the \"php\" role first, depending on your configuration)                                                                                                                                                                                                                 |\n| nodejs                   | Install [NodeJS](https://nodejs.org/en/) from Node deb repository                                                                                                                                                                                                                                                                     |\n| phantomjs                | Install [PhantomJS](http://phantomjs.org/)                                                                                                                                                                                                                                                                                            |\n| php                      | Co-Install [PHP 5.6 and 7.0](http://php.net/) from [Ondřej Surý PPA](https://launchpad.net/~ondrej/+archive/ubuntu/php), with the \"standard\" set of extensions and settings                                                                                                                                                           |\n| php-pecl                 | Install PHP PECL extensions                                                                                                                                                                                                                                                                                                           |\n| python                   | Install [Python](https://www.python.org/)                                                                                                                                                                                                                                                                                             |\n| redis                    | Install [Redis](http://redis.io/)                                                                                                                                                                                                                                                                                                     |\n| ruby                     | Install [Ruby](https://www.ruby-lang.org/) from [Brightbox PPA](https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng)                                                                                                                                                                                                             |\n| ssh                      | Install [OpenSSH Server](http://www.openssh.com/)                                                                                                                                                                                                                                                                                     |\n| | **Others** |\n| dotfiles                 | Clone my personal [dotfiles](https://github.com/Benoth/dotfiles) Git repository and their dependencies                                                                                                                                                                                                                                |\n| projects-installer       | Clone my repository [projects-installer](https://github.com/Benoth/projects-installer), used to deploy my personal and clients projects (Ansible based)                                                                                                                                                                               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenoth%2Fansible-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBenoth%2Fansible-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenoth%2Fansible-ubuntu/lists"}