Giter VIP home page Giter VIP logo

ansible-role-gnome's Introduction

Ansible GNOME Role - ansible-role-gnome

Ansible role that manages a GNOME installation and associated services.

This will install a full GNOME desktop, using the Gnome Shell. The packages used for this are all customizable.

Additional things this role will do:

  • Enable the Gnome Display Manager.
  • Set default dconf values for all users.
  • Install and enable gnome shell extensions.

Requirements

This role was developed and tested on Ansible 2.2.0 and higher. It may work on lower versions but that is currently unsupported.

Currently Arch Linux is a requirement although it may become more generic in the future.

Role Variables

Name Type Default Choices Description
gnome_aur_helper string pacaur / yaourt AUR helper utility to use with "Arch Linux Updates Indicator" (if installed).
gnome_input_sources list ['xkb','se'] Input source, or keyboard layout that Gnome will use. This is a list within a list.
gnome_packages list (big list of packages) Packages that will form the basis of the Gnome desktop.
# A list of dictionaries is used to define what extensions to install
# and for which users it should be enabled.
gnome_shell_extensions:
  - id: '1010'
    users: ['username']

Dependencies

None

Example Playbook

Set the keyboard layout to us by default, while leaving se enabled.

- hosts: all
  roles:
    - role: AsavarTzeth.gnome
      gnome_input_sources:
        - ['xkb','us']
        - ['xkb','se']

Use all core gnome packages and nothing else. Note that meta package names vary between distributions.

- hosts: all
  roles:
    - role: AsavarTzeth.gnome
      gnome_packages: ['gnome']

Install the Arch Linux Updates Indicator extension and use pacaur to enable updates for AUR packages. Changes will be limited to the foobar user.

- hosts: all
  roles:
    - role: AsavarTzeth.gnome
      gnome_aur_helper: pacaur
      gnome_shell_extensions:
        - id: '1010'
          users: ['foobar']

License

BSD-2-Clause

Author Information

Patrik Nilsson

ansible-role-gnome's People

Contributors

asavartzeth avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bossjones

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.