You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/examples
Sviatoslav Sydorenko e5609db342
[backport][2.9][PR #70446] Refactor Python API examples and docs (#70851)
* Add boilerplate snippet into `examples/`

It is a partial backport of #70224

(partially cherry picked from commit 4816bb4f43)

* Refactor Python API examples and docs

PR #70446: it's a follow-up for #70445.

It includes a merge of `examples/scripts/uptime.py` and a similar
code snippet from `docs/docsite/rst/dev_guide/developing_api.rst`.

This patch also changes the docs RST file to include contents of
the example file instead of holding a copy of a similar code.

(cherry picked from commit 20bb915092)
4 years ago
..
playbooks Wrong target for link? 12 years ago
scripts [backport][2.9][PR #70446] Refactor Python API examples and docs (#70851) 4 years ago
DOCUMENTATION.yml Fix some broken links (#42079) 7 years ago
ansible.cfg add vfat to selinux special_context_filesystems (#59823) 5 years ago
hosts comment examples in default hosts file 9 years ago
hosts.yaml Clearer examples of hosts.yml inventory (#57999) 6 years ago
hosts.yml linked cause people forget yaml and yml exist 8 years ago
inventory_script_schema.json draft schema for inventory scripts (#39454) 7 years ago
plugin_filters.yml Implement plugin filtering 7 years ago