Skip to content

F-PMOR/ansible_collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Collection - f_pmor.assertions

A reusable collection of assertions roles.

This collection provide :

  • f_pmor.assertions/var_exist_not_null - assertions on vars to check if a var (or list of vars) are well defined and are not null.
  • f_pmor.assertions/hashi_kv2_test_connect - assertions to check if the connexion to and hashicorps vault (v2) is passed with success or not.
  • f_pmor.assertions/ping_icmp - assertions to check if the target host response to icmp ping (network classique ping not the ssh ping used by ansible ping command.)

requirements

  • To use ping assertions, you need ansible > 2.9 and package below installed in order to use JC .
role : f_pmor.assertions/x requirements deb package name ansible collection
ping_icmp ping bash command iputils-ping community.general
json convert jc
hashi_kv2_test_connect community.hashi_vault

installing the collection

Install this collection locally:

ansible-galaxy collection install f_pmor.assertions -p /path/to/collections

Then you can use the roles from the collection in your playbooks.

using

please, have a look in the readme of each role.

Other collection of assertions

Another assertions collection is available in ansible galaxy, so the assertions that ever exist in the 'marcwrobel' collection will not be reimplemented in this collection.

Documentation for the collection.

Comments

this is my first collections, so update will be available quicky with news roles and updates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published