Skip to content

oriolrius/programming-ansible-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples

Two examples describing how to use Ansible programmatically in Python.

  • test_modules.py : set up the environment to run an Ansible module
  • test_playbook.py: creates an inventory and loads a .yml file with a playbook, then runs the playbook and shows the results like Ansible-playbook CLI tool

Other files:

  • ansible.cfg : just a basic Ansible configuration file
  • test.yml : simple playbook

About

Some basic examples about how to program using Ansible libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages