Commit Graph

18254 Commits (76766aac8b9b1890f6a22deb8a3ba77500b9a245)
 

Author SHA1 Message Date
Brian Coca 413abcf16d Merge pull request #14450 from bcoca/include_vars_merge
Include vars merge
9 years ago
Brian Coca 3e407ed743 Merge pull request #14490 from bcoca/stat_instead_of_checksum
Use stat module instead of checksum code
9 years ago
Brian Coca 3b3709e715 Merge pull request #14488 from bcoca/become_shell_fixes
shell + become fixes
9 years ago
Brian Coca 2b5fffa751 updated to use to_unicode as per feedback 9 years ago
Brian Coca faa6eb30ae Merge pull request #14550 from wzzrd/manpage_typo
Fix a typo in man1/ansible
9 years ago
Marc Pujol 6779f91b88 Avoid duplicate /bin/lsblk calls in the setup module.
The setup module calls /bin/lsblk once for each device appearing in the /etc/mtab file. However, the same device appears there mutliple times when the system uses bind-mounts. As a result, /bin/lsblk is being called repeatedly to get the uuid of the same device.

On a system with many mounts, this leads to a TimeoutError in the get_mount_facts function of the setup module as described in #14551.

Fixes #14551
9 years ago
Maxim Burgerhout 275bd1b121 Fix a typo in man1/ansible 9 years ago
Marcus Furlong 90fb809f62 fix ansible_os_family fact on openSUSE Leap
ansible_os_family on openSUSE Leap has the wrong value:

        "ansible_os_family": "openSUSE Leap",

It should be:

        "ansible_os_family": "Suse",

This change fixes that by adding the relevant key and ensuring that dict
lookups replace ' ' with '_' so the key does not contain a space.
9 years ago
James Cammarata 517acb5773 Renaming ISSUE_TEMPLATE.md -> issue_template.md 9 years ago
b4ldr 439baf004e update uptime script to use version 2.0 of the api 9 years ago
Peter Sprygada 91f3558c64 minor bugfix that will catch connection errors in eos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 0d3c0515c0 minor bugfix that will catch connection errors in ios
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada b72b14fdf2 minor bugfix that will catch connection errors in iosxr
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 1a072578c3 minor bugfix that will catch connection errors in junos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
Peter Sprygada 9e31e33850 minor bugfix that will catch connection errors in nxos
This commit fixes a situation where connection errors would be caught
but no useful information display.  The connection error is now caught
and emitted in a call to fail_json
9 years ago
James Cammarata 58a6cf822a Merge pull request #13203 from willthames/galaxy_10620
Allow tree-ish versions for ansible-galaxy
9 years ago
Michael Scherer 4102812a69 Remove spurious 'either', fix #14520 9 years ago
George Christou 56239ee347 Make --diff colours configurable 9 years ago
Scott Buchanan 71dffbc28f Fix leftover references to sudo instead of become
Catching a few places that earlier PR #10788 missed.
9 years ago
Brian Coca 875ea74621 Merge pull request #14505 from ahartz1/patch-1
Update stated location of common_module.py
9 years ago
Adam Hartz cebf127d68 Change reference to basic.py, where the implementation details live 9 years ago
Adam Hartz 327b27ba1c Update stated location of common_module.py 9 years ago
Brian Coca b9d0662faf use stat module instead of checksum code
- added new function for action plugins this avoids the very fragile checksum code that is shell dependant.
- ported copy module to it
- converted assemble to new stat function
- some corrections and ported temlpate
- updated old checksum function to use new stat one under the hood
- documented revamped remote checksum method
9 years ago
George Christou 8edcca0ef5 Add simple --diff colour support 9 years ago
Brian Coca 6ddea3e915 removed follow from common file docs 9 years ago
Brian Coca 6dc910c13a shell + become fixes
1 less level of shell + quoting
simplified become commands, less quote and shell
9 years ago
Brian Coca bc41f46fec pushed non-atomic to option of last resort
try to copy into place first
9 years ago
Brian Coca f6d2767ce9 Merge pull request #14477 from pgrange/devel
Fix related to  #13981
9 years ago
Brian Coca 2dfe49307b Merge pull request #14474 from Aga303/man
document exit status for ansible-playbook
9 years ago
Brian Coca d47aa3c1bc Merge pull request #14480 from ikrauchanka/patch-1
Update playbooks_lookups.rst
9 years ago
Illia Krauchanka 889c273ac4 Update playbooks_lookups.rst 9 years ago
Pascal Grange 5d49f4e629 Fix related to #13981
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.
9 years ago
Aleksi Aalto aea8900abe document exit status for ansible-playbook 9 years ago
Brian Coca 4b953c4b16 extended api example with more options in tasks
also adopted to less requried options
9 years ago
Brian Coca 0bb49090cf make some options not mandatory to pass
this should simplify api calls
9 years ago
James Cammarata 06b072c1f7 Fix bugs related to task_includes and dep chain inheritance
* 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 #14460
9 years ago
Peter Sprygada 22aaff5af7 adds new action plugin iosxr_template
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.
9 years ago
Jason McKerr fbbb679ef0 Merge pull request #14447 from mckerrj/devel
Initial roadmap to be published.  2.1 release
9 years ago
James Cammarata 275728e0f6 Fixing bugs related to nested blocks inside roles
* 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 #14222
9 years ago
Brian Coca 00f600bfc8 Merge pull request #14319 from bcoca/shell_plugin_revamp
moved to base class for shell plugins
9 years ago
Sandra Wills edf776d6a4 Merge pull request #13805 from aioue/patch-1
profile_tasks README.md
9 years ago
Tom Paine edb36b6c4a Update profile_tasks.rst
remove brackets on links
9 years ago
Peter Sprygada 09a6bf5c15 Merge pull request #14432 from chouseknecht/net_common_cleanup_2
Cleanup for networking common bits.
9 years ago
Brian Coca 1932f480d0 Merge pull request #14455 from mgedmin/patch-2
Some typos in CHANGELOG.md
9 years ago
Marius Gedminas 279b14ee93 Some typos in CHANGELOG.md 9 years ago
Brian Coca a327420b67 properly combine vars if merge is set
hash_behaviour = merge now also applies to include vars
9 years ago
James Cammarata c485981d1a Merge pull request #14445 from marcpo/maint/display_string_causing_exception
Display the string which is causing an exception to be raised.
9 years ago
James Cammarata 1b3c669ebe Merge pull request #14428 from shawnsilva/linode-invscript-addips
Linode Dynamic Inventory: Add public IP's as hostvars
9 years ago
Brian Coca af68ae1e87 switched from threading to multiprocessing
functions same, just keeping names from confusing people
9 years ago
Jason McKerr 8e4ed34cbd series of changes based on PR comments 9 years ago