General
PromptBeginner5 minmarkdown
Untitled Skill
193
python3 -m venv .venv
Loading actions...
Main instructions and any bundled files for this skill.
This role installs and configures vector agent https://vector.dev/
See requirements.txt
See defaults
None
- hosts: all
roles:
- role: ansible-role-vector
vector_configure_sources:
{ vector sources dict }
vector_configure_sinks:
{ vector sinks dict }
Install requirements using virtualenv:
# Create and activate virtualenv
python3 -m venv .venv
sournce ./.venv/bin/activate
# Install requirements inside of virtualenv
python3 -m pip install -r requirements.txt
Test on Ubuntu 18.04 with vagrant
molecule test
Test on CentOS 7 with docker
molecule test --scenario-name docker
| Target | Description |
|---|---|
| install_ansible_venv | install ansible into local .venv using python3 -m venv |
| install_ansible_virtualenv | install ansible into local .venv using virtualenv |
| molecule_init_scenario | create scenario named MOLECULE_SCENARIO?=default using driver MOLECULE_DRIVER?=vagrant and role name MOLECULE_ROLE_NAME?=<current directory basename> |
| molecule_static_analyse | execute molecule lint and molecule syntax |
| molecule_create | create molecule instances via molecule create |
| molecule_verify | apply playbook to existent instance and run tests (converge and verify) |
| molecule_test | run molecule test complex testing |
| molecule_destroy | force destroy instances molecule destroy -f |
MIT
Aleksey Koloskov aka vscoder
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
risks