Skip to content

Commit

Permalink
firefox key upper
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaerlocher committed Mar 5, 2020
1 parent 2f4fddc commit 1ae735b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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)

Expand Down Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions tasks/distribution/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- packages

- block:

- name: install firefox
win_chocolatey:
name: firefox
Expand All @@ -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

Expand All @@ -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

0 comments on commit 1ae735b

Please sign in to comment.