James Cammarata
a2ac5d6df2
Better detection/categorization of ipv4 secondaries/virtual IPs
...
Fixes #3916
Fixes #3478
11 years ago
Skylar Saveland
b47add0f32
fixes 4365 - Mac with cisco vpn client, GenericBsdIfconfigNetwork get_default_interfaces fails with index out of range
11 years ago
James Cammarata
301a00ccf5
Merge branch 'obsd-fix-release' of https://github.com/johanwiren/ansible into johanwiren-obsd-fix-release
11 years ago
Dag Wieers
5bd7664fac
Fix for commented dmidecode output
...
This patch fixes the problem that on some system dmidecode prints out warning information as commented text. For example:
[user@system ~]# dmidecode -s system-manufacturer
# SMBIOS implementations newer than version 2.6 are not
# fully supported by this version of dmidecode.
HP
So we remove all commented lines from the output.
11 years ago
James Cammarata
a8fac7906d
Merge branch 'devel' of https://github.com/drybjed/ansible into drybjed-devel
11 years ago
James Cammarata
d1f713938e
Modified env fact gathering to use the native python method
...
Also updated CHANGELOG for this feature
11 years ago
James Cammarata
19343288df
Merge branch 'env_facts' of https://github.com/bcoca/ansible into bcoca-env_facts
11 years ago
Maciej Delmanowski
551b93c547
Made re.search string shorter
11 years ago
Maciej Delmanowski
40b0471e95
Add Linux Container identification
11 years ago
Johan Wirén
e9554e5da2
Fixed setup module to no longer break on OpenBSD release versions.
11 years ago
James Cammarata
02033f9ec8
Merge branch 'archlinux-fact' of https://github.com/Schnouki/ansible into Schnouki-archlinux-fact
11 years ago
r-p-e
2f887c6dca
Add some more OpenBSD facts
...
added:
* ansible_distribution
* ansible_distribution_release
* ansible_distribution_version
11 years ago
Thomas Jost
dfb10e646e
Add Archlinux "distribution" fact
11 years ago
Brian Coca
c2d1607490
Added collection of user's env
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Marcin Płonka
61298e4703
Skipping facts not available on AIX WPARs
11 years ago
Michael Scherer
cfa5a0f94d
Add urpmi as a package manager for mandriva-based distribution
11 years ago
Michael DeHaan
fc9aa5f014
Continue on mount errors, don't fail the setup module.
12 years ago
Brian Coca
3f85a82ae9
use global to fail as its not in self
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Brian Coca
b7b1c714f9
narrowed down exception we ignore and fail if any other unexpected one
...
crops up.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Brian Coca
80b9b01e97
now won't throw exception if we don't have permission to stat a mtab
...
entry on linux (weird chromebook issue)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan
3a84254f6d
Merge pull request #3496 from johanwiren/bsd-ipv6-facts
...
Fix for populating default_ipv6 on BSD systems
12 years ago
Johan Wirén
1c247c9eb4
Updated GenericBsdIfconfigNetwork to collect gateway
12 years ago
Johan Wirén
10e9194744
Fix for populating default_ipv6 on BSD systems
12 years ago
Aaron Brady
efc4bc10d4
Make the CPU facts Hyperthreading aware
12 years ago
Michael DeHaan
681696846a
Styling: semicolon
12 years ago
Michael DeHaan
fc8ffc1864
Styling: blank lines
12 years ago
Patrick Callahan
b5b862fe6f
bug fix: modify get_device_facts to handle servers with multiple pci domains
...
On machines with multiple pci domains get_device_facts would fail to
find a matching pci device causing setup to fail. Also on some platforms
there is additional information between the pci information and 'host'.
Modified get_device_facts to call lspci with the -D option and modified
the regex to account for the pci domain and to be more selective.
12 years ago
Michael DeHaan
575e052c6c
Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
...
changed get_mount_facts to ignore mount types 'none'
12 years ago
Michael DeHaan
fe9849530c
Merge pull request #3120 from chrisgardner/solaris-os-facts
...
Add Solaris O/S distribution facts
12 years ago
Michael DeHaan
c3544de1df
Merge pull request #3228 from skvidal/facts.d
...
first cut and docs for facts.d mechanism for setup module
12 years ago
Michael DeHaan
936e61fc28
Merge pull request #3181 from melodous/devel
...
HP-UX virtualization facts
12 years ago
Michael DeHaan
f0d66f0cda
Merge pull request #3176 from jpmens/sol-epoch
...
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
12 years ago
Seth Vidal
36df7e8c95
cut and docs for facts.d mechanism for setup module
12 years ago
Raul Melo
f9f0f5ce2c
HP-UX virtualization facts
12 years ago
Jan-Piet Mens
f6521d88f5
setup epoch time doesn't have tics on Python 2.6.4 (Solaris).
12 years ago
Jan-Piet Mens
3f301fd439
Protect None value in setup module
12 years ago
Toshaan Bharvani
f76043f404
changed get_mount_facts to ignore mount types 'none'
12 years ago
Raul Melo
2475bc416c
Facts for HP-UX
12 years ago
Chris Gardner
2ba47318dc
Use first line from /etc/release in "distribution_release" for consistency across Solaris and derivatives.
12 years ago
Chris Gardner
f0a4a17ff6
Add Solaris O/S facts "distribution" and "distribution_*"
12 years ago
Michael DeHaan
caa07e7fab
pep8 fixes
12 years ago
Michael DeHaan
9122efb24a
Merge pull request #3083 from mvo5/feature/facts-add-statvfs
...
add "size_{total,free}" to the "mount" facts
12 years ago
Michael DeHaan
049b77be6d
Merge pull request #3076 from mmoya/userspace-arch-facts
...
Provide userspace_{architecture,bits} facts
12 years ago
Michael DeHaan
514f18acac
Merge branch 'solaris-network-facts' of git://github.com/chrisgardner/ansible into devel
12 years ago
Stephen Fromm
43d96ba335
cleanup to dmi fact discovery
...
When invoking dmidecode, first use module.get_bin_path() and secondly
use module.run_command.
Remove sub function execute() from get_dmi_facts().
Simplify get_dmi_facts() by only using two mechanisms to determine dmi
facts: first try /sys/devices/virtual/dmi and if not available, use
dmidecode executable.
12 years ago
Michael DeHaan
4afc0a5c03
Merge pull request #3044 from chrisgardner/solaris_facts
...
Solaris facts
12 years ago
Michael Vogt
6acf9a9b3b
use statvfs.f_bavail to match the output of "df -B1"
12 years ago
Michael Vogt
73a12b04a4
add "size_{total,free}" to the "mount" facts
12 years ago
Maykel Moya
d0843a7f55
Provide userspace_{architecture,bits} facts
...
When running inside a chroot userspace architecture might not
match that of the actual host.
This patch provides userspace_bits as reported by python's
platform.architecture(). Also provides userspace_architecture fact
if host is an x86 machine.
12 years ago
Chris Gardner
1b8adab2cc
Add Solaris network facts. IPv4 and IPv6 both working.
12 years ago