From 1ae735be6d4bb1972fe303e72e1d29594865b828 Mon Sep 17 00:00:00 2001 From: Simon Baerlocher Date: Thu, 5 Mar 2020 14:59:34 +0100 Subject: [PATCH] firefox key upper --- README.md | 28 ++++++++++++++++------------ tasks/distribution/Windows.yml | 7 +++---- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index c3aeec5..bf2b58d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ansible Role: firefox -[![Build Status](https://img.shields.io/travis/itigoag/ansible.firefox.svg?branch=master&style=popout-square)](https://travis-ci.org/itigoag/ansible.firefox) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](https://sbaerlo.ch/licence) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-firefox-blue.svg?style=popout-square)](https://galaxy.ansible.com/itigoag/firefox) [![Ansible Role](https://img.shields.io/ansible/role/d/30128.svg?style=popout-square)](https://galaxy.ansible.com/itigoag/firefox) +[![Build Status](https://img.shields.io/travis/itigoag/ansible.firefox.svg?branch=master&style=popout-square)](https://travis-ci.org/itigoag/ansible.firefox) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](https://sbaerlo.ch/licence) [![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-firefox-blue.svg?style=popout-square)](https://galaxy.ansible.com/itigoag/firefox) [![Ansible Role](https://img.shields.io/ansible/role/d/30128.svg?style=popout-square)](https://galaxy.ansible.com/itigoag/firefox) ## Description @@ -22,12 +22,12 @@ sudo pip install jmespath ## Role Variables -| Variable | Default | Comments (type) | -| :--- | :--- | :--- | -| firefox_install | true | Firefox installed or not installed | -| firefox_policies | | Standart Policies | -| firefox_policies_group | | Group Policies | -| firefox_policies_host | | Host Policies | +| Variable | Default | Comments (type) | +| :--------------------- | :------ | :--------------------------------- | +| firefox_install | true | Firefox installed or not installed | +| firefox_policies | | Standart Policies | +| firefox_policies_group | | Group Policies | +| firefox_policies_host | | Host Policies | The exact configurations are Repositroy in the following: [Policy Templates](https://github.com/mozilla/policy-templates/blob/master/README.md) @@ -64,23 +64,27 @@ None ```yml - hosts: all roles: - - itigoag.firefox + - itigoag.firefox ``` ## Changelog +### 1.1.1 + +- check if firefox key upper. + ### 1.1.0 -* new default Settings +- new default Settings ### 1.0.0 -* inital commit +- inital commit ## Author -* [Simon Bärlocher](https://sbaerlocher.ch) -* [ITIGO AG](https://www.itigo.ch) +- [Simon Bärlocher](https://sbaerlocher.ch) +- [ITIGO AG](https://www.itigo.ch) ## License diff --git a/tasks/distribution/Windows.yml b/tasks/distribution/Windows.yml index effdc48..f2112db 100644 --- a/tasks/distribution/Windows.yml +++ b/tasks/distribution/Windows.yml @@ -9,7 +9,6 @@ - packages - block: - - name: install firefox win_chocolatey: name: firefox @@ -18,7 +17,7 @@ not ( string | json_query(query) ) vars: query: '[?package==`firefox`]' - string: "{{ ansible_chocolatey.packages | lower }}" + string: '{{ ansible_chocolatey.packages | lower }}' tags: - packages @@ -37,5 +36,5 @@ - configuration when: > - firefox_install and (packages is undefined or packages['firefox'] is defined) or - packages is defined and packages['firefox'] is defined + firefox_install and (packages is undefined or packages['firefox'] is defined or packages['Firefox'] is defined) or + packages is defined and packages['firefox'] is defined or packages['Firefox'] is defined