1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Go to file
Seth Foster e1e7e9047d
Fix filtering azure inventory based on user-specified tags
Users can specify a list of keys, or a list of key:value pairs under
source variables. e.g. tags: Creator, peanutbutter or tags:
Creator:jmarshall, peanutbutter:jelly. If provided, only hosts that have
all keys or key:value pairs in the list will be returned.

inventory.py sets up the azure_rm.yml that provides
exclude_host_filters. This code adds a line for each key in the list, as
well as an additional line in the case of a key:value pair.

e.g.

exclude_host_filters:
- "'Creator' not in tags.keys()"
- tags['Creator'] != 'jmarshall'

Each line is a conditional, and if any conditionals is true, then the
host is filtered out.

fix for issue # 5044
2019-11-15 14:18:20 -05:00
.github remove COMPONENT NAME from our issue templates 2019-04-09 12:49:11 -04:00
awx Fix filtering azure inventory based on user-specified tags 2019-11-15 14:18:20 -05:00
awx_collection Merge pull request #5195 from AlanCoding/job_fail_json 2019-10-31 17:53:53 +00:00
awxkit fix broken sphinx docs build 2019-11-04 09:32:04 -05:00
config Implement alternate ports for nginx 2017-01-23 14:34:15 -05:00
docs Update custom_virtualenvs.md 2019-11-11 11:05:16 -08:00
installer ensure "create_preload_data" is honored in docker-compose deployments 2019-11-12 10:44:27 -05:00
requirements update pytz to the latest version 2019-11-05 13:53:28 -05:00
tools Merge pull request #5192 from shanemcd/local-projects 2019-11-07 07:35:45 -05:00
.coveragerc fixing ad_hoc imports 2016-02-01 18:37:56 -05:00
.dockerignore Use tower_devel as base image for unit tests 2016-11-11 15:47:17 -05:00
.env Updated docker tags in container setup 2019-06-05 15:10:06 -04:00
.gitignore Ignore import errors due to bugs in Ansible core 2019-10-29 11:24:16 -04:00
API_STANDARDS.md Start of guidelines around API development. 2014-06-17 13:52:57 -05:00
CONTRIBUTING.md change the default port range for the sdb debugging tool 2019-09-13 11:55:43 -04:00
DATA_MIGRATION.md tower-cli config: host value needs to be URL 2018-12-13 11:52:56 +01:00
DCO_1_1.md Updates CONTRIBUTING and README 2017-08-29 21:18:56 -04:00
INSTALL.md Update required Ansible version to 2.8+ 2019-11-03 19:03:40 +01:00
ISSUES.md Merge pull request #10 from wwitzel3/botdoc 2017-09-12 14:07:18 -04:00
LICENSE.md Rename LICENSE to LICENSE.md 2017-08-22 14:34:25 -04:00
Makefile Remove venv symlink hack no longer needed 2019-11-01 09:46:27 -04:00
manage.py fixed copyright date 2015-06-11 16:10:23 -04:00
MANIFEST.in Fix the way we include i18n files in sdist 2017-10-06 11:57:08 -04:00
pytest.ini Basic License feature gating changes 2019-04-12 11:28:27 -04:00
README.md some minor README updates 2018-10-11 16:05:29 -04:00
setup.cfg update references to collection folder 2019-09-27 14:29:04 -04:00
setup.py add plugin for cyberark aim 2019-04-02 11:23:20 -04:00
VERSION Bump version to 9.0.1 2019-11-04 11:20:42 -05:00

Gated by Zuul

AWX

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is the upstream project for Tower, a commercial derivative of AWX.

To install AWX, please view the Install guide.

To learn more about using AWX, and Tower, view the Tower docs site.

The AWX Project Frequently Asked Questions can be found here.

The AWX logos and branding assets are covered by our trademark guidelines.

Contributing

  • Refer to the Contributing guide to get started developing, testing, and building AWX.
  • All code submissions are done through pull requests against the devel branch.
  • All contributors must use git commit --signoff for any commit to be merged, and agree that usage of --signoff constitutes agreement with the terms of DCO 1.1
  • Take care to make sure no merge commits are in the submission, and use git rebase vs git merge for this reason.
  • If submitting a large code change, it's a good idea to join the #ansible-awx channel on irc.freenode.net, and talk about what you would like to do or add first. This not only helps everyone know what's going on, it also helps save time and effort, if the community decides some changes are needed.

Reporting Issues

If you're experiencing a problem that you feel is a bug in AWX, or have ideas for how to improve AWX, we encourage you to open an issue, and share your feedback. But before opening a new issue, we ask that you please take a look at our Issues guide.

Code of Conduct

We ask all of our community members and contributors to adhere to the Ansible code of conduct. If you have questions, or need assistance, please reach out to our community team at codeofconduct@ansible.com

Get Involved

We welcome your feedback and ideas. Here's how to reach us with feedback and questions:

  • Join the #ansible-awx channel on irc.freenode.net
  • Join the mailing list

License

Apache v2