Commit Graph

14541 Commits (87ca4757049ff47621d5a9b9d7641be1ed9b178b)
 

Author SHA1 Message Date
James Cammarata 87ca475704 Exclude the all/ungrouped groups from pattern matching results
Fixes #5375
9 years ago
James Cammarata 90445ee67d Add ::1 where we see 127.0.0.1, for better ipv6 support
Fixes #5764
9 years ago
James Cammarata c3c398cffe Cleaning up some task failure detection problems
* fixed a bug in which failures from a with_* loop were not being
  caught correctly, leading to tasks continuing when they should stop
* when ignore_errors is enabled, the failure will no longer count
  towards the number of failed tasks
9 years ago
Brian Coca 5bbbec9b61 Merge pull request #11301 from msabramo/include_inventory_file_in_unable_to_find_inventory_file_error_msg
Add inventory file to "Unable to find" error msg
9 years ago
Marc Abramowitz a385744426 Add inventory file to "Unable to find" error msg
E.g.:

    $ ansible gabriel -m ping -i ssh_config.py
    ERROR! Unable to find an inventory file (ssh_config.py), specify one with -i ?
9 years ago
Brian Coca 2ad8e7c9b3 Merge pull request #11300 from aioue/devel
add simple prefix filtering to vmware inventory
9 years ago
Tom Paine 410285ecd6 add simple prefix filtering to vmware inventory
Significantly speeds up inventory collection on systems with many
excluded machines.
9 years ago
Brian Coca 0c27315648 Merge pull request #11299 from rncry/patch-2
support instances with no public ip
9 years ago
James Cammarata daa319881f Make sure registered variable message is sent before other messages
Avoids a race condition where previously the registered variable message
was being sent after the 'host_task_ok' message, meaning the next task
may be started before the var is registered, leading to an undefined
variable error
9 years ago
rncry 16f66a39a6 support instances with no public ip
default to private ip if the instance doesn't have a public ip assigned. (causes list index out of range error otherwise)
9 years ago
Brian Coca 8cfec0a27a Merge pull request #11297 from msabramo/serf_plugin_use_env_vars
Simplify serf inventory plugin
9 years ago
Brian Coca 194b85338f Merge pull request #11298 from bennojoy/fix_11296
fixes 11296 where the groups does not have all the groups
9 years ago
Marc Abramowitz dc63bbf0b9 Simplify serf inventory plugin
using newly added `EnvironmentConfig` class in `serfclient`.

See https://github.com/KushalP/serfclient-py/pull/17
9 years ago
Brian Coca cce6edeb6c Merge pull request #11293 from tamsky/tamsky-patch-1
for tags with empty value, do not append separator
9 years ago
Benno Joy 0d5b7ae669 fixes 11296 where the groups does not have all the groups 9 years ago
Brian Coca 888f3236c5 Merge pull request #11294 from msabramo/serf_plugin_use_env_vars
plugins/inventory/serf.py: Use SERF_RPC_* env vars
9 years ago
Marc Abramowitz ce42c66e27 plugins/inventory/serf.py: Use SERF_RPC_* env vars
This makes the Serf inventory plugin use the `SERF_RPC_ADDR` and
`SERF_RPC_AUTH` environment variables that the `serf` command-line tool
already uses.

These can be used to get Serf data from a remote node instead of
requiring the ansible control host to be running a serf agent and to be
a member of the serf cluster.
9 years ago
James Cammarata ff998b6022 Make sure the templar is using the right vars when evaluating conditionals 9 years ago
Marc Tamsky a0e8b9ef98 for tags with empty value, do not append separator 9 years ago
Brian Coca 4cac10e016 Merge pull request #11281 from trondhindenes/win_checksum
Bugfix: win_checksum
9 years ago
Brian Coca d7fcd9456a Merge pull request #11288 from kstrauser/aixfixes
Don't panic if AIX's uname doesn't support -W
9 years ago
Kirk Strauser eb820837ac Don't panic if AIX's uname doesn't support -W
The current code expects "uname -W" on AIX to always succeed. The AIX 5
instance I have doesn't support the -W flag and facts gathering always
crashes on it.

This skips some WPAR handling code if "uname -W" doesn't work.
9 years ago
Brian Coca 896da2a09e Merge pull request #11287 from kstrauser/freebsd6fixes
Fixes for FreeBSD get_memory_facts
9 years ago
Kirk Strauser 935da01068 Fixes for FreeBSD get_memory_facts
- swapinfo on FreeBSD 6 (maybe 7 too?) doesn't support the "-m" flag for
  fetching amounts in megabytes. This patch fetches amounts in kilobytes
  and divides by 1024 (and also returns the result as an int instead of
  a string).

- When no swap is configured, swapinfo prints a header line and nothing
  else:

    $ swapinfo
    Device         1K-blocks     Used    Avail Capacity

  The old version unexpectedly parsed that header line and emitted
  nonsense values like:

    "ansible_swapfree_mb": "Avail"
    "ansible_swaptotal_mb": "1K-blocks"

  This version emits those items altogether.
9 years ago
Brian Coca 3b1b95b916 moved ipv6 handling to init
fixed become password handling
9 years ago
Brian Coca bb7d33adbc moved become password handlingn to base class 9 years ago
Brian Coca 42e2724fa5 added serf inventory plugin 9 years ago
Brian Coca f300be0f38 added ec2_eni_facts 9 years ago
James Cammarata 4b28a51f25 Don't fail outright when a play has an empty hosts list 9 years ago
Toshio Kuratomi 605ddad37e Add test that url lookup checks tls certificates 9 years ago
James Cammarata 30c1a2d861 Have group/host var file loading check for YAML extensions too
Fixes #11132
9 years ago
Brian Coca 98e5f73f44 Merge pull request #11283 from msabramo/serf_inventory_plugin
Add serf inventory plugin
9 years ago
Marc Abramowitz 336f45f5b3 Add serf inventory plugin
Add inventory plugin for [Serf](https://serfdom.io/).
Requires [`serfclient` Python module](https://pypi.python.org/pypi/serfclient).
9 years ago
James Cammarata 4705a79a98 Updating docs banners 9 years ago
James Cammarata d913f169a8 Update failed_when integration test to be more thorough 9 years ago
Brian Coca 423f1233c8 removed typo file 9 years ago
Trond Hindenes daee298cb6 Bugfix: win_checksum.ps1 9 years ago
Brian Coca 0a23a85bfc Merge pull request #11280 from Vebryn/patch-1
Update syslog_json.py
9 years ago
Vebryn b1574ecfce Update syslog_json.py
localhost is better than locahost ;)
9 years ago
Brian Coca c87591f76f updated to new exec_command signature 9 years ago
Brian Coca b76dbb01cc generalized prereqs check
added vaultfile class for action and lookup plugin usage
9 years ago
Brian Coca 9116ff1c28 replaced removed pager_print for print 9 years ago
Brian Coca 98f5534d9c adaptaed to new exec signature
should fix #11275
9 years ago
Brian Coca 5ed2e44026 adjusted with_dict test to now work 9 years ago
Brian Coca dc31086a17 added with_dict test 9 years ago
Brian Coca 6c884c9e39 Merge pull request #11271 from sivel/build-play-method
Allow AdHocCLI to be more flexible for overriding
9 years ago
Brian Coca dcf81e3ffe removed useless comments 9 years ago
Matt Martz 1d55e193c1 Expose the TaskQueueManager to self 9 years ago
Matt Martz 670894e2bd Move building the play_ds into a method, that can be overridden 9 years ago
Brian Coca 8ae58f7ea3 fixed executable, correctly this time 9 years ago