8a6bbfd3b5
Enable puppet facts
...
Currently facter facts omit facts that a distributed via Puppet. This
commit adds the `--puppet` option.
In cases where puppet is not installed, the command sends a warning to
STDERR *but* completes successfully. So should not cause any issues.
The benefit is, filtering can be done based on facts set by Puppet.
2014-07-17 17:53:12 +01:00
eb33e3e2ef
Slight tweak to windows wording.
2014-06-19 14:24:15 -05:00
bf400d3c23
Mention that with windows target hosts, fact_path and filter are not currently supported
2014-06-19 14:24:14 -05:00
b0dbc61d63
Move facts to 'module_utils' so they can be referenced by other modules. Note unlike other module_utils/ dirs this keeps the original
...
license -- so usage of facts code in modules will be limited to GPLv3 modules.
2014-03-16 16:12:02 -04:00
eef5a8a847
Update setup module signature from merge commit.
2014-03-16 14:11:43 -04:00
2b2b174fd3
Merge conflict.
2014-03-16 13:36:52 -04:00
154f123b7f
setup module: Mark unsafe commands as use_unsafe_shell=True.
2014-03-12 11:13:20 -05:00
e4805fe411
add module param to Network & sub-classes
...
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
2014-03-12 09:37:12 -04:00
c8db3c2db9
Revert "Fix issue#6430 by instantiating Network() with expected arguments"
...
This reverts commit 2a723e908e .
2014-03-12 09:23:13 -04:00
2a723e908e
Fix issue#6430 by instantiating Network() with expected arguments
2014-03-12 09:04:42 -04:00
fd9df5f429
Merge pull request #6372 from mriedelumab/devel
...
Returning 'NA' when no virtualization found
2014-03-11 10:17:22 -05:00
ba0fec4f42
Force command action to not be executed by the shell unless specifically enabled
2014-03-10 16:13:30 -05:00
5875d19f4d
Returning 'NA' when no virtualization found
2014-03-10 11:58:04 -04:00
a48f0da9d8
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274 )
2014-03-04 20:00:18 +02:00
68510ecda8
added better gentoo/funtoo support
2014-03-01 21:56:02 -05:00
1d6bdd451b
Fix setup module to gather facts from PowerPC Macs.
2014-02-25 18:27:36 -05:00
7d670f8308
Merge remote-tracking branch 'berendt/fixing_permissions' into pull_4703
2014-02-17 11:46:23 -06:00
6e39adb89e
Merge pull request #5426 from lichesser/debian_release_4565
...
setup module: Partial fix for #4565 , reporting Debian release version. Works only for Debian 7 and later
2014-01-14 13:00:08 -08:00
1e6926b9ab
Merge pull request #5528 from dverhelst/devel
...
Adding support for detecting RHEV Hypervisor in ansible_virtualization_type
2014-01-07 15:51:21 -05:00
86719ce77f
Fixes #5040 setup module: do not add primary interface info to the secondary interface data
2014-01-02 16:17:24 -05:00
b49cb2e540
Partial fix for #4565 . Works only for Debian 7 and later
2013-12-26 17:53:17 +01:00
aa8beadec3
Fix a documentation item.
2013-12-25 13:50:15 -05:00
91f903eabe
Merge pull request #4886 from sergeyhush/devel
...
fix when the system does not have lsb_release script, but has /etc/lsb_release file
2013-12-13 11:25:45 -08:00
8c73aa13e4
Minor changes to simplify code
2013-12-08 09:02:50 +02:00
de4e4c54b9
Add get_dmi_facts in setup for FreeBSD systems using dmidecode
2013-12-07 17:16:20 +02:00
5e336d7caf
Merge pull request #5075 from gservat/patch-1
...
Added support for parsing in the SLES patch level correctly
2013-12-05 13:34:57 -08:00
db2f41bdcb
This change is meant to replace distribution_release, not version!
2013-12-06 07:53:39 +11:00
83f35a63dd
Oops... fixed an error
2013-12-06 07:49:03 +11:00
5390ee9763
added AIX network facts
2013-12-05 10:13:55 +01:00
cc783b3e1b
added AIX network facts
2013-12-05 10:06:44 +01:00
ad837709bd
Addresses #5023 Fix import comments
2013-12-02 15:13:49 -05:00
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
c050872458
Fixes #4796 handle unicodedecode errors from dmidecode output
2013-12-02 11:56:38 -05:00
13da2c3ac9
Added support for parsing in the SLES patch level correctly
...
On SLES, the setup module was returning the architecture as the distribution version (i.e. platform.dist() didn't quite return the right thing). This change checks for /etc/SuSE-release and grabs the second column in the third line as distribution_version.
2013-11-27 23:44:34 +11:00
f7c3975f21
Add version_added to all modules missing version_added information, the docs formatter will now
...
raise errors when omitted, updated changelog with new modules.
2013-11-18 18:55:49 -05:00
4d0f374dbf
compatible with python 2.4
2013-11-18 11:33:04 -08:00
7eadf78009
Merge pull request #4282 from cristobalrosa/ansible
...
Add a fact for checking if interface is in promiscuous mode.
2013-11-13 10:33:57 -05:00
24ea5949bb
fix when the system does not have lsb_release script, but has /etc/lsb_release file
2013-11-12 15:25:39 -08:00
ce29c158a9
Address #4573 Check interface keys and return gracefully on solaris zones
2013-11-06 18:11:22 -05:00
3f0b3a71ca
Fix #4702 , make setup work on windows
2013-10-28 23:41:18 +01:00
2848cf34fc
changing permissions of modules to 0644
2013-10-28 14:50:35 +01:00
d0904ded84
Merge pull request #4600 from earchibald/devel
...
Added ['date_time']['tz_offset'] using %z to get the time offset rather ...
2013-10-27 08:30:28 -07:00
30eb5c7342
Fixed (broken) tab to (correct) spaces for indentation
2013-10-19 17:04:37 -07:00
145c0b8be1
Added ['date_time']['tz_offset'] using %z to get the time offset rather than time zone.
2013-10-18 20:32:35 -07:00
fc211ac1a0
setup module, replace ':' by '_' in interface name, fix #4586
2013-10-19 00:24:07 +02:00
6ff4806b90
Merge branch 'devel' of git://github.com/shirou/ansible into devel
2013-10-14 11:50:25 -04:00
b7f229d390
Second attempt at preventing ipv6 route enumeration on EL4 machines
2013-10-08 18:40:15 -04:00
4b1600aae5
Revert "Do not enumerate ipv6 routes in CentOS 4"
...
This reverts commit 5186c408f7 .
2013-10-08 15:51:12 -04:00
5186c408f7
Do not enumerate ipv6 routes in CentOS 4
2013-10-08 15:12:38 -04:00
a2ac5d6df2
Better detection/categorization of ipv4 secondaries/virtual IPs
...
Fixes #3916
Fixes #3478
2013-10-07 15:18:33 -05:00