summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* keep unsafe .. unsafe (#23742)Brian Coca2017-04-216-69/+92
| | | | | | | | | | | | | * keep unsafe .. unsafe fixes #23734, which was broken in previous fix that allowed non string types to be templated use new 'is_template' function vs bastardizing others refactored clean_data to allow for arbitrary data structures to clean fixed/removed some tests * deal with complex data for is_template * typos
* Add a new filter: strftime. Use the well known function to format a date ↵Brian Coca2017-04-212-1/+33
| | | | | | output. (#23832) (cherry picked from commit 3f5b304fc28b6c34df9ea6a4c3531dc422ce198b) rebased for @yannig
* Remove catch-all regex on IOS terminal plugin (#23858)Ricardo Carrillo Cruz2017-04-211-1/+1
| | | | | | | | | | We have a list of specific messages that we scree-scrape and flag them as legit errors. However, we also have a catch-all regex that matches everything starting with %. That can cause issues on commands that return lines with that character, like for example the 'crypto key generate'. Fixes #23770
* Fix display argument defualt value (#23859)Ganesh Nalawade2017-04-211-2/+4
|
* Add junos_command module unit test (#23819)Ganesh Nalawade2017-04-216-0/+297
| | | | * Add junos_command module unit test
* Fix --force for unversionned requirements (#23391)Michael Scherer2017-04-211-2/+3
| | | | | | | | | | | In current stable (2.2), ansible galaxy install --force do erase a role, even if the version is not set. This commit should restore that specific behavior, in accordance to people reports: https://github.com/ansible/ansible/issues/11266#issuecomment-273801480 It was also the behavior planned in the initial discussion: "if you're not fixing versions in your roles file, then it's fine to expect that the role will be reinstalled each time you run ansible-galaxy install.", cf https://github.com/ansible/ansible/pull/12904
* Add assertion on test_iosxr_facts (#23852)Ricardo Carrillo Cruz2017-04-211-0/+2
| | | | We hit bug #23737 due to bad coverage on test_iosxr_facts, we were not checking memory facts at all.
* Fix the iosxr_facts mem gathering (#23850)Ricardo Carrillo Cruz2017-04-211-3/+3
| | | | | | We were not calling match.group, plus we were lacking a ':' from the expected output of 'show memory summary'. Fixes #23737
* Add eos_user module to users parameter (#23847)Trishna Guha2017-04-211-5/+6
| | | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add doc for display argument of junos_command (#23804)Ganesh Nalawade2017-04-211-0/+10
|
* async+script: add integration test (#23818)Guillaume Coré2017-04-211-0/+14
| | | see #23729
* template hostvars for set_host_overrides (#23839)Matt Davis2017-04-201-5/+7
| | | | * fixes #23586 * temporary solution until connection-specific vars are handled by play_context
* less codeBrian Coca2017-04-201-6/+3
| | | | (cherry picked from commit 20d9f79a5250e764ffeddb046aeb82b7824ed952)
* Revert "fixes play context connection user (#21776)" (#23830)Brian Coca2017-04-201-9/+3
| | | | | | | | | | | * Revert "fixes play context connection user (#21776)" This reverts commit 58ee661437f123fdd8cf516bac053fe593910ced. fixes #23530 * preserve original in copy updated comment to clarify wtf is going on here
* Use regex variable in eos_user.py (#23797)Abhijeet Kasurde2017-04-201-1/+1
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* improve exception handling (#23722)Sloane Hertel2017-04-202-16/+18
| | | make pep8
* route53_facts: add example for how to use next_marker option - fixes #23625 ↵Sloane Hertel2017-04-202-5/+16
| | | | | | | | (#23802) * Add example for using route53 next_marker option * make route53_facts pep8 and remove from legacy files
* Eos port default values (#23829)Nathaniel Case2017-04-202-8/+8
| | | | | | | | * Hook port back up for eos cli transport * The default values have moved * Why not have conditional defaults?
* also skip polling when async failedBrian Coca2017-04-201-1/+1
|
* EOS default transport (#23824)Nathaniel Case2017-04-201-3/+2
| | | * Give a default to eos transport
* Typo (#23778)Matt Babineau2017-04-201-1/+1
| | | Missed that D...
* changed code block formatting to match format (#23615)Eric Anderson2017-04-201-7/+18
|
* Tidy example inventories in "Developing Dynamic Inventory Sources" (#18758)Adam Johnson2017-04-201-21/+24
| | | Thanks @adamchainz!
* script fails on asyncBrian Coca2017-04-201-3/+1
|
* fix vars file selectionBrian Coca2017-04-201-10/+12
| | | | | | | | | | fixes #17382 alternate to #22979 deal with cases in which group/host have . in name updated as per feedbck only be strict about extension when doing dirs also avoid ~ endings
* finer grained failed/skipped on async for actionsBrian Coca2017-04-206-9/+9
| | | | fixes #23729
* Use isfile check on package manager pathsLogan Attwood2017-04-201-1/+1
|
* fix hashing when path is symlinkBrian Coca2017-04-201-1/+1
|
* Add guide for Packet host (#21346)Tomáš Karásek2017-04-202-0/+310
| | | | | | | | | | * Add guide for Packet host * incorporate feedback from Packet * Format headings according to Python doc guide * fixed rstcheck issues in packet guide
* Add missing aliases file to ios_system integration target (#23795)Ricardo Carrillo Cruz2017-04-201-0/+1
|
* Add missing aliases file to iosxr integration tests targets (#23796)Ricardo Carrillo Cruz2017-04-205-0/+5
|
* Add eos_banner as module to banner param (#23789)Trishna Guha2017-04-201-2/+3
| | | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Show UUID instead of name when using UUID to select snapshot (#23787)Loïc Blot2017-04-201-1/+5
|
* Minor typo in vmware_guest_facts (#23791)Abhijeet2017-04-201-1/+1
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix Markdown formatting for GitHub (#23752)KARASZI István2017-04-191-16/+16
|
* fix ansible galaxy file mangling (#23703)Timo Benk2017-04-191-1/+1
| | | | | | | | | | | | without this patch, ansible-galaxy will mangle files containing the archive parent directory name, eg 'owncloud/files/owncloud.cron' will become 'owncloud/files/.cron'. The previous code could affect the entire path and even filenames. If a file path has the top level dir name as a substring, galaxy replaces it with ''. In one example, the archive top level dir is 'go', so 'files/go-bin.sh' becomes 'files/-bin.sh'. Fixes #22572, #23694, #23623
* Fix example fact(ansible_default_ipv4.address) for delegated_factsAlexander Gubin2017-04-191-1/+1
|
* Really minor optimization and style change for ↵Toshio Kuratomi2017-04-191-2/+2
| | | | | | | d0e3d75381292fc7bf417598f9f6542a7fcd2d07 * Use a generator expression instead of a list comprehension * Use copy() to create a new set instead of the constructor.
* Remove whitespace from unix group namesBart van Bragt2017-04-191-1/+1
|
* Add the Cisco Spark Module to the 2.3 New Modules (#23636)Drew Russell2017-04-191-0/+2
| | | Update the Ansible 2.3 New Module list to include the cisco_spark notification module.
* Fix for setting values using gconftool-2 (#23713)Abhijeet2017-04-191-35/+43
| | | | | | | Miscallenous fixes added to make gconftool-2 work. Fixes https://github.com/ansible/ansible/issues/23670 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ConfigureRemotingForAnsible: RSA 1024 to RSA 4096 (#23684)Nicolas Simond2017-04-191-3/+5
|
* Improve network debug wording (#23735)John R Barker2017-04-191-15/+13
|
* Add ssh_connection / retries option documentation (#23463)Ian Levesque2017-04-181-0/+9
| | | No docs were included when https://github.com/ansible/ansible/pull/9927 was merged.
* s3_sync: removing irrelevant s3.list_buckets() call - fixes #23409 (#23492)Sloane Hertel2017-04-182-38/+44
| | | | | | | | * Removing irrelevant s3 call Fix exception handling Make s3_sync pep8 and remove from legacy file
* nicer docsBrian Coca2017-04-181-1/+2
|
* Fix vault reading from stdin (avoid realpath() on non-links) (#23583)Adrian Likins2017-04-183-5/+47
| | | | | | | | | | | | | | | | | | | | | * Fix vault reading from stdin (avoid realpath() on non-links) os.path.realpath() is used to find the target of file paths that are symlinks so vault operations happen directly on the target. However, in addition to resolving symlinks, realpath() also returns a full path. when reading from stdin, vault cli uses '-' as a special file path so VaultEditor() will replace with stdin. realpath() was expanding '-' with the CWD to something like '/home/user/playbooks/-' causing errors like: ERROR! [Errno 2] No such file or directory: u'/home/user/ansible/-' Fix is to specialcase '-' to not use realpath() Fixes #23567 * to_text decrypt output when writing to stdout
* When become_method is su, self._play_context.prompt is a function. Fixes #23689Matt Martz2017-04-181-0/+2
|
* Make warning logs consistent (#23666)Ganesh Nalawade2017-04-184-6/+44
| | | | | | | | | | | | * Make warning logs consistent Arguments outside provider with default value should not log as warning in case it is not mentioned in play. * Make nxos timeout default consistent and add comments * Make comments more verbose
* [cloud] Fix #23152 in route53 module and pep8 cleanup (#23156)Daniel Shepherd2017-04-182-150/+152
| | | | | | | | | update module to support more standard state=present/absent syntax update module to use required_if, required_together, mutually_exclusive functions where possible per ryansb review: make documentation section more clear, fix some extra quotes, remove FIXME comment pre willthames review: force private_zone to True if vpc_id is set and fix word wrap