Commit Graph

13096 Commits (4902c063045458278146914b87638822785ed67a)
 

Author SHA1 Message Date
ZhiFeng Hu e63c03d60f Move update.sh to hacking repository ,see #10081 10 years ago
Patrick McConnell 04b2c698ba Updated memory facts fix using dict.get() to avoid KeyError 10 years ago
Toshio Kuratomi 747cc26ae1 Update modules 10 years ago
Toshio Kuratomi be9b445245 Document the force=no changes for version control modules 10 years ago
ZhiFeng Hu d4864eabdc Add shell script to fast update ansible repo 10 years ago
James Cammarata c978c77796 Fixing more v2 bugs 10 years ago
Toshio Kuratomi f20967078e Fixes to @RadishTheHut's memory facts as discussed in
https://github.com/ansible/ansible/pull/10129#issuecomment-72077500

* Switch default value from 0 to None.
* Prefill keys with default value so that determining calculated values
  is easier
10 years ago
Toshio Kuratomi d57f7b4b9e Merge pull request #10130 from bcoca/inventory_consistent_naming
made inventory consistent in config file, deprecated old config hostfile
10 years ago
Brian Coca c73254543a made env var also consistent 10 years ago
Brian Coca 4fd760467b made inventory consistent in config file, deprecated old config hostfile 10 years ago
Brian Coca 751701c6f2 Merge pull request #9672 from quinot/topic/lineno-in-inventory-err
Report location (filename and line number) for inventory syntax errors
10 years ago
James Cammarata 171a67cfef Tweaking role path searching in v2 to be a bit more like v1 10 years ago
Brian Coca e4a7b973fd Merge pull request #9128 from msabramo/expose_more_user_facts
Expose more facts about user on host system
10 years ago
Patrick McConnell 0c3a273805 Fix for memory fact gathering
I have a host which started to fail while gathering facts after the addition
of expanded memory facts in PR #9839:

Traceback (most recent call last):
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 4278, in <module>
    main()
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 137, in main
    data = run_setup(module)
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 81, in run_setup
    facts = ansible_facts(module)
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 4217, in ansible_facts
    facts.update(Hardware().populate())
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 2339, in populate
    self.get_memory_facts()
  File "/home/ansible/.ansible/tmp/ansible-tmp-1422536976.05-133253824703289/setup", line 2375, in get_memory_facts
    'cached': memstats['swapcached']
KeyError: 'swapcached'

My problem host doesn't have SwapCached in /proc/meminfo. It may be better to
set defaults for these keys, since the values provided by /proc/meminfo can
change from version to version.
10 years ago
Toshio Kuratomi fef435cc2a Correct typo 10 years ago
Toshio Kuratomi 0eabf3bb99 Change subversion tests -- export test didn't test exporting before 10 years ago
Toshio Kuratomi 556d4f0025 Update core modules 10 years ago
Toshio Kuratomi 7f362fe598 Add force=false changes to ChangeLog 10 years ago
Toshio Kuratomi 44fe38030f Update core modules for subversion fixes 10 years ago
Toshio Kuratomi b3d5f82d29 copy to_bytes and to_unicode functions from kitchen for use in v2 10 years ago
Toshio Kuratomi 3d5523fbb7 Fix for unicode filenames for template module
Fixes #10110
10 years ago
James Cammarata 181dd058eb Fix roles_path loading in v2 10 years ago
James Cammarata ed05db52ba Fixing playbook includes in v2 where included paths are relative 10 years ago
James Cammarata b07ab41994 Fix directory loading of host/group vars in v2 10 years ago
James Cammarata 4d9bf37afa Fixing some v2 inventory bugs 10 years ago
James Cammarata b6a34518ad Fixing checkmode support and some other things in v2 10 years ago
Brian Coca daa2c3a956 Merge pull request #9584 from Sgoettschkes/issue_docs_missing_ansible_sudo
Adding inventory parameter to documentation
10 years ago
Toshio Kuratomi 0aac6360e4 Update core modules 10 years ago
Brian Coca 1988f9015e Merge pull request #10120 from rounds/devel
Reference tests/README.ME in the Makefile notes
10 years ago
Ofir Petrushka 37cc4cf9cb Reference tests/README.ME in the Makefile notes
https://github.com/ansible/ansible/issues/6776
10 years ago
Brian Coca 990d08b63f Merge pull request #10113 from bcoca/url_lookup
Url lookup
10 years ago
Brian Coca 11005e7b28 Merge pull request #9839 from nousdefions/memfacts
Memfacts
10 years ago
Brian Coca 66fb24adef Merge pull request #10117 from dago/patch-1
Add OpenCSW for Solaris
10 years ago
Dagobert Michelsen 7a90139e3c Add OpenCSW for Solaris 10 years ago
Toshio Kuratomi 23a2e52cb7 Merge pull request #10111 from wjimenez5271/patch-2
explain -q flag for env-setup
10 years ago
Brian Coca 6118bf4b64 corrected missing quote 10 years ago
Brian Coca 3d6b6edea9 added url lookup plugin 10 years ago
Brian Coca 424065229c added example of url lookup 10 years ago
Toshio Kuratomi 35321ec642 ansible.utils to_unicode/to_bytes isn't robust in the face of
non-strings.  Do some value checking in the calling code
10 years ago
William Jimenez 36e0e1ef26 explain -q flag for env-setup
See https://github.com/ansible/ansible/issues/10109
10 years ago
Toshio Kuratomi 418e24cc6c Merge changes from v1 env-setup into v2/env-setup 10 years ago
Toshio Kuratomi 35b4e6a3d0 Merge pull request #10092 from rpe-github/devel
In env-setup use basename -- $0 in case $0 starts with a dash.
10 years ago
Toshio Kuratomi eebba11558 Remove the build-dep change test. Doesn't seem like there's a way to do that. 10 years ago
Toshio Kuratomi a6a911d2ed We changed the way build-dep is specified in the module; also change it in the tests 10 years ago
Toshio Kuratomi 975b547aaa Update core modules 10 years ago
Toshio Kuratomi a63e4c595f Another place that needs to be json_dict_bytes_to_unicode 10 years ago
Toshio Kuratomi 0f6b87d33e Revert "Fix import statements" -- those impotrt statements were right
before... something else is fishy

This reverts commit 8ab536fbf2.
10 years ago
Toshio Kuratomi 8ab536fbf2 Fix import statements 10 years ago
Toshio Kuratomi d3666f3265 Make py2.4 remote checksum large-file-enabled as well 10 years ago
James Cammarata bbd08cd0e2 Fixing more v2 issues with integration tests 10 years ago