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
Alexander Gubin
5dec45e24a
Fix wrong distribution facts on SLES/openSUSE
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
Erick Michau
59e92bc92c
add support for local/remote syslog logging
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
2fa9a0958a
v2: added draft url lookup
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
James Martin
e2ce673b1a
Properly empties ASG before terminating it, and waits for ASG to be deleted.
...
Updated to support wait_for_instances and replace_all_instances.
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
Toshio Kuratomi
6f5d18a20e
Merge pull request #10087 from axos88/devel
...
fix checksum calculation for large files
10 years ago
Toshio Kuratomi
c8ed12a69c
Merge pull request #10103 from conrado/apt-builddeps
...
added: integration tests builddeps for apt module
10 years ago
Toshio Kuratomi
335cf2f05f
Update module repos
10 years ago
Toshio Kuratomi
915d232d5f
jinja2 cannot handle byte strs with non-ascii. So we need to transform potential byte str into unicode type. This fix is for dynamic inventory.
...
Fixes #10007
10 years ago
Conrado Buhrer
0c1193f11d
added: integration tests builddeps for apt module
10 years ago
Brian Coca
2f1fc3e042
Merge pull request #10100 from ansible/revert-9834-fix-variables-with-dashes
...
Revert "Support variable values with dashes"
10 years ago
Brian Coca
9d190c8d8d
Revert "Support variable values with dashes"
10 years ago
Brian Coca
13bbf9bfbb
Merge pull request #9834 from nathancahill/fix-variables-with-dashes
...
Support variable values with dashes
10 years ago
James Cammarata
455423aafb
Updating submodule reference for v2
10 years ago