Commit Graph

1151 Commits (0d5089c2a37d2cd7688ffe5f57ff836eceda6e4b)
 

Author SHA1 Message Date
Michael DeHaan 0d5089c2a3 Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications
around file pathing and removes occasional permissions conflicts depending on how things are used.
14 years ago
Michael DeHaan a840ff75b8 Changelog update 14 years ago
Michael DeHaan 264983e89f Squashed commit of the following:
commit 4430ce3eefcdff0b0ceffea0ef66ea8e876a807d
Merge: 631783b 649963c
Author: Michael DeHaan <michael.dehaan@gmail.com>
Date:   Thu Jul 12 01:28:43 2012 -0400

    Merge branch 'host-groups' of https://github.com/dagwieers/ansible into daggroups

commit 649963ca2c
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 23:01:00 2012 +0200

    Added comments in the example yaml file as requested

commit 7f9718f185
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 22:49:38 2012 +0200

    Add the default nose color too, to test specific overrides

commit eb63b9e899
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 22:44:35 2012 +0200

    Introduce comics and cartoons to test yaml groups defined on a per-node basis

commit aa13d23307
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 19:33:15 2012 +0200

    A small fix to revert to old state

commit 264ebaa77c
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 19:31:51 2012 +0200

    Combine both yaml unit tests into one example file

commit 7db49a8048
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 16:46:53 2012 +0200

    Might as well fix this too

commit f36c6c8c5b
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 16:42:00 2012 +0200

    Added unit tests for host-groups patch

    For the unit test I chose to keep the original yaml file in place as a reference.

    This patch also includes a fix.

commit a96f681352
Author: Dag Wieërs <dag@wieers.com>
Date:   Thu Jul 12 12:30:43 2012 +0200

    Allow groups to be defined on a per-host basis

    This makes it possible to define on a per-host basis what groups a host is in.
    When managing a large set of systems it makes it easier to ensure each of the
    systems is defined in a set of groups (e.g. production/qa/development,
    linux/solaris/aix) rather than having to add systems to multiple disconnected
    groups.

    ----
      - host: system01

      - host: system02

      - host: system03

      - group: linux
        hosts:
        - system01
        - system02

      - group: solaris
        hosts:
        - system03

      - group: production
        hosts:
        - system01
        - system03

      - group: qa
        - system02

      - group: dbserver
        hosts:
        - system01

      - group: ntpserver
        hosts:
        - system02

      - group: webserver
        - system03
    ----

    Can be redefined as:

    ----
      - host: system01
        groups: [ linux, production, dbserver ]

      - host: system02
        groups: [ linux, qa, ntpserver ]

      - host: system03
        groups: [ solaris, production, webserver ]
    ----
14 years ago
Michael DeHaan 631783bbaa Merge pull request #590 from marktheunissen/mysql
The MySQL modules
14 years ago
Mark Theunissen 34a514ee62 The MySQL modules 14 years ago
Michael DeHaan 13abe5090d Merge pull request #587 from dagwieers/ssh-fetch
Wrong evaluation of a local file before fetching the remote file
14 years ago
Dag Wieërs f0d6e82cd0 Wrong evaluation of a local file before fetching the remote file 14 years ago
Michael DeHaan b80d3aebbb Merge pull request #586 from tima/env-private-key-fix
The default private key file was getting set incorrectly from environment variables. My bad.
14 years ago
Timothy Appnel e96e141d0e The default private key file was getting set incorrectly from environment variables. My bad. 14 years ago
Michael DeHaan 40c55ebbdb Merge pull request #583 from jeremysmitherman/boolean_parameters
Removed unused recurse option in file module.
14 years ago
Michael DeHaan 0abb410ac6 Merge pull request #584 from gottwald/devel-cowsayUbuntu
Enabled cowsay support for Ubuntu
14 years ago
Ingo Gottwald 8d94b30ce3 Enabled cowsay support for Ubuntu 14 years ago
Jeremy Smitherman ca2da7e220 Removed unused recurse option in file module. 14 years ago
Michael DeHaan 2312127fe7 changelog update 14 years ago
Michael DeHaan 339921de54 Bring the cobbler external inventory script up to date with current usage (--list, --host hostname) 14 years ago
Michael DeHaan 7e8e134b6a Make adding tags to a playbook work as shorthand to tagging all tasks in the play. 14 years ago
Michael DeHaan ebc7663ccf Soft import of paramiko since we have the SSH and local connection types now. Packaging will still
require it.
14 years ago
Michael DeHaan 997fc08555 Allow top level playbook files to import other playbook files, added some basic
playbook structure checking.
14 years ago
Michael DeHaan bc2ad5dd8b changelog update 14 years ago
Michael DeHaan b5f496fc8b Merge pull request #576 from davehatton/adjust_playbook_output_formating
improve output formating for playbook
14 years ago
Michael DeHaan 4d7cc0797e Allow include statements from plays to specify tags (see tags.yml example file).
Also be smart and don't run a play at all if no tasks in the play match any of the tags specified.  This includes not running the setup actions!
14 years ago
Michael DeHaan f6f77e7ac1 Basic support for tagging tasks and selecting a subset of tasks to run with --tags. 14 years ago
Michael DeHaan 1b88855692 Merge pull request #578 from jeremysmitherman/boolean_parameters
Removed boolean parameter setting from user module.
14 years ago
Michael DeHaan 3c6d884d7a Merge pull request #572 from goozbach/devel
fixes #569 apt module problems on old versions of apt-python
14 years ago
Jeremy Smitherman da20283518 Added yes/no to user options instead of False comparison for force and remove options for user module 14 years ago
Michael DeHaan b5a5a3f486 Merge pull request #575 from jeremysmitherman/apt-force
Added cmd modifications to use a force-yes option for apt module
14 years ago
Michael DeHaan 35df9621e2 Merge pull request #571 from sfromm/group
Group module fixes
14 years ago
Michael DeHaan debdd4695a Merge pull request #573 from sfromm/user
Minor tweak to user module
14 years ago
Dave Hatton 5f26f86f94 improve output formating for playbook 14 years ago
Jeremy Smitherman 0f77f47394 Added cmd modifications to use a force-yes option for apt module 14 years ago
Derek Carter 16af372146 added filter for future warning 14 years ago
Stephen Fromm 21d78a4084 Minor fix to user module to further streamline setting 'changed' flag 14 years ago
Derek Carter b445417edf fixes #569 apt module problems on old versions of apt-python (namely debian 5.0) 14 years ago
Stephen Fromm a0d520de26 Fixes to group module for better error handling
Takes a lot of the fixes to the user module and applies them to the
group module: provide stdout/stderr in result if available and call
fail_json() if the attempted action fails.
14 years ago
Michael DeHaan b3147dd3df Merge pull request #568 from sfromm/user
User modules fixes
14 years ago
Michael DeHaan b06a7cbd04 Merge pull request #566 from jeremysmitherman/service-no-pid
Added additional output to service status checker
14 years ago
Michael DeHaan f97d1e147c Merge pull request #567 from skvidal/devel
modify user module so that password is NEVER logged before the command runs
14 years ago
Stephen Fromm 7363f2737e Fixes to user module for better error handling
The user module now returns the output, both stdout and stderr, from
useradd, usermod, and userdel.  This should help debug cases why one of
those commands fail.  In addition, the user module will now call
fail_json() when the attempted command failed so as to properly
communicate a failure in a playbook.
14 years ago
Seth Vidal 606277476b modify user module so that password is NEVER logged before the command runs 14 years ago
Jeremy Smitherman 8018b217a2 Added additional output to service status checker 14 years ago
Michael DeHaan d453000193 Merge pull request #559 from jkleint/iterative-md5
Use iterative MD5 hashing.
14 years ago
John Kleint 07ef38e447 Use iterative MD5 hashing. 14 years ago
Michael DeHaan 313fd17a73 Merge branch 'change_to_using_hashlib_or_md5' of https://github.com/davehatton/ansible into devel
Conflicts:
	lib/ansible/utils.py
14 years ago
Dave Hatton 87e83be826 switch to hashlib.md5 or md5 instead of OS md5 commands 14 years ago
Michael DeHaan c150e9f14f Revert "switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call"
This reverts commit 865796c368.

(Superseeded by next commit)
14 years ago
Michael DeHaan 5211b58a98 Merge pull request #554 from davehatton/switch_to_using_hashlib_or_md5
Switch to using hashlib or md5
14 years ago
Dave Hatton 865796c368 switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call 14 years ago
Dave Hatton 6e6d01799e further md5 fixes 14 years ago
Michael DeHaan f3e2c7099f changelog update 14 years ago
Michael DeHaan 79e47f53dd When sudo'ing to root, keep the setup file location as /etc/ansible/setup 14 years ago