Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jonsible.filter_plugins

Build Status Galaxy

Role to include custom filter plugins

Requirements

None.

Role Variables

Default usage

Add this role into your meta/main.yml to use it with your role :

  dependencies:
    - jonsible.filter_plugins

You can then use these filters :

def dict_filter_keys(_dict, _regex): # Selects keys in _dict matching regexes in _regex (list)
def dict_strip_keys(_dict, _regex):  # Strips keys in _dict matching regexes _regex (list)
def dict_merge(_ldict, _rdict):      # Merges right dict into left dict

If you want to adapt this to your needs look at the Advanced usage section.

Advanced usage

For more advanced usage the following variables are available:

# see defaults/main.yml

Dependencies

None

Example Playbook

Install filters with the default settings

- hosts: all
  roles:
     - role: jonsible.filter_plugins

License

GPL-3.0-or-later

Author Information

This role was created in 2020 by [Jonathan Scherrer].

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages