Code Monkey home page Code Monkey logo

ansible-role-googlechrome's Introduction

build-test release Ansible Role Ansible Role Ansible Quality Score Quality Gate Status Maintainability Rating Reliability Rating Security Rating GitHub tag (latest SemVer) GitHub repo size

Ansible Role: googlechrome

Role to install (by default) google-chrome-stable package for Debian based and EL based systems or uninstall (if passed as var) on Debian based and EL based systems.

Requirements

None.

Role Variables

Available variables are listed below (located in defaults/main.yml):

Variables list:

googlechrome_app: google-chrome-stabl
googlechrome_desired_state: present
googlechrome_gpg_key: https://dl.google.com/linux/linux_signing_key.pub
googlechrome_repo_desired_state: present
googlechrome_repo_debian: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
googlechrome_repo_debian_filename: google-chrome
googlechrome_repo_el: http://dl.google.com/linux/chrome/rpm/stable/x86_64
googlechrome_repo_el_name: google-chrome
googlechrome_repo_el_description: google-chrome
googlechrome_repo_el_gpgcheck: yes
googlechrome_repo_el_enabled: yes
googlechrome_repo_el_filename: google-chrome

Variables table:

Variable Description
googlechrome_app Defines the app to install i.e. google-chrome-stable
googlechrome_desired_state Defined to dynamically set whether to install (i.e. either present or latest) or uninstall (i.e. absent) the package. Defaults to present
googlechrome_gpg_key GPG key for Google Chrome
googlechrome_repo_desired_state State for repo to download Google Chrome from. Can either be 'present' or 'absent'.
googlechrome_repo_debian Google Chrome's repo link for Debian based systems.
googlechrome_repo_debian_filename Name of file to save for googlechrome's repo in /etc/apt/sources.list.d/
googlechrome_repo_el Google Chrome's repo link for EL based systems.
googlechrome_repo_el_name Google Chrome repo name for EL based systems.
googlechrome_repo_el_description Description for Google Chrome's repo for EL based systems.
googlechrome_repo_el_gpgcheck Boolean operation for performing gpg check against gpg key. Can either be yes or no.
googlechrome_repo_el_enabled Boolean operation for setting repository to enabled or disabled. Can either be yes or no.
googlechrome_repo_el_filename Name of file to save for googlechrome's repo in /etc/yum.repos.d/

Dependencies

None

Example Playbook

For default behaviour of role (i.e. installation of google-chrome-stable package) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.googlechrome

For customizing behavior of role (i.e. installation of latest google-chrome-stable package) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.googlechrome
  vars:
    googlechrome_desired_state: latest

For customizing behavior of role (i.e. un-installation of google-chrome-stable package) in ansible playbooks.

- hosts: servers
  roles:
    - darkwizard242.googlechrome
  vars:
    googlechrome_desired_state: absent

License

MIT

Author Information

This role was created by Ali Muhammad.

ansible-role-googlechrome's People

Contributors

darkwizard242 avatar piurafunk avatar anon8675309 avatar

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.