Commit Graph

15515 Commits (ac66e4001cca09dc8717af6b1507b4daaa6651c7)
 

Author SHA1 Message Date
Brian Coca c0c094c413 now all --list options are working! 9 years ago
Brian Coca 884435a1aa minor cosmetic changes to list options 9 years ago
Brian Coca 056602c424 rearranged --list- options, now they are consolidated when used toghether, less loops, more concise output
list-hosts works
list-tasks works, but needs better task naming (missing role info)
list-tags only shows play tags
9 years ago
Brian Coca b8336f222d Merge pull request #11560 from oscarhealth/devel
ability to specify any combination of EC2 instance states to return
9 years ago
Brian Coca d75b4cd190 Merge pull request #11006 from alexlo03/ec2_inventory_clear_errors
explain source of EC2 inventory error
9 years ago
Brian Coca 7a019d930e Merge pull request #8469 from srvg/packageversion_more_gitinfo
packaging: add short hash and branch name in package version for unoffici...
9 years ago
Brian Coca cc85473c1e show role search path when not finding a role
fixes #9770
9 years ago
Brian Coca adc8a32c65 added vca_nat and vca_fw to changelog 9 years ago
Brian Coca d276b69b2a put proxmox inventory in correct dir and added to changelog 9 years ago
Brian Coca 018ca6ddef Merge pull request #9273 from gauthierl/proxmox_inventory
add a proxmox inventory plugin
9 years ago
James Cammarata 42cfacf83b Switch up the task/host overrides for PlayContext to use the compiled vars dict
Fixes #11436
9 years ago
Brian Coca 2d2ec058c8 added xenserver_Facts to changelog 9 years ago
Brian Coca a8b2b5b0c9 avoids printing blank diffs
fixes #10147 fixes #9471
9 years ago
James Cammarata 5cf2781528 A little more cleanup regarding _compute_environment_string 9 years ago
James Cammarata 467432bef5 Fix incorrect module path for AnsibleError in action plugin base 9 years ago
Brian Coca f5c8055879 removed debug stuff 9 years ago
Brian Coca 67ce15cd99 added ec2_vpc_route_table_facts to new module list 9 years ago
Brian Coca b91a211663 added note on module urllib2 consolidation 9 years ago
Brian Coca f4a997db49 added back but stderr, which was the original itnention 9 years ago
Brian Coca 3b9282fb90 fixed dupe output in raw/command cases 9 years ago
Brian Coca a78fdde32c better handling for weird doc corner cases (abscense of options, bad text objects, etc)
also updated extras to get some docfixes on the module side
9 years ago
Toshio Kuratomi 0d7d22d530 Add json and fetch_url notes to checklist 9 years ago
Brian Coca 17103dd4cc update submodule refs 9 years ago
Brian Coca 6cdee94c33 added missing skipped item function to base 9 years ago
Brian Coca 6f93d228f6 made item output closer to v1 9 years ago
Brian Coca 4f9d719b14 removed debug 9 years ago
Brian Coca d78c2fc212 now reports per task item 9 years ago
James Cammarata 2d90cbf78b Properly fail results with rc != 0
Fixes #11769
9 years ago
Brian Coca 787a0c4e04 fixed indent issues 9 years ago
Brian Coca 77fc3ce759 removed unused import 9 years ago
Brian Coca aa5bd8c2b5 added pam_limits to changelog 9 years ago
Lukas Pirl d9aa14feea fixes remote code execution for su/sudo and strict remote umasks
* temporarily changes umask for creating temporary directories
    * otherwise parent directories may not get chmod'ed and end up
      unreadable
refs #9902
9 years ago
James Cammarata e505a1b7c4 Fix variable precedence integrationt test 9 years ago
Brian Coca c76a66694f fixed typo 9 years ago
Brian Coca d9c63fb273 added openvz to inventory 9 years ago
Brian Coca 80ecab5317 Merge pull request #11761 from amenonsen/9843-rebase
Add pciid to LinuxNetwork interface fact
9 years ago
Hugh Saunders f344ec463f Add LVM facts to setup module
This commit adds LinuxHardware.get_device_facts() and calls that from
.populate().

LVM facts are only gathered if the setup module is running as root and
the lvm utilities are available (tested by searching for 'vgs').

If the conditions are met, facts are set for each volume group and
logical volume.

Example:

Test LVM Data:
$ sudo vgs
  VG   #PV #LV #SN Attr   VSize VFree
  test   1   2   0 wz--n- 5.00g 2.00g
$ sudo lvs
  LV      VG   Attr      LSize Pool Origin Data%  Move Log Copy%  Convert
  testlv  test -wi-a---- 1.00g
  testlv2 test -wi-a---- 2.00g

Facts Returned:
$ ansible localhost -i /tmp/inv -m setup -a 'filter=ansible_lvm'
localhost | success >> {
    "ansible_facts": {
        "ansible_lvm": {
            "lvs": {
                "testlv": {
                    "size_g": "1.00",
                    "vg": "test"
                },
                "testlv2": {
                    "size_g": "2.00",
                    "vg": "test"
                }
            },
            "vgs": {
                "test": {
                    "free_g": "2.00",
                    "num_lvs": "2",
                    "num_pvs": "1",
                    "size_g": "5.00"
                }
            }
        }
    },
    "changed": false
}

Test as non-root:
$ ansible localhost -i /tmp/inv-user -m setup -a 'filter=ansible_lvm'
localhost | success >> {
    "ansible_facts": {},
    "changed": false
}

Test without lvm utilities available
$ sudo mv /sbin/vgs{,.bk}
$ ansible localhost -i /tmp/inv -m setup -a 'filter=ansible_lvm'
localhost | success >> {
    "ansible_facts": {},
    "changed": false
}
9 years ago
Brian Coca 5f8db9cd4b changed verbose_override to the new _ansible_verbose_override to keep in line with previous changes
output now defaults back to having indent=4
9 years ago
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