Michael DeHaan
16bf3e15c7
Merge pull request #1042 from dhozac/yum-install-rpm
...
Invoke is_installed correctly from rpm path
13 years ago
Daniel Hokka Zakrisson
56b1a8ceed
Invoke is_installed correctly from rpm path
13 years ago
Brian Coca
88d1285f33
time is what i wanted, not gmtime
...
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
13 years ago
Brian Coca
06b914c5b3
small fix to prevent temp file from living past its succesful usage
...
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
13 years ago
Brian Coca
f5481621f8
made copy atomic by creating tmp file in dest location (ensures same partition)
...
uses pid and epoch to prevent collisions, good enough for most cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
13 years ago
Michael DeHaan
4a2bf7f60a
rebuild from various pull requests
13 years ago
Michael DeHaan
0725dd8dc8
Merge pull request #218 from marktheunissen/fix_password
...
Fix parameter names in documentation: passwd doesn't exist anymore
13 years ago
Michael DeHaan
aca23f9402
Merge pull request #220 from lorin/include-playbook
...
Document including one playbook inside another
13 years ago
Michael DeHaan
f9a65f42d1
Merge pull request #221 from lorin/postgres-priv
...
Fix priv argument in postgresql_user example.
13 years ago
Michael DeHaan
4c5d98c7ee
Merge pull request #222 from romeotheriault/copy-module-backup-option-docs
...
add backup option to the copy modules docs
13 years ago
Michael DeHaan
7f3736bc2c
Merge pull request #223 from nigelm/master
...
Pair of trivial documentation fixes
13 years ago
Michael DeHaan
1f4cb79787
Merge pull request #224 from wzzrd/master
...
Small fix in documentation for seliux module
13 years ago
Michael DeHaan
4503ad7c04
fix broken link
13 years ago
Michael DeHaan
e7eab93243
Update changelog
14 years ago
Michael DeHaan
04555f525e
Fix a test from a previous pull request.
14 years ago
Michael DeHaan
58ad934283
Merge pull request #1024 from tima/groups-pb
...
Made $groups and $group_names variables accessible in with_items
14 years ago
Michael DeHaan
1829d519b5
Merge pull request #1030 from lorin/import-playbook-pathfix
...
Support import of playbooks in other directories
14 years ago
Michael DeHaan
d7f83471ae
Merge pull request #1032 from mavimo/patch-2
...
Add support for ./ansible.cfg file
14 years ago
Michael DeHaan
522a3b5974
Merge pull request #1033 from jkleint/hosts-list-fix
...
Fix inventory.get_hosts when hosts is a list.
14 years ago
John Kleint
1f8696f5c1
Fix inventory.get_hosts when hosts is a list.
14 years ago
Nigel Metheringham
046e43ec11
Module user - typo corrected for state
14 years ago
Romeo Theriault
cf9d7cd68e
added backup option to the assemble,lineinfile and template module docs
14 years ago
Maxim Burgerhout
ba1c9b04cb
Correct selinux policy name: targetted -> targeted
14 years ago
Marco Vito Moscaritolo
dd023d137a
Add support for differnt nova.ini file location: ./nova.ini, ~/nova.ini, /etc/ansible/nova.ini
14 years ago
Nigel Metheringham
84f2968023
Added a paragraph linking to the Jinja2 template docs
14 years ago
Marco Vito Moscaritolo
0cdd081b53
Add support for ./ansible.cfg file
...
Ansible support configuration in:
```
~/.ansible.cfg
/etc/ansible/ansible.cfg
```
this patch add current user (usefull where user have some different projects) with the oreder:
```
./ansible.cfg
~/.ansible.cfg
/etc/ansible/ansible.cfg
```
14 years ago
Timothy Appnel
9d5a79f586
Made groups.groupname and group_names variables accessible in playbooks.
...
Also modified code that feeds the groups data structure to templates so
that it resolves groups inside of groups to hostnames.
14 years ago
Nigel Metheringham
c0495c3b9b
Typo fix - playbook ignoring shell status return
14 years ago
Nigel Metheringham
1da9d23f90
Typo fix for assemble module
14 years ago
Romeo Theriault
e12f3d4029
add backup option to the copy modules docs
14 years ago
Lorin Hochstein
b9e100a506
Support import of playbooks in other directories
...
Previously, importing a playbook in a different directory didn't
work because all of the relative paths were resolved relative to
the top-level playbook.
This patch resolves relative paths on a per-play level instead of
relative to the directory of the top-level playbook.
Also removes the dirname argument from the Play._get_vars method
since this argument wasn't used in the metho dbody.
14 years ago
Michael DeHaan
df779decf6
who uses + rebuild
14 years ago
Michael DeHaan
565f336182
lineinfile should use 'search' everywhere
14 years ago
Michael DeHaan
14a9c3ab9e
Line in file regexep should match a portion of the line, not the whole line!
14 years ago
Michael DeHaan
95540f40b0
Add package to setup.py
14 years ago
Michael DeHaan
5b57011152
Merge pull request #1027 from mcodd/setup_bug_python24
...
setup not python24 compatible in 0.7
14 years ago
Michael DeHaan
335f136e71
Merge pull request #1023 from lorin/postgres-user-fix
...
Fix postgresql_user bug
14 years ago
Michael DeHaan
e795fa1ec2
Merge pull request #1014 from marktheunissen/journald
...
Fix regex that allows passwords to get into syslog, use journal if available.
14 years ago
Michael DeHaan
925c9eb38f
Merge pull request #1021 from lorin/config-key
...
Have ansible respect private_key_file option
14 years ago
Michael DeHaan
8ebd228bd3
Merge pull request #1022 from skvidal/devel
...
add import sys to virt module b/c it needs it if the libvirt python
14 years ago
Matt Coddington
c0638842d8
make this python24 compatible
14 years ago
Michael DeHaan
aa91e11906
Merge pull request #1025 from dhozac/action_plugins-setup
...
Install action_plugins
14 years ago
Daniel Hokka Zakrisson
5b49a059ac
Install action_plugins
14 years ago
Timothy Appnel
20fc6a29d3
Made groups.groupname and group_names variables accessible in playbooks.
14 years ago
Lorin Hochstein
b3b01bb7a3
Fix postgresql_user bug
...
If I create a database from scratch and assign permissions by doing:
- name: ensure database is created
action: postgresql_db db=$dbname
- name: ensure django user has access
action: postgresql_user db=$dbname user=$dbuser priv=ALL password=$dbpassword
Then it fails with the error:
File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 565, in <module>
main()
File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 273, in main
changed = grant_privileges(cursor, user, privs) or changed
File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 174, in grant_privileges
changed = grant_func(cursor, user, name, privilege)\
File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 132, in grant_database_privilege
prev_priv = get_database_privileges(cursor, user, db)
File "/tmp/ansible-1347048449.32-29998829936529/postgresql_user", line 118, in get_database_privileges
r = re.search('%s=(C?T?c?)/[a-z]+\,?' % user, datacl)
File "/usr/lib/python2.7/re.py", line 142, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer
This fix fixes the problem by not executing the regex if the
db query on pg_database returns None.
14 years ago
Lorin Hochstein
20c6e5302b
Fix priv argument in example.
...
Should be "priv", not "privs". Was correct in table, but wrong in
examples.
14 years ago
Seth Vidal
9d88b3eedd
add import sys to virt module b/c it needs it if the libvirt python
...
module is missing
14 years ago
Lorin Hochstein
eabbaaec46
Have ansible respect private_key_file option
...
The ansible command-line tool was ignoring the private_key_file option.
14 years ago
Lorin Hochstein
869a97e1cb
Fix comment in example config file.
...
The config file incorrectly mentions the --private-key-file flag.
Should be --private-key
14 years ago
Lorin Hochstein
ccd0952d54
Document including one playbook inside another
14 years ago