Skip to content

ramunakerikanti/my-ansible-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

my-ansible-modules

This project writing custome ansible modules

Method1:

--> Execute custome module on local machine

git clone ansible from github

```git clone https://github.com/ansible/ansible.git```


```source ansible/hacking/env-setup```
 
```ansible/hacking/test-module -m my-playbook/library/can_reach.py -a 'host=192.168.122.50 port=22 timeout=1'```

Method2:

---> create playbook directory in which you are going to create playbooks and python modules

 create library directory
 
 keep all your modules in library directory

````ansible-plabook playbook.yml library/can_reach.py```` 

About

This is project about custome ansible python modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages