3 месяца назад
История
README.md
202 Module Development
With this lab you will gain the skills in the Ansible module development process.
The module called my_module
must accept some control messages and do the specified actions.
To quickly check how this lab works, do the following:
-
Send a message without any requirements:
python3 library/my_module.py input/input.yml
-
Send a message that requires some changes to be made:
python3 library/my_module.py input/input_new.yml
-
Simulate a failure:
python3 library/my_module.py input/fail_me.yml
-
Run the playbook:
ansible-navigator run playbook.yml -i inventory.yml -m stdout
-
Get the module description:
ansible-navigator doc my_module
Описание
Practical walk-through of an Ansible module development process.
Конвейеры
0 успешных
0 с ошибкой