Commit Graph

18134 Commits (b59b5a286b3a0247a9a6218be9fd2f24fc318d6c)
 

Author SHA1 Message Date
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
10 years ago
Maxim Burgerhout 275bd1b121 Fix a typo in man1/ansible 10 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.
10 years ago
James Cammarata 517acb5773 Renaming ISSUE_TEMPLATE.md -> issue_template.md 10 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
10 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
10 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
10 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
10 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
10 years ago
James Cammarata 58a6cf822a Merge pull request #13203 from willthames/galaxy_10620
Allow tree-ish versions for ansible-galaxy
10 years ago
Michael Scherer 4102812a69 Remove spurious 'either', fix #14520 10 years ago
George Christou 56239ee347 Make --diff colours configurable 10 years ago
Brian Coca 875ea74621 Merge pull request #14505 from ahartz1/patch-1
Update stated location of common_module.py
10 years ago
Adam Hartz cebf127d68 Change reference to basic.py, where the implementation details live 10 years ago
Adam Hartz 327b27ba1c Update stated location of common_module.py 10 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
10 years ago
George Christou 8edcca0ef5 Add simple --diff colour support 10 years ago
Brian Coca 6ddea3e915 removed follow from common file docs 10 years ago
Brian Coca 6dc910c13a shell + become fixes
1 less level of shell + quoting
simplified become commands, less quote and shell
10 years ago
Brian Coca bc41f46fec pushed non-atomic to option of last resort
try to copy into place first
10 years ago
Brian Coca f6d2767ce9 Merge pull request #14477 from pgrange/devel
Fix related to  #13981
10 years ago
Brian Coca 2dfe49307b Merge pull request #14474 from Aga303/man
document exit status for ansible-playbook
10 years ago
Brian Coca d47aa3c1bc Merge pull request #14480 from ikrauchanka/patch-1
Update playbooks_lookups.rst
10 years ago
Illia Krauchanka 889c273ac4 Update playbooks_lookups.rst 10 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.
10 years ago
Aleksi Aalto aea8900abe document exit status for ansible-playbook 10 years ago
Brian Coca 4b953c4b16 extended api example with more options in tasks
also adopted to less requried options
10 years ago
Brian Coca 0bb49090cf make some options not mandatory to pass
this should simplify api calls
10 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
10 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.
10 years ago
Jason McKerr fbbb679ef0 Merge pull request #14447 from mckerrj/devel
Initial roadmap to be published.  2.1 release
10 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
10 years ago
Brian Coca 00f600bfc8 Merge pull request #14319 from bcoca/shell_plugin_revamp
moved to base class for shell plugins
10 years ago
Sandra Wills edf776d6a4 Merge pull request #13805 from aioue/patch-1
profile_tasks README.md
10 years ago
Tom Paine edb36b6c4a Update profile_tasks.rst
remove brackets on links
10 years ago
Peter Sprygada 09a6bf5c15 Merge pull request #14432 from chouseknecht/net_common_cleanup_2
Cleanup for networking common bits.
10 years ago
Brian Coca 1932f480d0 Merge pull request #14455 from mgedmin/patch-2
Some typos in CHANGELOG.md
10 years ago
Marius Gedminas 279b14ee93 Some typos in CHANGELOG.md 10 years ago
Brian Coca a327420b67 properly combine vars if merge is set
hash_behaviour = merge now also applies to include vars
10 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.
10 years ago
James Cammarata 1b3c669ebe Merge pull request #14428 from shawnsilva/linode-invscript-addips
Linode Dynamic Inventory: Add public IP's as hostvars
10 years ago
Brian Coca af68ae1e87 switched from threading to multiprocessing
functions same, just keeping names from confusing people
10 years ago
Jason McKerr 8e4ed34cbd series of changes based on PR comments 10 years ago
James Cammarata df4912957c Merge pull request #14442 from bcoca/remove_signal_handling
removed signal trapping
10 years ago
Jason McKerr 2d01d43e51 just some more grammer, punctuation cleanup. 10 years ago
Brian Coca 133758c5a6 Merge pull request #14446 from binary-data/fixing-double-colon-on-playbook-roles-page
Update playbooks_roles.rst
10 years ago
Toshio Kuratomi 37879ea671 Update submodule refs 10 years ago
Anton Belonovich d24761af1b Update playbooks_roles.rst 10 years ago
Jason McKerr bab251233a add target date 10 years ago
Jason McKerr 99c4459224 Initial checkin of new roadmap file. Currently encompasses 2.1 roadmap
and some community objectives.
10 years ago