Commit Graph

4983 Commits (8d0b8c70cef72351c87d762db6d209f96e547202)
 

Author SHA1 Message Date
Dag Wieers 4135cffc3f Implement python-dmidecode/dmidecode as alternative for kernel DMI
This implementation falls back to python-dmidecode (RHEL5.5+) if the kernel as no DMI support. Alternatively, if python-dmidecode is missing, we attempt to use the dmidecode binary (for RHEL5.4 and older) before giving up.

This fixes #376 and #1657 and also helps @lwade on RHEL5.5+.
11 years ago
Stephen Fromm 189b210f5a Catch exception when logging to systemd journal fails
systemd journal will throw IOError exception when journal.sendv() fails.
This catches that and falls back to syslog.  See issue #2773.
11 years ago
Ingo Gottwald ad004d520f Updated cache_valid_time option to check the update timestamp if update-notifier-common is installed.
mtime of the apt lists is used as fallback.
11 years ago
Michael DeHaan fd2840c0e4 Merge pull request #2772 from lwade/ec2_volattr
Corrected instance password data check.  Previously broken after adding ...
11 years ago
Lester Wade 6a7a8cda40 Corrected instance password data check. Previously broken after adding region support. 11 years ago
Michael DeHaan a63af4fada Merge pull request #2771 from sergevanginderachter/apt-noninteractive-install
enforce no enteractiveness installing pkg with apt
11 years ago
Serge van Ginderachter 800ca63de6 enforce no enteractiveness installing pkg with apt
use the same env vars and dpkg options as for the upgrade function
also link check mode to --simulate option when installing a pkg

fixes #2763
11 years ago
Michael DeHaan b2c0f642d8 Remove stray file 11 years ago
Ingo Gottwald c4df662a7c Updated apt module documentation string with a cache_valid_time explanation 11 years ago
Ingo Gottwald 375e9d9721 Added cache_valid_time option to apt module 11 years ago
Michael DeHaan 521375a7fe Merge branch 'fix-a10d74f7' of git://github.com/sfromm/ansible into devel
Conflicts:
	library/setup
11 years ago
lonerr 30b648e48c FreeBSD startup scripts (rc) supports optional arguments. 11 years ago
Stephen Fromm 471fa6859e Fix how interfaces is updated with interface fact
Was broken when handling a bridge or bonded (possibly others) interface
11 years ago
Tin Tvrtkovic 66bcba7f19 disable_gpg_check in the yum module. 11 years ago
Michael DeHaan c601e53fce Correct a variable reference in prior code merge. 11 years ago
Jan-Piet Mens dfd885a012 Make ANSIBLE_NOCOWS configurable
nocows = 1 in ansible.cfg
	or old environment variable ANSIBLE_NOCOWS=1
add to ansible.cfg example
11 years ago
Michael DeHaan f36e85efbb Fixup apt module refactoring from previous patch. 11 years ago
Michael DeHaan bd0c22868e With fileglob should return full paths as in 1.1 11 years ago
Michael DeHaan 5cc3dd353d Update changelog 11 years ago
Michael DeHaan 574061fe47 People using vagrant are driving things top-down through the new provisioner, so the idea of using ansible to fire against
vagrant which then calls ansible seems weird to me.  This module can still be maintained outside of core.
11 years ago
Michael DeHaan 13e90c396c Merge pull request #2733 from chadoh/patch-1
Documentation: Mention vars_files before the Roles section in playbooks1 chapter
11 years ago
Michael DeHaan 35e61d8f16 Merge pull request #2688 from dagwieers/module-global
New module 'set_fact' to define host facts
11 years ago
Michael DeHaan 2fb4307227 Merge pull request #2642 from sergevanginderachter/check4aptitude
apt module: part rewrite of the upgrade logic
11 years ago
Michael DeHaan c2c50c8fdc Merge pull request #2630 from sergevanginderachter/uri-redirect
URI module -- make it support HTTP 301, 302, 303, 304, 307
11 years ago
Michael DeHaan 40c7afbb64 Merge branch 'yum_with_url' of git://github.com/dparalen/ansible into merginate3 11 years ago
Stoned Elipot e1ee257619 Default sudo password to SSH password.
While here factor out password prompting in ansible.utils
11 years ago
Michael DeHaan be947e5266 Resolve merge conflict 11 years ago
Michael DeHaan 528cb2cb3d Merge pull request #2586 from bcoca/new_validate
Added 'validate' feature to copy and template modules,
11 years ago
Michael DeHaan 40fd474d60 Add some whitespace 11 years ago
Michael DeHaan aa897571b4 Merge branch 'setup-linux-network-advanced' of git://github.com/dagwieers/ansible into devel 11 years ago
Michael DeHaan 9871707998 If sudoing and the sudo user is not root, the original file is saved as you, therefore delete that file as you. 11 years ago
Michael DeHaan 89ab3a0b9f Make --list-tasks work nicer with --tags 11 years ago
Michael DeHaan e12f91799c Allow args: var to be used to pass a variable in bare, and also templated versions should also DWIM. 11 years ago
Michael DeHaan 6c778acd91 Smush the braces in various places (hey, that rhymes) to avoid undo key=value splitting surprises
in new template system.
11 years ago
Michael DeHaan 4350585a1f Merge pull request #2747 from lwade/ec2_vol_region
Add region support to ec2 volume module.
11 years ago
Michael DeHaan 5cced79cf3 Allow variables to be used raw in with_nested 11 years ago
Michael DeHaan fbea88b9d9 Allow the environment string to be referenced by a bare variable name like:
environment: foo
11 years ago
Lester Wade e90f313c51 Add region support to ec2 volume module. 11 years ago
Michael DeHaan f16751de29 Merge pull request #2746 from lwade/ec2region
Add region parameter and changed connection code.
11 years ago
Lester Wade 8c8014363e Add region parameter and changed connection code. 11 years ago
Michael DeHaan f9f1d5ee42 Merge pull request #2745 from sfromm/issue2742
Fix test so that it is /bin/sh compliant (issue #2742)
11 years ago
Stephen Fromm ab3cb4912e Fix test so that it is /bin/sh compliant (issue #2742)
The old test used syntax that appeared to be bash-specific and did not
work on platforms where /bin/sh did not point to bash.  See issue #2742
where copy to solaris hosts failed with the error:

    output: {'stdout': '', 'stderr': '/bin/sh: test: argument expected\n',
             'rc': 1}
11 years ago
Michael DeHaan 3e0c33c1fa Empty plays should still gather facts 11 years ago
Michael DeHaan b08181e9b4 Merge pull request #2731 from stoned/flush_handlers-cleanup
handlers must be run once
11 years ago
Michael DeHaan b1d40ed064 Merge pull request #2734 from chadoh/patch-2
Documentation: Links are the best kinds of instructions
11 years ago
Michael DeHaan 08324cb5d7 Allow play tagging in context of new meta-tasks. 11 years ago
Michael DeHaan ef23c42a3d Merge pull request #2737 from jkleckner/more-spelling
Nit fix spelling of separate
11 years ago
Jim Kleckner 5e5235a433 Nit fix spelling of separate 11 years ago
Chad Ostrowski e1396f853b Links are the best kinds of instructions
Link people right to this page on Github, so they can click "edit" right there. No need for them to search for the repo, figure out that the docsite isn't a separate repo, and navigate to the given dir.
11 years ago
Chad Ostrowski 0bb145af40 Mention vars_files before the Roles section
The Roles section assumes some familiarity with vars_files, which this note attempts to briefly provide.
11 years ago