1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

1481 commits

Author SHA1 Message Date
Dag Wieers
77e4909166 Implement python-dmidecode/dmidecode as alternative for kernel DMI
This implementation falls back to python-dmidecode (RHEL5.5+) if the kernel as no DMI support. Alternatively, if python-dmidecode is missing, we attempt to use the dmidecode binary (for RHEL5.4 and older) before giving up.

This fixes #376 and #1657 and also helps @lwade on RHEL5.5+.
2013-04-27 11:14:14 -04:00
Matt Coddington
f5be8918c9 doc typo fix in copy module 2013-04-26 19:47:33 -04:00
James Martin
40b51684d7 Added a ring_wait option (waits for ring_ready to return true)
Now using module.run()
Fixed raw_stats() function.
2013-04-26 17:16:47 -04:00
Michael DeHaan
eb6aac2303 Merge pull request #2786 from dirkcuys/patch-1
Fix bug causing mysqldump to fail
2013-04-26 12:36:02 -07:00
Alex Quach
92d98d24a6 Escape MySQL db names. 2013-04-26 11:48:38 -07:00
Dirk Uys
122122234d Fix bug causing mysqldump to fail 2013-04-26 17:07:29 +03:00
Lester Wade
a7595a6964 Fixed cloudformation docs and updated EXAMPLES section in the docs for these AWS modules. 2013-04-25 19:22:48 -07:00
Michael DeHaan
4a4958f6c9 Improve check mode support in the file module. 2013-04-25 21:33:47 -04:00
Michael DeHaan
143b82c18c Clarify script module documentation a minor amount. 2013-04-25 08:45:23 -04:00
Lester Wade
6a7a8cda40 Corrected instance password data check. Previously broken after adding region support. 2013-04-24 09:45:01 -07:00
Serge van Ginderachter
800ca63de6 enforce no enteractiveness installing pkg with apt
use the same env vars and dpkg options as for the upgrade function
also link check mode to --simulate option when installing a pkg

fixes #2763
2013-04-24 12:02:05 +02:00
Stephen Fromm
471fa6859e Fix how interfaces is updated with interface fact
Was broken when handling a bridge or bonded (possibly others) interface
2013-04-23 09:13:46 -07:00
Michael DeHaan
f36e85efbb Fixup apt module refactoring from previous patch. 2013-04-23 09:38:32 -04:00
Michael DeHaan
574061fe47 People using vagrant are driving things top-down through the new provisioner, so the idea of using ansible to fire against
vagrant which then calls ansible seems weird to me.  This module can still be maintained outside of core.
2013-04-23 00:29:02 -04:00
Michael DeHaan
35e61d8f16 Merge pull request #2688 from dagwieers/module-global
New module 'set_fact' to define host facts
2013-04-22 21:16:46 -07:00
Michael DeHaan
2fb4307227 Merge pull request #2642 from sergevanginderachter/check4aptitude
apt module: part rewrite of the upgrade logic
2013-04-22 21:07:37 -07:00
Michael DeHaan
c2c50c8fdc Merge pull request #2630 from sergevanginderachter/uri-redirect
URI module -- make it support HTTP 301, 302, 303, 304, 307
2013-04-22 21:01:45 -07:00
Michael DeHaan
40c7afbb64 Merge branch 'yum_with_url' of git://github.com/dparalen/ansible into merginate3 2013-04-22 23:58:51 -04:00
Michael DeHaan
528cb2cb3d Merge pull request #2586 from bcoca/new_validate
Added 'validate' feature to copy and template modules,
2013-04-22 20:53:32 -07:00
Michael DeHaan
40fd474d60 Add some whitespace 2013-04-22 23:46:58 -04:00
Michael DeHaan
aa897571b4 Merge branch 'setup-linux-network-advanced' of git://github.com/dagwieers/ansible into devel 2013-04-22 23:44:37 -04:00
Michael DeHaan
4350585a1f Merge pull request #2747 from lwade/ec2_vol_region
Add region support to ec2 volume module.
2013-04-22 19:04:31 -07:00
Lester Wade
e90f313c51 Add region support to ec2 volume module. 2013-04-22 17:27:57 -07:00
Michael DeHaan
f16751de29 Merge pull request #2746 from lwade/ec2region
Add region parameter and changed connection code.
2013-04-22 16:30:25 -07:00
Lester Wade
8c8014363e Add region parameter and changed connection code. 2013-04-22 16:23:30 -07:00
Jim Kleckner
5e5235a433 Nit fix spelling of separate 2013-04-21 12:33:51 -07:00
Alex Tomkins
b1d5b97bbe sysctl check fails if a custom sysctl_file is given. 2013-04-21 15:28:56 +01:00
Michael DeHaan
cfe8af493f Since using platform.node, be sure to just return the hostname component. 2013-04-20 09:34:37 -04:00
Michael DeHaan
58d72b28c5 Fixup authorized key documentation formatting 2013-04-20 09:10:19 -04:00
Michael DeHaan
adac8f5312 Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE 2013-04-20 09:10:19 -04:00
jtsoi
8c11624f14 Typo in example, extra space breaks playbook. 2013-04-19 22:43:50 +03:00
Nathan L. Walls
e8f46822e5 Small spelling correction to authorized_key module docs 2013-04-18 22:16:28 -04:00
Dag Wieers
b13beb3689 New module 'set_fact' to define host facts
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).

The module also accepts complex arguments.

```yaml
 - action: set_fact fact="something" global_fact="${local_var}"'
 - action: set_fact
   args:
      fact: something
      global_fact: ${local_var}
```
2013-04-18 23:06:58 +02:00
lwade
a154a5ddd4 correct reference to module 2013-04-18 10:36:07 +01:00
Michael DeHaan
500b9432a2 Merge pull request #2596 from blair/ec2_facts-provides-ec2-region
ec2_facts: add ansible_ec2_placement_region key/value pair for EC2 regio...
2013-04-16 17:28:13 -07:00
Michael DeHaan
6cb6223deb Merge pull request #2608 from lwade/ec2zone
Add availability zone parameter
2013-04-16 17:20:55 -07:00
Michael DeHaan
22e3c389b3 Use platform.node() for the hostname, leave fqdn calculated the same way 2013-04-16 20:10:21 -04:00
Michael DeHaan
6a00513731 Add version added to module docs 2013-04-16 20:07:18 -04:00
Michael DeHaan
454076590c Merge pull request #2580 from blair/ec2_vol-improvements
Ec2 vol improvements
2013-04-16 16:58:54 -07:00
Michael DeHaan
6d66b0e965 Merge pull request #2692 from j2sol/rax
Minor fixes to the rax module
2013-04-16 16:52:43 -07:00
Seth Vidal
5df2dadcdb clean up how it puts the files in place - in f18 /tmp is tmpfs which
means ln and os.rename() won't work across fs.
2013-04-16 15:08:27 -04:00
Jesse Keating
59d0fb6c95 Only accept supported services for rax module
Even though others are possible, fail early on unsupported ones.
2013-04-15 17:22:42 -07:00
Jesse Keating
55ef1d6e47 Update documentation for rax module
Only list the services supported
Don't put in unncessary required: false
Use better formatting for the example
2013-04-15 17:20:45 -07:00
Michael DeHaan
d00f7cea14 Merge pull request #2676 from b6d/postgresql_privs-module-proposal2
Proposal for a module to manage PostgreSQL privileges (2)
2013-04-13 18:51:03 -07:00
Bernhard Weitzhofer
210d711553 Add module postgresql_privs
This Module allows to manage privileges on PostgreSQL database objects
(currently: tables, sequences, functions, databases, schemas, languages and
tablespaces) as well as group role memberships.

It is basically a wrapper around most of the functionality of PostgreSQL's
GRANT and REVOKE statements with additional detection of changes and support
for dry-runs (check-mode).

postgresql_privs should work with PostgreSQL 8.4 and above. Python Module
psycopg2 is required on the remote host.
2013-04-13 22:56:18 +02:00
Bernhard Weitzhofer
c2a7314a5f user module: return public SSH key
Return public SSH key if the user module is called with generate_ssh_key=yes.
Since "user" doesn't overwrite files, this also allows querying of existing
public keys.

Used in playbooks together with the "register" keyword, the returned key can be
passed to the "authorized_key" module allowing easy setup of SSH public key
authentication between remote hosts.
2013-04-13 16:10:58 +02:00
Michael DeHaan
96d014581a Merge pull request #2605 from b6d/postgresql_user-quote-pwd
Use psycopg2's string handling to escape password string
2013-04-12 20:44:32 -07:00
James Martin
7609c5e0d0 Errors in documentation. 2013-04-12 22:26:18 -04:00
James Martin
93d0ccd1e1 Added catch-all exception for stats collection. 2013-04-12 20:28:39 -04:00
Michael DeHaan
06b988e2d5 Create the .ssh dir if it does not already exist. 2013-04-12 14:46:41 -04:00