Skip to content

Instantly share code, notes, and snippets.

View colynn's full-sized avatar
🎯
Focusing

Yuan.Liu colynn

🎯
Focusing
View GitHub Profile
#!/usr/bin/python3
import logging, sys
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
from collections import namedtuple
from ansible.parsing.dataloader import DataLoader
from ansible.vars import VariableManager
from ansible.inventory import Inventory
from ansible.playbook.play import Play