Commit Graph

3961 Commits (6d604469d8cbdaf0bdf5915b12f5d1f4bf07f62f)
 

Author SHA1 Message Date
Daniel Hokka Zakrisson 584fd7a261 Fix Python 2.6-isms in sysctl module 12 years ago
Hubert Feyrer 18d9fc581d Add support for NetBSD. Tested on NetBSD 6.0/i386. 12 years ago
Hubert Feyrer e2158b661d Add Linux-style path for sudoers file, to be consistent with other examples. 12 years ago
Hubert Feyrer d4b9de643b Add an example on how to *add* a %wheel line to sudo - tricky as it has
a colon, which needs some special attention.
12 years ago
Nigel Metheringham c0e28762f0 Allow end of line comments in inventory file
See github issue 2702
https://github.com/ansible/ansible/issues/2072
12 years ago
Michael DeHaan 81d426de2a Merge pull request #2066 from lorin/git-example
Add example of read-write git checkout via ssh
12 years ago
Lorin Hochstein 321175cdfa Add example of read-write git checkout via ssh 12 years ago
Daniel Hokka Zakrisson 7e2999ed2d Add directory detection to _remote_md5 and use this in copy
If it is a directory, change the destination path by appending the
basename of the source file, like is done if the destination ends with a
/, and try to get the MD5 of the new path.
12 years ago
Daniel Hokka Zakrisson f12dbd431a Don't remove invocation from the result in the log callback
Fixes #2064.
12 years ago
Daniel Hokka Zakrisson 85fb8494c5 Clean up device fact gathering
Remove lots of re use that really shouldn't have been re in the first
place. Initialize pcidata even if lspci is unavailable, and check for
its usability before trying to use it.

Fixes #2060.
12 years ago
Daniel Hokka Zakrisson 0212fed922 Merge pull request #2061 from candeira/fix_bug_in_user_module
fix remote execution NameError in module 'user'
12 years ago
Javier Candeira ae81e3607f fix remote execution NameError in module 'user' 12 years ago
Michael DeHaan 589548531e Merge pull request #2054 from kavink/devel
Fixing logical error in detecting virtual device.
12 years ago
Kavin Kankeshwar 3042366199 Fixing logical error in detecting virtual device.
So In my Centos 5.9 machine, if there is RAID mount ansible will crash, as it cannot find scheduler file. The reason being, this should be a virtual device as there is no "device" folder under e.g. /sys/block/md0/

Here is the crash:

[kk@u1 ansible]$ ansible q3 -m setup -k -u root --tree=/tmp/facts
SSH password:
q3 | FAILED => failed to parse: /sys/block/md0
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1797, in ?
    main()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1050, in main
    data = run_setup(module)
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 1000, in run_setup
    facts = ansible_facts()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 990, in ansible_facts
    facts.update(Hardware().populate())
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 312, in populate
    self.get_device_facts()
  File "/root/.ansible/tmp/ansible-1360629441.14-171498703486275/setup", line 439, in get_device_facts
    m = re.match(".*?(\[(.*)\])", scheduler)
  File "/usr/lib64/python2.4/sre.py", line 129, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
12 years ago
Michael DeHaan af3402fe35 Merge pull request #2043 from chrishoffman/rabbitmq
Rabbitmq Module Updates
12 years ago
Daniel Hokka Zakrisson d632210941 Allow using other users' home directories as well 12 years ago
Daniel Hokka Zakrisson 89e73c123f Fix tilde expansion for fileglob
Use common suffix to determine what part of original term to keep and
how much of the full path to combine to get a usable filename.
12 years ago
Daniel Hokka Zakrisson 57e51f7fdf Clean up some extra_vars redundancy 12 years ago
Daniel Hokka Zakrisson 57cac788fb Fix setup when /sys/block is inaccessible 12 years ago
Daniel Hokka Zakrisson 5ba090c366 Fixes for Python 2.4 12 years ago
Daniel Hokka Zakrisson 1a0f3b173e Merge pull request #2046 from chrishoffman/importfix
Duplicate/missing import
12 years ago
Chris Hoffman 9057f72881 Removing duplicate import, adding missing import 12 years ago
Daniel Hokka Zakrisson a1e00c93e5 Add ansible_ssh_user/pass to enable inventory-defined users 12 years ago
Chris Hoffman 507e49396b Updating how to run commands in check mode 12 years ago
Chris Hoffman ca3b8228f7 Updating how to run commands in check mode, standarizing quotes 12 years ago
Chris Hoffman 2c947c2ed6 Adding aliases 12 years ago
Chris Hoffman 114a4dc597 Standarizing quotes 12 years ago
Chris Hoffman 31e5e81fcd Standarizing module in line with other rabbitmq modules, adding support for setting tracing 12 years ago
Chris Hoffman b79d7a606c Using new qualified executable 12 years ago
Daniel Hokka Zakrisson c83e428a7e Default expand_lists to True and set it to False for only_if
Fixes #2026 and #2027.
12 years ago
Chris Hoffman c94ec20a16 Getting fully qualified path for executable 12 years ago
Chris Hoffman 5a4ff6ca60 Cleaning up tag compare, getting fully qualified path for executable 12 years ago
Chris Hoffman 32c7fa7f70 Remove unneccesary quotes from user task 12 years ago
Michael DeHaan b2b1900765 minor aesthetics tweak 12 years ago
Michael DeHaan b1c739889c Add example of working with the environment 12 years ago
Michael DeHaan f7497e75e5 Able to use "environment: " on any task to pass proxy details and other useful settings. Can be a variable
or a dictionary.
12 years ago
Michael DeHaan 72a05ae2a0 Move diff code more into runner code. 12 years ago
Michael DeHaan 6f0c9592bb Additions to Who Uses Ansible 12 years ago
Michael DeHaan 0ad6ac4086 Fix group depth for nested groups 12 years ago
Michael DeHaan 85b52ca625 Resort the who uses ansible page 12 years ago
Michael DeHaan f41cf5528c Add complex networking setup to docs! 12 years ago
Michael DeHaan df032dfd11 Merge pull request #2039 from okorz001/fix-man-page
Correct -u description in ansible man page
12 years ago
Michael DeHaan 828119d823 Allow the remote username to come from a variable set in vars_files or vars 12 years ago
Michael DeHaan e6ead2ca74 make things like $FILE(/etc/path/foo.conf) and $ENV(HOME) work without having to use brackets to index them 12 years ago
Oscar Korz ba807ed5a8 Correct -u description in ansible man page 12 years ago
Michael DeHaan e906271f91 Update changelog -- wow, lots of nice stuff merged in today! 12 years ago
Michael DeHaan 790cc11f03 Change the 0.X part to not imply something new was added in 0.X something if a user forgets to put in a specific version in the module docs. 12 years ago
Michael DeHaan 6c4e1db54e Documentation formatting for mongodb_user so it will show up in ansible-doc and the web. 12 years ago
Michael DeHaan 3c51feb36c Had to remove the instance_tags example because our doc generator was choking on it, feel free to add it back if you can get it to be valid
YAML again :)
12 years ago
Michael DeHaan 27ff22610d Fix lineinfile docs formatting 12 years ago