Commit Graph

14674 Commits (a75e62b6e11992ee61b63365ed6a5c14558f7851)
 

Author SHA1 Message Date
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.
10 years ago
Brian Coca 896da2a09e Merge pull request #11287 from kstrauser/freebsd6fixes
Fixes for FreeBSD get_memory_facts
10 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.
10 years ago
Brian Coca 3b1b95b916 moved ipv6 handling to init
fixed become password handling
10 years ago
Brian Coca bb7d33adbc moved become password handlingn to base class 10 years ago
Brian Coca 42e2724fa5 added serf inventory plugin 10 years ago
Brian Coca f300be0f38 added ec2_eni_facts 10 years ago
James Cammarata 4b28a51f25 Don't fail outright when a play has an empty hosts list 10 years ago
Toshio Kuratomi 605ddad37e Add test that url lookup checks tls certificates 10 years ago
James Cammarata 30c1a2d861 Have group/host var file loading check for YAML extensions too
Fixes #11132
10 years ago
Brian Coca 98e5f73f44 Merge pull request #11283 from msabramo/serf_inventory_plugin
Add serf inventory plugin
10 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).
10 years ago
James Cammarata 4705a79a98 Updating docs banners 10 years ago
James Cammarata d913f169a8 Update failed_when integration test to be more thorough 10 years ago
Brian Coca 423f1233c8 removed typo file 10 years ago
Trond Hindenes daee298cb6 Bugfix: win_checksum.ps1 10 years ago
Brian Coca 0a23a85bfc Merge pull request #11280 from Vebryn/patch-1
Update syslog_json.py
10 years ago
Vebryn b1574ecfce Update syslog_json.py
localhost is better than locahost ;)
10 years ago
Brian Coca c87591f76f updated to new exec_command signature 10 years ago
Brian Coca b76dbb01cc generalized prereqs check
added vaultfile class for action and lookup plugin usage
10 years ago
Brian Coca 9116ff1c28 replaced removed pager_print for print 10 years ago
Brian Coca 98f5534d9c adaptaed to new exec signature
should fix #11275
10 years ago
Brian Coca 5ed2e44026 adjusted with_dict test to now work 10 years ago
Brian Coca dc31086a17 added with_dict test 10 years ago
Brian Coca 6c884c9e39 Merge pull request #11271 from sivel/build-play-method
Allow AdHocCLI to be more flexible for overriding
10 years ago
Brian Coca dcf81e3ffe removed useless comments 10 years ago
Matt Martz 1d55e193c1 Expose the TaskQueueManager to self 10 years ago
Matt Martz 670894e2bd Move building the play_ds into a method, that can be overridden 10 years ago
Brian Coca 8ae58f7ea3 fixed executable, correctly this time 10 years ago
Brian Coca f576d29b6b allow for any non string iterable in listify 10 years ago
Brian Coca 0d606b5705 added cs_template to changelog 10 years ago
Brian Coca 1ce1c52f6f centralized bad password handling, fixed outputing of become method 10 years ago
Brian Coca b89071e485 now detects incorrect password with sudo and su (at least in english) 10 years ago
Brian Coca 5bac17de51 fixed pfexec test 10 years ago
Brian Coca be8d797c23 fixed su prompt function reference 10 years ago
Brian Coca 872448e9e8 updated connection info update_vars to only update if data is not alreayd present
aslo added comment clarifying why we do this
10 years ago
Brian Coca 956937b110 made executable shell configurable again 10 years ago
Brian Coca 580993fef7 enabled initial support for password prompt on become
- moved check prompt/password functions to connection, make more senes there
- TODO: consider moving make_become to connection from connection_info
- removed executable param that was never overriden outside of connection info
10 years ago
Brian Coca bac35ae773 set correct become mehotds for plugin
fixed mixup with remote password vs become_password
10 years ago
Brian Coca ff443d4534 added note to figurte out correct var udpate on connection_info 10 years ago
Brian Coca c3ccf26b70 added become check back to connections 10 years ago
Brian Coca de82c953f2 added privilege escalation special var mapping 10 years ago
Brian Coca a248678518 initial become support to ssh plugin
- password prompt detection and incorrect passwrod detection to connection info
- sudoable flag to avoid become on none pe'able commands
10 years ago
Brian Coca a267f93c83 removed incorrect assumption on become user being set 10 years ago
Brian Coca ff15f374ad fixed new become settings, rearranged constants to find PE related vars easier 10 years ago
Brian Coca e7abe06440 added first_found to template 10 years ago
Brian Coca 8ee4c7266c corrected original_file code path to use actually use data from original file 10 years ago
Brian Coca 491761f880 added note to add faf deprecation 10 years ago
Brian Coca a6ca133da8 got first_available working with copy 10 years ago
Brian Coca 11f1d99a5b added test for first_available and copy 10 years ago