Commit Graph

76 Commits (fde00327b043a4ef6c9b358f6a92dc32f38e5077)

Author SHA1 Message Date
Jeroen Hoekx 8ffed6df75 Support custom jinja2 filters.
This uses the plugin framework to add filter plugins.
The previously hardcoded core filters are defined using the plugin
framework now.
Michael DeHaan cceb99acd5 Simplify the group_by example a small bit
Jeroen Hoekx b336d40101 Add a group_by action plugin.
Michael DeHaan 457cdb2be0 Add note about when you still have to use only_if
Michael DeHaan 21258dcc66 Added 'when' as a shortcut around only_if.
Jeremiah Heller 37bdefae74 add role_attr_flags parameter to postgresql_user
Pass role_attr_flags a list of comma separated role
attributes when creating or updating a user.
Michael DeHaan 7b6f8e485a refine example
Michael DeHaan 971dd53622 Added documentation on looping over with_* like fileglob
Michael DeHaan 7644dbe330 Update some examples to explain why notify is not used
Michael DeHaan 57c9534abb Simplify register example
Michael DeHaan 08b70949c7 Fix a test and a typo in an example
Matthew Johnson 0f5a4e2112 add logrotate config
Michael DeHaan f07772b74b update playbook example
Mark Theunissen bfe3e97e63 Update the example playbook for the new MySQL parameter format
Michael DeHaan 861c258856 Merge pull request from elventear/postgresql_user
Missing change for postgresql example playbook
Pepe Barbe 6f3a507a54 typo
Pepe Barbe a2627e0b54 fix example
Michael DeHaan ffdca762fa Add template example so I don't have to remember how it works
Michael DeHaan 5effbd4ff5 add note about 'local_action'
Michael DeHaan 9aa41f075d Add examples of the 'serial' and 'delegate_to' keywords to examples/playbooks.
Michael DeHaan 05a128c2be Add ability to store and access module results later on in the play. See examples/playbooks/register_logic for details.
Michael DeHaan ce015fcaf8 add output of password step for easy testing
Rodney Quillo d1f821361d vars_prompt encrypt from mgw
Michael DeHaan a1b4123931 whitespace
Lorin Hochstein 5a109154f1 Rename: postgresql.yaml -> postgresql.yml
Lorin Hochstein dcd214a631 Use standard argument names in PostgreSQL modules
passwd -> password
loginpass -> login_password
loginuser -> login_user
loginhost -> login_host

Add an example playbook that shows how to use the modules.
Michael DeHaan ee5f12cd40 Slight tweaks on vars_prompt upgrades
Petros Moisiadis c717934b7e Improved 'vars_prompt' syntax to support prompt text and (non-)private input
An example of the new syntax:

vars_prompt:
 - name: 'secret_variable_name"
   prompt: "Enter secret value: "
   private: "yes"
 - name: "nonsecret_variable_name"
   prompt: "Enter non-secret value: "
   private: "no"
Michael DeHaan fdf14ec7ab fix module name in examples
Michael DeHaan 0b891fc8fb Tweaking daisychain internals to allow get_url to modify the path destination when downloading to a directory.
Minor module refactoring.
Jan-Piet Mens b8d7b5041b new module: get_url
get module (with new module-magic-code!)
	Usage: ansible -m get -a "url=http://xxxxxxx  dest=fileordirctory"
	all cleanups as per @mpdehaan's suggestions
	add daisychain
	added example playbook (get_url.yml) with URLencode example
Michael DeHaan 279b5965b8 Much streamlining around setup steps in playbooks, now only run setup once per play.
Michael DeHaan 86c25fd82d Merge pull request from marktheunissen/mysql
The MySQL modules
Mark Theunissen f47cc1693d The MySQL modules
Michael DeHaan 611e5b0c90 Make adding tags to a playbook work as shorthand to tagging all tasks in the play.
Michael DeHaan a765deccce Allow top level playbook files to import other playbook files, added some basic
playbook structure checking.
Michael DeHaan 969c3feb13 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!
Michael DeHaan 83f23ef861 Basic support for tagging tasks and selecting a subset of tasks to run with --tags.
Michael DeHaan b9b53d1941 Playbook refactoring -- work in progress.
Michael DeHaan 9bb8e8e36d Don't use template syntax in non-templates, it's not the default anymore
Michael DeHaan 39e791a1d3 Log last execution of ansible-pull to /var/log/ansible-pull.log
TODO: logrotate script and append to log instead.
Michael DeHaan adca320490 Change defaults so people have to make conscious decisions about pull setup.
Michael DeHaan a33320d03d Add some comments to ansible-pull and the example playbook
Stephen Fromm 23ff967f38 Copy inventory file to client
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.
Michael DeHaan 0d5bee2dfa Revert "Revert "Actually wait for password prompt in remote sudo execution. Totally breaks stderr debugging"
This reverts commit e16114034c.

Conflicts:

	lib/ansible/connection.py
Michael DeHaan f939f3fdaf Playbook can now take a 'name' which it will show when starting the play
Michael DeHaan aa8ae85070 Add playbook example for first_available_file
Stephen Fromm bcfa6a7865 Add another example to file_secontext.yml
Demonstrate what happens when there is no default context in the policy.
Stephen Fromm 0f044e64f8 Add example playbook of file module's selinux capabilities