Commit Graph

373 Commits (a48c4422759605a95e74d0a7e8456ad35f72caa8)

Author SHA1 Message Date
James Cammarata e64989beb4 Moving ConnectionInformation -> PlayContext
Also making PlayContext a child class of the Playbook Base class,
which gives it access to all of the FieldAttribute code to ensure
field values are correctly typed after post_validation

Fixes #11381
11 years ago
James Cammarata 271a7f3281 Cleaning up some of the notify/facts logic added earlier to fix problems 11 years ago
James Cammarata 5abdd3b821 Handle notifications when coupled with a loop
Fixes #11606
11 years ago
Brian Coca c603caca27 removed extra print now that items are getting passed to callback in result 11 years ago
James Cammarata ba7243c5f9 Don't set changed for include tasks
Fixes #11197
11 years ago
James Cammarata a9712bb0fb Fixing some delegate_to bugs
* Moving connection creation until after the task is post_validated,
  to make sure all fields are properly templated (#11230)
* Fixing problems related to the connection method and remote address
  lookup on the delegated-to host

Fixes #11230
11 years ago
Brian Coca 50efeb13ba made squashable with_ plugin list configurable
partially deals with #11383
11 years ago
James Cammarata 9155af20e3 Make sure vars in debug tasks aren't templated too early
If the syntax var={{something}} is used, that can be templated too
early in the post_validation, leading the debug module to fail when it
tries to template the same value in turn.
11 years ago
James Cammarata 31239f44cd Show failed result on a retry message
Fixes #10099
11 years ago
Benno Joy 4889d04fc6 fixes 11448 , yum with with_items 11 years ago
Matt Martz 65fdcf8b9d Check for name or pkg when templating squashed items. Fixes #11430 11 years ago
James Cammarata b723f9a09a Allow squashed loop items to use name=foo-{{item}}
Fixes #9235
Fixes #11184
11 years ago
Toshio Kuratomi c346788194 Slight optimization of how we squash loops. Add dnf to the list of modules for which we squash.
Fixes #11235
11 years ago
Matt Martz 9754c67138 Use a decorator to ensure jit connection, instead of an explicit call to _connect 11 years ago
Patrick McConnell a899f8f016 Fix for task_executor on OS X
I get this exception during the setup task:

AttributeError: 'ConnectionInformation' object has no attribute 'remote_pass'

I believe it is supposed to be looking at the password attribute. Either that
or we should create a remote_pass attribute in ConnectionInformation.
11 years ago
Matt Martz 1b48111b12 If remote_addr isn't set, set to ipv4_address 11 years ago
James Cammarata 7a617e7b93 Merge pull request #11131 from sivel/issue/11130
Don't override ansible_ssh_host with inventory_hostname
11 years ago
Matt Martz 697a1a4061 Don't override ansible_ssh_host with inventory_hostname 11 years ago
James Cammarata d1b4371287 Correctly evaluate changed/failed for tasks using loops 11 years ago
James Cammarata 361eb29146 Also make task_executor connect explicitly (v2) 11 years ago
James Cammarata d34b586eb6 Add ability for connection plugins to set attributes based on host variables (v2) 11 years ago
James Cammarata 803fb397f3 Fixing filter plugins directory from switch 11 years ago
James Cammarata ce3ef7f4c1 Making the switch to v2 11 years ago