mirror of
https://github.com/ansible/ansible.git
synced 2026-07-28 08:05:22 +02:00
* Deconstruct AGENTS.md to context dir * Split guidelines applicable to both humans and agents to top-level `context` dir. * Instruct agents to read all context files for now- piecemeal/just-in-time context ingestion has been spotty and problematic to date. Co-authored-by: Matt Clay <matt@mystile.com> Assisted-by: Claude * update package-data sanity to ignore context * markdown line length sanity * Ignore context dir in change detection * Remove core plugin deprecation instructions * Inconsistent with published docs and docsite behavior- resolve those first. --------- Co-authored-by: Matt Clay <matt@mystile.com>
29 lines
658 B
Markdown
29 lines
658 B
Markdown
# Development environment setup
|
|
|
|
ansible-core and all CLIs (including ansible-test) require a POSIX OS.
|
|
On Windows, use WSL (Windows Subsystem for Linux).
|
|
|
|
## Editable install
|
|
|
|
Ansible development typically uses an editable installation after forking and cloning:
|
|
|
|
```bash
|
|
pip install -e .
|
|
```
|
|
|
|
## Hacking script
|
|
|
|
An alternative to an editable installation is to source the `hacking/env-setup` script:
|
|
|
|
```bash
|
|
source hacking/env-setup
|
|
```
|
|
|
|
## Running tests without installation
|
|
|
|
If you only need to run tests, you can invoke `ansible-test` directly without installing or sourcing the hacking script:
|
|
|
|
```bash
|
|
bin/ansible-test sanity -v --docker default
|
|
```
|