Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 546 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 546 Bytes

ansible

My ansible playbooks

setup python environment

  • install dependencies
    • Ubuntu: sudo apt install build-essential libssl-dev libffi-dev libbz2-dev libncurses-dev libsqlite3-dev python3-tk liblzma-dev
  • install poetry
  • run poetry install --sync to ansible and related dev dependencies

Then, run poetry shell for interactive environment or run poetry run ansible-playbook ... for executing command.

required modules

Run ansible-galaxy install -r requirements.yml to install modules.