amtega.check_platform
Ansible check_platform Role
This role for Ansible checks if the minimum requirements for the platform are met.
Role Variables
You can find all the default variables for this role in defaults/main.yml
.
Dependencies
There are no dependencies.
Example Playbook
Here is an example of how to use this role in a playbook:
---
- hosts: all
roles:
- role: amtega.check_platform
check_platform_distributions:
centos: 6
redhat: 7
fedora: 27
check_platform_variables:
- myvar1
- myvar2
Testing
You can test this role using molecule with Docker containers.
cd amtega.check_platform
molecule test --all
License
Copyright (C) 2022 AMTEGA - Xunta de Galicia
This role is free software. You can share or modify it under the terms of:
GNU General Public License version 3, or any later version; or the European Union Public License, either Version 1.2 or any future versions approved by the European Commission.
This role is provided in the hope that it will be useful, but WITHOUT ANY WARRANTY; not even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more information, see the GNU General Public License or the European Union Public License.
Author Information
- Juan Antonio Valiño García.
ansible-galaxy install amtega.check_platform