Commit Graph

3985 Commits (e4ccf2d8e076e27af76eb1ea387a6a5f45c49c87)
 

Author SHA1 Message Date
James Martin 7129a9e355 Using "OtherLinux" in module_commons, cleander detection in setup. 12 years ago
James Martin 5646bc278b Support for amazon linux distribution facts. 12 years ago
Michel Blanc 0cd0a7fda3 Fixes jina typos
Moved *jina* to *jinja2*
12 years ago
Michel Blanc 1c22f2146e Adds configurable jinja2 extension loading
Jinja extensions adds features to the jinja2 templating engine. This
patch allows module loading for the templating engine vian an
ansible.cfg configuration key (jinja_extensions).
The default behaviour doesn't change (no module loading).
Requested modules can be added coma separated in ansible.cfg

Adds whitespace handling in jinja_extension config

Added whitespace handling in jinja_extension configuration directive, so
things stay safe if user adds spaces around comas in the directives
list.

Adds config example for jinja_extensions

Added config example with multiple extentions for jinja_extensions
12 years ago
Yves Dorfsman 83ce1b2dc5 Modified to follow Daniel Hokka Zakrisson's recommendations. 12 years ago
Yves Dorfsman 4de1b4e8a9 Added an insertbefore option. 12 years ago
Blair Zajac fa8e653011 Simplify and correct comparisons with None. 12 years ago
Michael DeHaan 2172201795 Merge pull request #2091 from davixx/sysctl2004
Solving bug : sysctl check_after failing on multi-value sysctl parameters
12 years ago
Michael DeHaan 21693b2d22 Merge pull request #2079 from huberteff/devel
Add NetBSD support for 'service' module, and add an example to 'lineinfile'
12 years ago
Michael DeHaan 7827db6996 Merge pull request #2078 from huberteff/e2158b661d250c04609e7faff4d8e67df9cb37e4
Add example for adding to sudoers file
12 years ago
Michael DeHaan 9cb710b2f7 Merge pull request #2073 from nigelm/hosts_comment_fix
Allow end of line comments in inventory file - fixes #2072
12 years ago
Michael DeHaan 85c87e507e Slight docs tweak about thirsty mode on the copy module 12 years ago
Michael DeHaan b5f90ef054 Merge branch 'thirsty_copy' of git://github.com/bcoca/ansible into testing 12 years ago
Michael DeHaan 11c730c4ca Merge branch 'devel' of git://github.com/trendels/ansible into testing 12 years ago
Johan Wirén 75b52d745e Updated documentation. Works with ansible-doc 12 years ago
Stoned Elipot 438c77f762 pasto and core connection plugins reference fix 12 years ago
davixx 8bf0c8dc5c Solving bug https://github.com/ansible/ansible/issues/2004
Now handle positive integer value in virtual files if they are separated
by group of space characters where the count is unpredictable.
Thanks to romeotheriault for filing this bug.
12 years ago
Michael DeHaan 36f613f51e Merge pull request #2088 from pas256/devel
Documentation fix for apt module: install-recommends
12 years ago
Peter Sankauskas 6fd0316fa6 The default for install-recommends is actually Yes, not No, as is
visible on line 121
12 years ago
lwade 0a2a647831 Updated comments and closed code example. 12 years ago
lwade 8617b6df90 Adding a simple EC2 volume module for creation and attach 12 years ago
Johan Wirén 94813d38e6 Added zfs example playbook 12 years ago
Johan Wirén 19c94d7380 Added zfs module 12 years ago
Mark Maas 6a89177a59 Added support for AIX 5.3 and 6.1
A collegue of mine has added basix AIX support to the setup, user and group modules.

We have tested this on AIX 5.3 and 6.1 and it works "as advertised"
12 years ago
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