/python-ansible

Example of three basic modules written for Ansible in Python

Primary LanguagePython

python-ansible

A hello world python ansible module and an example input output python ansible module, and a list example

Prequesites

  • ansible 2.5.5
  • python 2.7

Usage

$ ansible-playbook version_change.yml

$ ansible-playbook hello_world.yml

$ ansible-playbook list.yml