Commit Graph

22527 Commits (9bd58bd22407822daab14c2e484b6bbbac4102d2)
 

Author SHA1 Message Date
Wes Johnson 77f33a70ba remove old dest entries 13 years ago
Wes Johnson b06c4a1618 rewrite file's 'dest' argument
Previously, there were two entries for 'dest'. I've combined them in a
way that makes sense to me.

This will be superfluous when 'path' is made. Ideally, I'd like to see
'path' have the bulk of the definition, and 'dest' to be an alias to
'path'.
13 years ago
Wes Johnson 8f165e1d3c Revert "ignore eclipse's .project file"
This reverts commit 21550f6586.
13 years ago
Wes Johnson 21550f6586 ignore eclipse's .project file 13 years ago
Wes Johnson dfd671d60e change 'name' to a better description for variable example.
'make a directory' is a bad description, since the command "template …"
doesn't actually create a directory.
13 years ago
Michael DeHaan 5954a7d8cc Merge pull request #88 from sfromm/selinux
Update file documentation for se* options
13 years ago
Michael DeHaan 449c60153c Merge pull request #90 from pas256/patch-1
Add UID to user module documentation
13 years ago
Peter Sankauskas 01576f9447 Add UID to user module documentation 13 years ago
Stephen Fromm 2059c5f657 Update file documentation for se* options
Describes how you can use '_default' to seuser, serole, setype, and
selevel to use the default context from the policy, if available.
13 years ago
John Callender 26c141e96e Issue #84: Doc tweaks for modules, moduledev, and playbooks 13 years ago
John Callender b247da54f1 Issue #82: Minor edits to doc text and formatting 13 years ago
Michael DeHaan 1c5f5acadf Rebuild 13 years ago
Michael DeHaan 0c2dd7b057 Clarify include section 13 years ago
Michael DeHaan b300aac551 Include files are no longer to be considered Jinja2 templates, but individual THINGS
in included files can still be templated just like top level playbooks.  Resolves
some issues about statements being evaluated before facts were available
13 years ago
Michael DeHaan 16c4802476 Docs rebuild 13 years ago
Michael DeHaan 139a1324e9 Allude to ansible-pull, more docs coming later. 13 years ago
Michael DeHaan adca320490 Change defaults so people have to make conscious decisions about pull setup. 13 years ago
Michael DeHaan a33320d03d Add some comments to ansible-pull and the example playbook 13 years ago
Michael DeHaan e54eeb7629 Merge branch 'local' of https://github.com/sfromm/ansible into devel 13 years ago
Stephen Fromm 84c9caa805 Simplify ansible-pull to just invoke ansible and ansible-playbook
This eliminates the creation of runner and playbook instances and just
invokes the processes ansible and ansible-playbook.
13 years ago
Stephen Fromm 23ff967f38 Copy inventory file to client 13 years ago
Stephen Fromm 672794f586 Add ansible-pull
A first stab at a pull-based model for ansible.  This does two things:
    1. Invoke the git module via Runner to set up a git repository on the
       localhost.  It sets up Runner to use transport='local' and forces
       the inventory to just 'localhost'.
    2. Run any playbooks provided.  By default, this wants to run the
       playbook local.yml.  This also sets transport='local' and sets
       the host_list to a list: localhost, fqdn, and hostname.
The reason for setting the host_list and not using override_hosts is
because there may be plays in the playbook that are not meant for a
specific host.  That is, if the git repository is for the entire site
and not host-specific, you don't want to override hosts and apply all
plays to any given host.  This has the downside of potentially running a
play three times if the play is defined for 'hosts: all'.
13 years ago
Stephen Fromm 3803b27f6c Add playbook and template to set up ansible-pull
Playbook will install ansible, create directory where git checkout goes,
and set up a cron job to run ansible-pull.
13 years ago
Michael DeHaan df61a65344 Merge pull request #294 from jhoekx/inventory-hostname
Define 'inventory_hostname' variable for hosts.
13 years ago
Michael DeHaan fe90650311 Merge pull request #295 from jhoekx/user-existing-groups
Group order in user module should not matter.
13 years ago
Jeroen Hoekx 2c8fbdbd20 Group order in user module should not matter.
Groups are not necessarily returned in the defined order, especially when the user already existed before ansible started managing the system.
13 years ago
Jeroen Hoekx 03541baba7 Define 'inventory_hostname' variable for hosts. 13 years ago
Michael DeHaan 28cf753756 changelog update 13 years ago
Michael DeHaan 5b8ee8488d update development changelog 13 years ago
Michael DeHaan 02efcdced6 Merge branch 'devel' of https://github.com/skvidal/ansible into skvidal-devel 13 years ago
Seth Vidal 38ea61054f if a playbook has no vars - still include the global vars 13 years ago
Seth Vidal dc35dd99c0 inventory group 'all' variables are global variables
applied to every host and available all over
they are read in so that ones defined first can be used to define
the later ones.
13 years ago
Rafal Lewczuk 3de61fb180 Fix: file module does not remove dangling symlinks 13 years ago
Rafal Lewczuk 06e99ee75e Trivial fix: make PyDev happy (imports). 13 years ago
Michael DeHaan 7ff1679007 Merge pull request #303 from jkleint/devel
Remove command timeout.
13 years ago
Michael DeHaan 548b551bfd Merge pull request #306 from leucos/devel
Adds support for Ubuntu style update-rc.d
13 years ago
Michel Blanc a7e4da92db Fixes _find_binaries not using globals
_find_binaries now sets the right globals
Binaries are now properly populated (reverse path/binary for loops)
13 years ago
Michel Blanc 572868c9e1 Adds support for Ubuntu style update-rc.d
Checks if update-rc.d (Ubuntu) or chkconfig (RHEL) should be used.
Adds basic bin path search for those binaries
Adds 'enable' and 'disable' options for 'enable' command since it's the
arguments that update-rc.d uses (this might be somewhat confusing to
have a command line with 'enable=enable', but probably mkes sense for
Ubuntu users).
Allows use of mixed case for 'list' and 'state' commands.
13 years ago
Michael DeHaan 9ad4e7d149 Merge pull request #300 from sfromm/git
Updates for git module
13 years ago
Michael DeHaan 5fe677645d Merge pull request #302 from sfromm/selinux
Set default selinux context with '_default'
13 years ago
Michael DeHaan 52efc90326 Merge pull request #299 from pas256/patch-1
test-module arguments file location
13 years ago
John Kleint cbbaee8a9f Remove command timeout. 13 years ago
Stephen Fromm f1b7149fcf Update how to set default selinux context for file
This removes the 'context' option and replaces it with checks for
'_default' value for seuser, serole, setype, or (maybe) selevel.
If '_default' is provided *and* there is a default context for the given
file, this will set the file context to the available default.
13 years ago
Stephen Fromm 887d293a3b Add git reset --hard support to git module
Resets working tree to what is in HEAD and discards any
uncommitted changes.
13 years ago
Stephen Fromm 40dbd9b3d7 Add exit_json and fail_json to git module
This adds exit_json() and fail_json() to git module.  It also sets
version to 'HEAD', if not provided.
13 years ago
Peter Sankauskas f9a14cfec1 Adding a missing '~' to use the user's home directory instead of the root file system for the module arguments 13 years ago
Michael DeHaan 594084bc9f Merge pull request #287 from dne/user-group-add-system
Add 'system' option for user and group modules
13 years ago
Michael DeHaan af74c741ef Merge pull request #285 from tbielawa/fixLicenseInDevel
Fix license in devel
13 years ago
Michael DeHaan 27582ad313 Merge pull request #281 from dne/file-link-relative
File module fix for symlink from relative source path
13 years ago
Michael DeHaan dd380f67e6 Merge pull request #289 from skvidal/devel
service enable=on/off
13 years ago