Commit Graph

867 Commits (84264009b57f7ab0f44f8b709add12a576fa8efc)
 

Author SHA1 Message Date
Michael DeHaan 2ec9717ea3 Remove "the the" 12 years ago
Michael DeHaan 5cbc8477e1 Merge pull request #1349 from bcoca/fix_bsd_dmesg_jails
fixed but in pulling data from dmesg command, wrong function to use as f...
12 years ago
Brian Coca 9d1645cbe3 fixed but in pulling data from dmesg command, wrong function to use as file for for loop
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan 671e4de3fb Fix help text 12 years ago
Michael DeHaan 51c6be3289 Merge pull request #1335 from phgrau/devel
Use && for executing next command if, and only if, command1 returns an e...
12 years ago
Michael DeHaan 0b6c55ac81 "force=" code under the file module is problematic, remove it 12 years ago
Jan-Piet Mens bad010856c typo 12 years ago
Jeremiah Heller e99c12460b 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.
12 years ago
Philipp Grau e1716e505d Add note: Debian Squeeze has no add-apt-repository 12 years ago
Maxim Burgerhout c482104cda Test for python-pip as well as pip
On Red Hat, CentOS and Fedora systems, the pip binary will be called python-pip
instead of pip. This commit makes the pip module also check for python-pip.

The reason we check for python-pip *first*, is to have ansible fail on not
finding 'pip' and reporting *that*. This is consistent with current behaviour
and will not confuse users of Debian et al., where the 'python-pip' binary
never exists.

Tested on Fedora 18 and Ubuntu 12.04.
12 years ago
Tim Bielawa 8739b87f42 The pause 'prompt' parameter now requires quotes around the message. 12 years ago
Michael DeHaan 24170795c4 Use 'path' in file documentation, though src/dest work, it's less intuitive. 12 years ago
Michael DeHaan 0397497f37 Merge pull request #1314 from apenney/bugfix/git
Check rc instead of parsing for errors.
12 years ago
Michael DeHaan 37dedf719d implement lookup plugins for arbitrary enumeration over arbitrary things. See the mailing list for some cool examples. 12 years ago
Michael DeHaan 95f9917df5 fix mentioning of redundant aliases in module docs, remove was removed anyway 12 years ago
Michael DeHaan 6f4c3deb11 user module should be using module.BOOLEANS for choices 12 years ago
Michael DeHaan 6769007be5 HP and vsphere modules are crazy awesome but I am thinking these belong in contrib not core. 12 years ago
Brian Coca 7ba232479e small patch to fact gathering for when no dmesg.boot exists on freebsd, mainly happens in jails
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan d9578c0e2e Merge pull request #1310 from dagwieers/hpilo_boot-cleanup
hpilo_boot: Various clean ups in documentation and code
12 years ago
Michael DeHaan 7c9dd5f02f Merge pull request #1311 from dagwieers/hpilo_facts-cleanup
hpilo_facts: Various clean ups in documentation and code
12 years ago
Michael DeHaan 54e2e88da9 Merge pull request #1313 from dagwieers/vsphere_facts-cleanup
vsphere_facts: Various cleanups in documentation
12 years ago
Michael DeHaan 826b2816d6 Merge pull request #1317 from abondis/fix_mysql_db
fix issue with mysql authentication and states not dump or import
12 years ago
Michael DeHaan 0362b06944 Merge pull request #1318 from dsummersl/cron24
fixed cron library so backups are python2.4 compatible
12 years ago
Jeroen Hoekx ac427e077a Add virt_boot module to define libvirt boot parameters. 12 years ago
Dane Summers 4f5f32a15b fixed cron library so backups are python2.4 compatible 12 years ago
Aurélien Bondis b51948e111 fix issue with mysql authentication and states not dump or import 12 years ago
Ashley Penney 3075ddb634 Further cleanup to add another rc check and remove a now redundent one. 12 years ago
Ashley Penney d8e3f4db42 Check rc instead of parsing for errors. This now catches the case where the remote branch has been deleted and you're still trying to pull against it. 12 years ago
Dag Wieers c3d8ad4565 Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Added state=poweroff in order to power off a server. The use-case is here that in general we do not want to provision systems that are already running (this enforcement can be disabled using force=yes) but for test systems we should be able to power them off so we can start the normal provisioning process. (We could also force boot them, but that's less elegant)
 - The module now correctly indicates when something has changed. So if a server is powered off that was not off already, this is indicated, or when media boot-settings have been changed, this is also correctly indicated. Previously every call to hpilo_boot was (incorrectly) considered a change.
12 years ago
Dag Wieers f64d8622bf vsphere_facts: Various cleanups in documentation
This commit improves the following items:
 - Clean up all C() calls in documentation
 - Reindent the documentation
12 years ago
Dag Wieers 9624e2a6c6 hpilo_facts: Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information **and** a proper message, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Remove trailing spaces in HP iLO's Serial Number output so that they can be compared to CMDB or other inventory information
12 years ago
Michael DeHaan 86b7d4b689 Merge pull request #1289 from abondis/mysql_migration
mysql_db: connection test, dump/import state
12 years ago
Dag Wieers b7fe1b1036 Damn you, colons... 12 years ago
Aurélien Bondis b6c5140ca7 mysql_db: use the database to test connexion, added dump and import state - requires target=path/to/a/file 12 years ago
Michael DeHaan 67b5bd97df Add .gitdir 12 years ago
Michael DeHaan bb95f2814c Merge remote branch 'dagwieers/module-mail' into devel 12 years ago
Michael DeHaan 3e851f5337 Merge pull request #1268 from dagwieers/hpilo-reboot-fix
Workaround for when HP iLO is in a state it won't accept requests
12 years ago
Michael DeHaan 3e560234bc Fix typo in autogenerated docs 12 years ago
Dag Wieers 30a4f903fb Module mail to send out emails as an action
Sending mails could be part of the workflow to have teams/responsibles perform specific task. Or simply to notify that a process has finished successfully (e.g. provisioning).
12 years ago
Dag Wieers ffd0b830ea Workaround for when HP iLO is in a state it won't accept requests
This workaround is recommended from HP iLO's documentation, but may not be sufficient in all cases. Time will tell.

I also made a few cosmetic changes with no impact.
12 years ago
Michael DeHaan 5a9fc35200 Merge pull request #1263 from dagwieers/hpilo_facts-fix
Sigh, another retypo
12 years ago
Dag Wieers 8da637dac6 Fixes to documentation 12 years ago
Dag Wieers 79d083e80a Sigh, another retypo problem 12 years ago
Michael DeHaan a70db4fb0b Merge pull request #1250 from dagwieers/hpilo_boot-fixes
Various small fixes to boolean usage and defaults
12 years ago
Michael DeHaan 9c102d8dfc Merge pull request #1243 from dsummersl/squash2-cron
cron feature (w/o tests)
12 years ago
Michael DeHaan a0e9412180 Merge pull request #1255 from dagwieers/module-namespace
Add this module's namespace to the 'module_' namespace.
12 years ago
Tim Bielawa 7881ddd8cb Fix typo in service module docs 12 years ago
Dane Summers 1d7a5609eb added new documentation string to cron library 12 years ago
Dag Wieers d1f9644be3 Add this module's namespace to the 'module_' namespace.
Much like we currently have *setup* register the variable `module_setup`, we would like other facts-modules register their own namespace. This means that:

 - *network_facts* registers `module_network`
 - *hpilo_facts* registers `module_hw`
 - *vsphere_facts* registers `module_hw`

In retrospect, it would have made more sense to have `setup` register `module_ansible` instead as the setup module uses the `ansible_` namesepace.

Having the `module_` namespace allows us to check whether a certain namespace has already been loaded so we can avoid running the facts module a second time using only_if.

```yaml
 - action: network_facts host=${ansible_hostname_short}
   only_if: is_unset('$module_network')
```
12 years ago
Dag Wieers dc11b1223d Various small fixes to boolean usage, using module.params.get and default values 12 years ago