- 1. index
- 2. isam-ansible
- 3. OS
- 4. Overview
- 5. Pre-Requisites
- 6. Run
- 7. Usage
- 8. Usage:
- 9. edit inventories files
- 10. run
- 11. Orginal sample from isam-ansible-playbook-sample:
- 12. Callback plugin:
https://hub.docker.com/r/mludocker/isam-ansible/dockerfile
This will install and config the centos machine for the use of ansible and IBM tools
- CentOS 7 Supported
- CentOS 8 Supported
This script is built on top of CentOS 7, it will install the Ansible and the ISAM Python module, ISAM Ansible module, and ISAM Ansible Roles.
The goal is to allow a user to run ISAM Ansible playbook quickly.
You need to have a installed CentOS 7 machine.
Download:
git clone https://github.com/CoolZeroNL/isam-ansible.git
cd isam-ansible
./00-run.sh
inventories/
└── test
├── group_vars
│ ├── all
│ │ ├── vars.yml
│ │ └── vault.yml
│ └── boulder.yml
├── hosts
└── host_vars
├── 192.168.198.144
│ ├── vars.yml
│ └── vault.yml
├── 192.168.198.145
│ ├── vars.yml
│ └── vault.yml
└── 192.168.198.153
├── vars.yml
└── vault.yml
or Clone Private Inventories
cd ~
git clone https://github.com/CoolZeroNL/isam-ansible-inventories.git
edit the vars.yml and vault.yml files
cd ~/isam-ansible-playbook-sample
ansible-playbook -i ../isam-ansible-inventories/inventories/local base/activate_modules.yml
cd ~/isam-ansible-playbook-sample
ansible-playbook -i inventories/test base/activate_modules.yml
This is the debug plugin from ansible, just added field log
to the key to parse the content.
For each Failed line this plugin will check if there is headers are
, input data
, text
in line. If so, this line will be a other color.