...
Basic | ||||||||
---|---|---|---|---|---|---|---|---|
hosts file |
| |||||||
ping | ansible vpls -m ping -u ocnos -k | |||||||
ansible-galaxy | create a directory architecture | |||||||
vpls is the name of the project | ansible-galaxy init vpls tree vpls
| |||||||
important files | tasks/main.yml templates/ (jinja2 files ) tests/inventory | |||||||
https://docs.ipinfusion.com/service-provider/#page/OcNOS-SP/Ansible-Overview.html#ww519239 | ||||||||
ansible --version
| ||||||||
install ocnos module | /bin/python3 -m pip install --upgrade pip pip list | |||||||