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.
 
 
 
 
 
Go to file
Willem van Ketwich 93a689958e [cloud] add summary feature and refactor AWS cloudfront_facts module (#20791)
* initial commit of cloudfront_facts.py

* modification as per review from @georgepsarakis

* fixed shippable build error

* fixed shippable build error

* removed wildcard imports and replaced with specific imports from ansible.module_utils.ec2 as advised by @georgepsarakis

* renamed all instances of cloud_front_origin_access_identity to origin_access_identity as advised by @georgepsarakis

* show facts based on alias and distribution id for easy referencing as advised by @ryansb. have done for both distribution and distribution_config

* fixed incorrect logic for default list_distributions, fixed list_distributions_by_web_acl - wasn't passing web_acl_id, fixed list_invalidations keyword args missing DistributionId

* fixed last fact added clobbering all previous facts for an alias or an id

* removed list_ prefix from list keys

* removed unnecessary boto fields. made list_distributions and list_streaming_distributions dictionaries with id/alias as key. fixed list_invalidations.

* initial commit of cloudfront_facts summary

* checks for empty list returned from boto, standardised list naming

* neatened up parameters

* added summary documentation

* refactoring of functions for modularity

* refactoring, neatening code, fix for if cname not present, added try-catch blocks

* more refactoring, cleaning

* more cleaning, allowed streaming distributions to be found by domain name alias

* removed unnecessary line

* fixed tabs

* fixed indentation

* removed trailing whitespace

* removed more whitespace

* more refactoring, modified where invalidations dict is set

* added ETag to summary

* refactored summary list

* moved list out of for loop

* trailing white space

* reverted line lengthening as advised by @willthames

* modified exceptions to multi line as advised by @willthames

* reverted variable spacing to be more pythonic'

* reverted spacing in YAML as advised by @ryansb

* reverted line spacing for parameters for correct blame attribution as advised by @ryansb

* removed white space

* more white space

* reverted line spacings for parameters as advised by @ryansb

* removed spaces between parameters as advised by @ryansb
9 years ago
.github Remove the hint to report module issue elsewhere. 9 years ago
bin updates the code path for network modules (#21193) 9 years ago
contrib Update nsot.py (#19421) 9 years ago
docs removed empty shell block (#21309) 9 years ago
examples fix ambiguous cert selection in WinRM enable script (#21263) 9 years ago
hacking Legacy pep8 clean fixes for contrib and hacking (#21081) 9 years ago
lib/ansible [cloud] add summary feature and refactor AWS cloudfront_facts module (#20791) 9 years ago
packaging Updating packaging releases 9 years ago
test updates netconf to use persistent socket (#21307) 9 years ago
ticket_stubs Remove obsolete ticket stubs. 9 years ago
.coveragerc Update coverage exclusions. (#18675) 9 years ago
.gitattributes updated changelog with 1.8.2-4 content, added .gitattributes 11 years ago
.gitignore Enable more `ios` tests on Shippable. 9 years ago
.gitmodules Code cleanup. 9 years ago
.mailmap Add new mailmap entry for @willthames 9 years ago
.yamllint Lint YAML files under test/ 9 years ago
CHANGELOG.md New module: nsupdate (#21099) 9 years ago
CODING_GUIDELINES.md Migrate basestring to a python3 compatible type (#17199) 9 years ago
CONTRIBUTING.md Update CONTRIBUTING.md with more recent developments 10 years ago
COPYING license file should be in source tree 14 years ago
MANIFEST.in include all docs and tests in the sdist (#20004) 9 years ago
MODULE_GUIDELINES.md Move GUIDELINES.md from modules repo (#19313) 9 years ago
Makefile Update Makefile to use ansible-test for pep8. 9 years ago
README.md Remove obsolete files and instructions. (#19079) 9 years ago
RELEASES.txt brought releases up to date 9 years ago
ROADMAP.rst Update ROADMAP (#20002) 9 years ago
VERSION Bumping devel version to 2.3.0 9 years ago
ansible-core-sitemap.xml Remove remnants of obsolete fireball mode. 9 years ago
setup.py Legacy pep8 updates for setup.py and tests 9 years ago
shippable.yml Disable Network integration tests (#21273) 9 years ago
tox.ini Update tox.ini to match current standards 9 years ago

README.md

PyPI version Build Status

Ansible

Ansible is a radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers.

Read the documentation and more at https://ansible.com/

Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release.

You can find instructions here for a variety of platforms.

If you want to download a tarball of a release, go to releases.ansible.com, though most users use yum (using the EPEL instructions linked above), apt (using the PPA instructions linked above), or pip install ansible.

Design Principles

  • Have a dead simple setup process and a minimal learning curve
  • Manage machines very quickly and in parallel
  • Avoid custom-agents and additional open ports, be agentless by leveraging the existing SSH daemon
  • Describe infrastructure in a language that is both machine and human friendly
  • Focus on security and easy auditability/review/rewriting of content
  • Manage new remote machines instantly, without bootstrapping any software
  • Allow module development in any dynamic language, not just Python
  • Be usable as non-root
  • Be the easiest IT automation system to use, ever.

Get Involved

  • Read Community Information for all kinds of ways to contribute to and interact with the project, including mailing list information and how to submit bug reports and code to Ansible.
  • All code submissions are done through pull requests. 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 (other than modules), it's probably a good idea to join ansible-devel and talk about what you would like to do or add first and to avoid duplicate efforts. This not only helps everyone know what's going on, it also helps save time and effort if we decide some changes are needed.
  • Users list: ansible-project
  • Development list: ansible-devel
  • Announcement list: ansible-announce - read only
  • irc.freenode.net: #ansible

Branch Info

  • Releases are named after Led Zeppelin songs. (Releases prior to 2.0 were named after Van Halen songs.)
  • The devel branch corresponds to the release actively under development.
  • For releases 1.8 - 2.2, modules are kept in different repos, you'll want to follow core and extras
  • Various release-X.Y branches exist for previous releases.
  • We'd love to have your contributions, read Community Information for notes on how to get started.

Authors

Ansible was created by Michael DeHaan (michael.dehaan/gmail/com) and has contributions from over 1000 users (and growing). Thanks everyone!

Ansible is sponsored by Ansible, Inc

Licence

GNU Click on the Link to see the full text.