Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/flexible dependency specification #3

Open
wants to merge 4,644 commits into
base: stable-1.9
Choose a base branch
from

Conversation

javiplx
Copy link

@javiplx javiplx commented Mar 10, 2016

Issue Type:
  • Feature Pull Request
  • New Module Pull Request
  • Bugfix Pull Request
  • Docs Pull Request
Ansible Version:
<!--- Paste verbatim output from “ansible --version” here -->
Summary:
Example output:
<!-- Paste verbatim command output here if necessary -->

jimi-c and others added 30 commits January 22, 2016 12:54
The dep chain for roles created during the compile step had bugs, in
which the dep chain was overwriten and the original tasks in the role
were not assigned a dep chain. This lead to problems in determining
whether roles had already run when in a "diamond" structure, and in
some cases roles were not correctly getting variables from parents.

Fixes ansible#14046
Fix server numbers in first 10 next 10 example
Role definitions typically require params to be different from those
which are specified as FieldAttributes on the playbook classes used
for roles, however a certain subset should be allowed (typically those
used for connection stuff).

Fixes ansible#14095
Fixes documentation formatting
Fixes a bug inroduced in fb797a9 where included tasks in a role
were not being executed because the child blocks had no dep chain
set.
pkg_add has been obsoleted in all released versions of FreeBSD for
several years.  Change the example to use the appropriate pkg(8)
command line.
Change example to use pkg rather than the obsolete pkg_add
Fixes documentation formatting
Note "ssh" deprecation for inventory variables
it is now called for every event prior to any other callbacks
fixes ansible#14114
also removed cruft about localhost as if used it is specified inline
fixes ansible#13848
Patch to remove dependency on boto when only using boto3
* In 2.0.0.x become was reversed for synchronize. It was happening on
  the local machine instead of the remote machine. This restores the
  ansible-1.9.x behaviour of doing become on the remote machine.
  However, there's aspects of this that are hacky (no hackier than
  ansible-1.9 but not using 2.0 features).  The big problem is that it
  does not understand any become method except sudo.  I'm willing to use
  a partial fix now because we don't want people to get used to the
  reversed semantics in their playbooks.
* synchronize copying to the wrong host when inventory_hostname is
  localhost
* Fix problem with unicode arguments (first seen as a bug on synchronize)

Fixes ansible#14041
Fixes ansible#13825
…h a raw native string that we make unicode in py2.
…eversed

synchronize: First cut at not doing sudo on the control machine but on the remote machine instead.
So far, when a 'diff' dict is returned with module results, it is
checked for 'before' and 'after' texts, which are processed in
_get_diff() by python difflib.  This generates the changes to display
when CLI users specify --diff.

However, some modules will generate changes that cannot easily be
expressed in a conventional diff. One example is the output of the
synchronize module, which presents changed files in a common log format
as in `rsync --itemize-changes`.

Add a check for a diff['prepared'] key, which can contain prepared diff text
from modules.
Handle the key 'custom' in the 'diff' result from modules
Adding support for scm-based role source urls (ansible-galaxy)
bcoca and others added 27 commits February 11, 2016 22:25
functions same, just keeping names from confusing people
Linode Dynamic Inventory: Add public IP's as hostvars
…sing_exception

Display the string which is causing an exception to be raised.
remove brackets on links
moved to base class for shell plugins
* Make sure dep chains are checked recursively for nested blocks
* Fixing iterator is_failed() check to make sure we're not in a
  rescue block before returning True
* Use is_failed() to test whether a host should be added to the TQM
  failed_hosts list
* Use is_failed() when compiling the list of hosts left to iterate
  over in both the linear and free strategies

Fixes ansible#14222
Initial roadmap to be published.  2.1 release
This adds a new action plugin iosxr_template that allows the
iosxr_template module to pass network device configurations through the
template engine.  It also allows configurations to be backed up.
* Fix the way task_include fields were created and copied
* Have blocks get_dep_chain() look at task_include's blocks for proper
  dep chain inheritance
* Fix the way task_include fields are copied to prevent a recursive
  degradation

Fixes ansible#14460
this should simplify api calls
also adopted to less requried options
When working around "bad systems that insist on not allowing
updates in an atomic manner", we should not run previous exception
management code that tries to perform atomic move in case of
exception since the dirty non atomic move has already been
performed.
document exit status for ansible-playbook
try to copy into place first
@javiplx javiplx force-pushed the feature/flexible_dependency_specification branch 3 times, most recently from 2da5a34 to 5da8e22 Compare March 12, 2016 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.