Commit Graph

15781 Commits (1eee5ec6ff80278d95af9f9e9218fae033d8b034)
 

Author SHA1 Message Date
Trapier Marshall 250620f2ab Add pciid to LinuxNetwork interface fact
This commit adds pciid to the LinuxNetwork fact object.

pciid is gathered if the symlink /sys/class/net/*/device exists.

Example [>>>> emphasis <<<<]:

$ readlink /sys/class/net/eth0/device
../../../0000:01:00.0

$ ansible localhost --ask-pass -i /tmp/hosts -m setup -a "filter=ansible_eth0"
SSH password:
localhost | success >> {
    "ansible_facts": {
        "ansible_eth0": {
            "active": false,
            "device": "eth0",
            "macaddress": "0c:d2:92:5d:6e:8e",
            "module": "alx",
            "mtu": 1500,
       >>>> "pciid": "0000:01:00.0", <<<<
            "promisc": true,
            "type": "ether"
        }
    },
    "changed": false
}
9 years ago
Brian Coca 8746e692c1 changed check to allow for powerpc
fixes #11528
9 years ago
Brian Coca 0c21196633 moved openvz inventory script to new home 9 years ago
Brian Coca 164092a835 optimized module docs 9 years ago
Brian Coca 65c649aa3e added virt_net to changelog 9 years ago
Brian Coca 772841a0a2 added virt_pool module to changelog 9 years ago
Brian Coca 330aee33c5 Merge pull request #8358 from jordonr/devel
Added OpenVZ Inventory python script
9 years ago
Brian Coca 2575e1540a Merge pull request #11740 from amenonsen/8602-rebase
Encrypt the vault file after editing only if the contents changed
9 years ago
Toshio Kuratomi d2346fd2e2 Python2.4 compat fix 9 years ago
Brian Coca 12e3a2a0c1 Merge pull request #11759 from resmo/fix/doc-changelog
changelog: fix typos
9 years ago
Rene Moser 41319dc202 changelog: fix typos 9 years ago
James Cammarata d6cafff2f9 Additional changes to fix fileglob relative path lookups 9 years ago
Brian Coca 9416fc6271 Merge pull request #8977 from billwanjohi/add_package_classifiers
add distutils package classifiers
9 years ago
Brian Coca 010e58ebfa Merge pull request #9878 from ansible/handle-quoted-comma-dict-param
Handle quoting of values in dict parameters
9 years ago
billwanjohi b2739cec6d add distutils package classifiers
I was particularly interested in the programming language ones,
but the others might be useful to others browsing PyPI.

Now with GPLv3+, and Utilities topic.
9 years ago
Toshio Kuratomi 6a68be4e28 Handle quoting of values in dict parameters 9 years ago
James Cammarata cb262449c7 Reworking internal result flags and making sure include_vars hides vault data
Fixes #10194
9 years ago
James Cammarata eebf437d87 Submodule pointer update 9 years ago
Brian Coca b2b19a1dc4 Merge pull request #11751 from amenonsen/playwithoutbook
A better error message for «ansible playbook.yml»
9 years ago
James Cammarata 7d8afad28c Merge pull request #11750 from amenonsen/example-prompt
Fix incorrect example of vars_prompt
9 years ago
James Cammarata 49a6601856 Further cleanup of internal use of ansible_ssh_host 9 years ago
James Cammarata ee835ff7ad Add a base-level get_basedir method for lookup plugins and fix relative lookups
Fixes #11746
9 years ago
bryan hunt 7a76fcb159 merged 9 years ago
Abhijit Menon-Sen 65d62090c2 A better error message for «ansible playbook.yml»
This is a very conservative change: we add the hint only if we're
definitely going to die already.
9 years ago
James Cammarata 3a4dd523d3 Fix bug where we calculated the relative path of recurisive copies wrong
Fixes #11470
9 years ago
Abhijit Menon-Sen bb12121225 Fix incorrect example of vars_prompt 9 years ago
James Cammarata a1a8997e89 Merge pull request #11663 from whereismyjetpack/fix_ansible_ssh_host
only set ansible_ssh_host if not already set
9 years ago
Brian Coca a56ff7ae54 now it really is oneline 9 years ago
Brian Coca 5d1d9f1505 fixed diff output to be as it was in 1.x, copy and template now use the same
functions to do difs.
9 years ago
James Cammarata c56a304ad9 Merge pull request #9195 from reedloden/add-dns-facts
Add several DNS-related facts by parsing /etc/resolv.conf
9 years ago
James Cammarata ccb7fb3b4c Submodule pointer update 9 years ago
James Cammarata 034c766439 Fixing logic in template.py to not assume 'changed' is in the result 9 years ago
James Cammarata a78ed39f93 Merge pull request #11743 from renard/regex_escape-filter
Regex escape filter
9 years ago
James Cammarata db4b3544d7 Fix syntax error in action plugin template.py 9 years ago
Reed Loden eb1fb41576 Add several DNS-related facts by parsing /etc/resolv.conf
Facts include nameservers, domain, search path, sortlist, and options.
9 years ago
Sébastien Gross c0b7fcd304 Add documentation for regex_escape filter 9 years ago
Sébastien Gross 36534668f0 Change name from re_escape to regex_escape to fit existing function names. 9 years ago
Sébastien Gross c1e4085251 Add regular expression escaping filter. 9 years ago
Brian Coca 0b6fadaad7 started implementing diff
diff now works with template
also fixed check mode for template and copy
9 years ago
James Cammarata d11e07a0e5 Merge pull request #11738 from amenonsen/7485-rebase
Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable
9 years ago
Pablo Figue f8bf2ba1bd Encrypt the vault file after editing only if the contents changed 9 years ago
Andrew Hamilton 7f45c9edf7 Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable 9 years ago
James Cammarata 73aa5686cc Remove octal escapes from unicode escape handling
Fixes #11673
9 years ago
Brian Coca 5be384bab0 Merge pull request #11733 from amenonsen/csvfile
v2 breakage: lookupfile should lookup the given file=xxx
10 years ago
Brian Coca 6c1f4ddf7e Merge pull request #11736 from mscherer/fix_9971
Add more explicit documentation on ansible_nodename and ansible_hostname
10 years ago
Brian Coca c7c5b40aa8 Merge pull request #11735 from mscherer/fix_10273
Document and test 'is undefined' rather than 'is not defined'
10 years ago
Brian Coca b19eb0f4dc minor improvements to display 10 years ago
Michael Scherer c2c20baf01 Add more explicit documentation on ansible_nodename and ansible_hostname
Fix #9971, based on text from Paul Czarkowski
10 years ago
Brian Coca 0dc1cbd6b9 Merge pull request #9524 from ktosiek/patch-1
guide_rax.rst: fix add_host invocations
10 years ago
Michael Scherer 106e942faa Document and test 'is undefined' rather than 'is not defined'
According to https://github.com/ansible/ansible/issues/10273,
this syntax should work better for nested dicts.
10 years ago