Commit Graph

67 Commits (93336ce00dae5e968f5bf18cff0ee63969823637)

Author SHA1 Message Date
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
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. 11 years ago
Brian Coca 3f85a82ae9 use global to fail as its not in self
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 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>
11 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>
11 years ago
Michael DeHaan 3a84254f6d Merge pull request #3496 from johanwiren/bsd-ipv6-facts
Fix for populating default_ipv6 on BSD systems
11 years ago
Johan Wirén 1c247c9eb4 Updated GenericBsdIfconfigNetwork to collect gateway 11 years ago
Johan Wirén 10e9194744 Fix for populating default_ipv6 on BSD systems 11 years ago
Aaron Brady efc4bc10d4 Make the CPU facts Hyperthreading aware 11 years ago
Michael DeHaan 681696846a Styling: semicolon 11 years ago
Michael DeHaan fc8ffc1864 Styling: blank lines 11 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.
11 years ago
Michael DeHaan 575e052c6c Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
11 years ago
Michael DeHaan fe9849530c Merge pull request #3120 from chrisgardner/solaris-os-facts
Add Solaris O/S distribution facts
11 years ago
Michael DeHaan c3544de1df Merge pull request #3228 from skvidal/facts.d
first cut and docs for facts.d mechanism for setup module
11 years ago
Michael DeHaan 936e61fc28 Merge pull request #3181 from melodous/devel
HP-UX virtualization facts
11 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).
11 years ago
Seth Vidal 36df7e8c95 cut and docs for facts.d mechanism for setup module 11 years ago
Raul Melo f9f0f5ce2c HP-UX virtualization facts 11 years ago
Jan-Piet Mens f6521d88f5 setup epoch time doesn't have tics on Python 2.6.4 (Solaris). 11 years ago
Jan-Piet Mens 3f301fd439 Protect None value in setup module 11 years ago
Toshaan Bharvani f76043f404 changed get_mount_facts to ignore mount types 'none' 11 years ago
Raul Melo 2475bc416c Facts for HP-UX 11 years ago
Chris Gardner 2ba47318dc Use first line from /etc/release in "distribution_release" for consistency across Solaris and derivatives. 11 years ago
Chris Gardner f0a4a17ff6 Add Solaris O/S facts "distribution" and "distribution_*" 11 years ago
Michael DeHaan caa07e7fab pep8 fixes 11 years ago
Michael DeHaan 9122efb24a Merge pull request #3083 from mvo5/feature/facts-add-statvfs
add "size_{total,free}" to the "mount" facts
11 years ago
Michael DeHaan 049b77be6d Merge pull request #3076 from mmoya/userspace-arch-facts
Provide userspace_{architecture,bits} facts
11 years ago
Michael DeHaan 514f18acac Merge branch 'solaris-network-facts' of git://github.com/chrisgardner/ansible into devel 11 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.
11 years ago
Michael DeHaan 4afc0a5c03 Merge pull request #3044 from chrisgardner/solaris_facts
Solaris facts
11 years ago
Michael Vogt 6acf9a9b3b use statvfs.f_bavail to match the output of "df -B1" 11 years ago
Michael Vogt 73a12b04a4 add "size_{total,free}" to the "mount" facts 11 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.
11 years ago
Chris Gardner 1b8adab2cc Add Solaris network facts. IPv4 and IPv6 both working. 11 years ago
Stephen Fromm 00b3a450c7 Verify /proc/modules is readable (issue #2990) 11 years ago
Chris Gardner 2b71ab6765 Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'. 11 years ago
Chris Gardner 88115f4ab2 TODO: Separate IPv4 and IPv6 11 years ago
Jiří Kubíček 5cb0525430 Add some FreeBSD facts
added:
 * ansible_distribution
 * ansible_distribution_release 
 * ansible_distribution_version
 * ansible_os_family
 * ansible_pkg_mgr
 * ansible_ssh_host_key_ecdsa_public

Also adds ECDSA public key for all plaforms.
11 years ago
Chris Gardner 6809b56233 Add Solaris network facts. IPv6 details overwrite IPv4 per interface, needs further work. 11 years ago