Fedora Project

Write a custom Ansible module to perform a task

Ansible has a lot of small modules and one can use them to perform small objectives. The student here needs to write a custom module that will serve a small purpose. It can basically do anything that helps them do some task. Research: Not reinventing the wheel, just for learning purpose. Basic modules like copying a file, changing permissions etc, are small and doable from a new contributor. This is just for learning purpose.

Goal

To write a module that can be used in ansible

Suggested approach

  • Figure out a small goal
  • Understand how ansible works and how it handles modules
  • Find blogs that cover ansible module writing
  • come up with a $operation.py module

Deliverables

Put the module in a github repo and share the link with the mentor (vipul@redhat.com)

Task tags

  • ansible
  • infra
  • automation

Students who completed this task

Arash, w0LF07, nishantparhi, ShadyCake, MatteCatte, Zachzhao

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • done_all Quality Assurance
close

2018