Commit Graph

9795 Commits (c836818705d8963455e27ce8cc60fe656dcf5301)
 

Author SHA1 Message Date
Brian Coca c836818705 updated desc 9 years ago
Orion Poplawski 1074586ac7 Be able to find all contents of a directory (#3711) 9 years ago
Dag Wieers 7903b39fc0 Ensure proper error when fetch_url returns status -1
When using a file:// or ftp:// URL the normal provisions that a non-200 status code means error have been disabled.
But the common error status -1 from fetch_url is not properly returning an error message.
This fix ensures that if the status code returns -1, we return a proper error message.

This fixes #3563
9 years ago
Rob Cutmore 5902bf5791 Git: indicate if remote url was changed or not (#5677) 9 years ago
jctanner 3acd6f4519 Set b_src to abspath of b_path so that symlinks work again. (#5678)
Fixes #5653
9 years ago
John R Barker b3477690a3 win_msi - Don't list choices twice (#5684)
* win_msi - Dont list choices twise

http://docs.ansible.com/ansible/win_msi_module.html shows

Choices:
True
True
False
False

As the yes/no are expanded to true/false by the docs generation

* Update win_msi.py
9 years ago
Toshio Kuratomi 5c986306be Fix for call to umount() in remount() 9 years ago
Brian Coca 9b09acc549 try remount but fallback to unmount + mount (#2445)
* allow mount to try remount

falls back to unmount/mount

* fixed fstab handling and switched to ismount

custom function deals with bind mounts unlike built in

* un ** args

* last ** args
9 years ago
zaiusdr 7ed1af0a6d Fix wait_for Module to handle socket response as string in Python3
In Python3 socket module returns responses as bytes type. So it's
necessary to convert it to string for the module work correctly.
9 years ago
Kevin Kirsche 514a2d40c1 Update pull request template to provide context
This updates the pull request template to provide more context about why specific things may be needed. This helps to make it feel like it is being asked for to help the team rather than arbitrary questions that don't seem applicable, such as command output for a docs change.
9 years ago
Matt Davis 9724ed77de Prevent handle inheritance from blocking Windows async_wrapper (#5666) 9 years ago
Brian Coca b835ae2717 Several systemd fixes
Allow some operations on missing services
Better sysv handling
Rearranged error reporting
fixed load error catching and order logic
also minor doc/comment updates
added warnings
9 years ago
Peter Sprygada 89b47ae796 Revert "ios_mods - added stdout to exception output. Removed to_lines()" (#5663) 9 years ago
Monty Taylor 9914626ce2 Add a few lines about testing (#5662) 9 years ago
Toshio Kuratomi 2a9ddb1c70 Clarify the comment 9 years ago
Toshio Kuratomi d3543ff67c Older versions of rhn-client-tools don't understand containment tests. 9 years ago
jctanner 5fc0d81601 user: port has_key to py3 syntax (#5641) 9 years ago
Dag Wieers f08ba8c7d6 Performance improvement using in-operator on dicts
Just a small cleanup for the existing occurrences.

Using the in-operator for hash lookups is faster than using .keys()
http://stackoverflow.com/questions/29314269/why-do-key-in-dict-and-key-in-dict-keys-have-the-same-output
9 years ago
Dag Wieers c411d518b9 Performance improvement using in-operator for hash lookups
Just a small cleanup for the existing occurrences.

Using the in-operator for hash lookups is faster than using .has_key()
http://stackoverflow.com/questions/1323410/has-key-or-in
9 years ago
David Wittman 9f200a9cb9 Add 'link' file_type to find_module
- Adds the 'link' file_type for finding symbolic or hard links
 - Use `os.lstat` instead of `os.stat` to prevent the following
   of links when statting the file.
9 years ago
Sam Doran a257f9cc9c Examples syntax batch6 (#5623)
* Change example syntax on os_auth module

* Change example syntax on os_client_config module

* Change example syntax on os_image_facts module

* Change example syntax on os_networks_facts module

* Change example syntax on os_nova_flavor module

* Change example syntax on os_object module

* Change example syntax on os_server module

* Change example syntax on os_subnet_facts module

* Change example syntax on rax_files module

* Change example syntax on rax_files_objects module

* Change example syntax on mysql_db module

* Change example syntax on file module

* Change example syntax on uri module

* Change example syntax on cl_bond module

* Change example syntax on cl_bridge module

* Change example syntax on cl_img_install module

* Change example syntax on cl_interface module

* Change example syntax on cl_license module

* Change example syntax on cl_ports module

* Remove trailing colon
9 years ago
Jesse Keating bb97885f91 Do not require password when deleting os_user (#5601)
I broke backwards compat with the addition to define when a password
should be updated. It was requiring that a password value be passed when
deleting a user, which seems silly.

This moves the argument logic out of the argument spec and into when it
would be needed, when state is present.
9 years ago
Luc Charpentier a0545dc9f8 error in docker_container example (#5631) 9 years ago
Abdul Anshad A cf76fce0ae fixes issue #5517 (#5519) 9 years ago
Sam Doran 52d376c88e Examples syntax batch5 (#5622)
* Change example syntax on supervisorctl module

* Change example syntax or _ec2_ami_search module

* Change example syntax on cloudformation module

* Change example syntax on ec2 module

* Change example syntax on ec2_facts module

* Change example syntax on ec2_eip module

* Change example syntax on rds module

* Change example syntax on route53 module

* Change example syntax on s3 module

* Change example syntax on digital_ocean module

* Change example syntax on docker_service module

* Change example syntax on cloudformation module

* Change example syntax on gc_storage module

* Change example syntax on gce module

* Change example syntax on gce_mig module

* Change example syntax on _glance_image module

* Change example syntax on _keystone_user module

* Change example syntax on _nova_keypair module

* Change example syntax on _quantum_floating module

* Change example syntax on _quantum_floating_ip_associate module

* Change example syntax on _quantum_network module

* Change example syntax on _quantum_router module

* Change example syntax on _quantum_router_gateway module

* Change example syntax on _quantum_router_interface module

* Change example syntax on _quantum_subnet module

* SQUASH _quantum_subnet

* Add missing quotes
9 years ago
Sam Doran 05e866e4d0 Examples syntax batch4 (#5620)
* Change example syntax on authorized_key module

* Change example syntax on cron module

* Change example syntax on group module

* Change example syntax on hostname module

* Change example syntax on seboolean module

* Change example syntax on selinux module

* Change example syntax on service module

* Change example syntax on sysctl module

* Change example syntax on systemd module

* Change example syntax on user module

* Change example syntax on debug module

* Change example syntax on fail module

* Change example syntax on include module

* Change example syntax on include_role module

* Change example syntax on include_vars module

* Change example syntax on pause module

* Change example syntax on wait_for module

* Change example syntax on apache2_module module

* > Change example syntax on django_manage module

* Change example syntax on htpasswd module
9 years ago
John R Barker 109c689804 Merge pull request #5619 from samdoran/examples-syntax-batch3
Examples syntax batch3
9 years ago
Sam Doran 955b3f5733 Change example syntax on subversion module 9 years ago
Sam Doran 4f3bf3afa5 Change example syntax on hg module 9 years ago
Sam Doran c0dadd7535 Change example syntax on git module 9 years ago
Sam Doran 8fdf02d468 Change example syntax on pip module 9 years ago
Sam Doran 58eb966613 Change example syntax on gem module 9 years ago
Sam Doran 94392dd87a Change example syntax on easy_install module 9 years ago
Sam Doran 7363fd198b Change example syntax on yum module 9 years ago
Sam Doran 68c78cf40d Change example syntax on rpm_key module 9 years ago
Sam Doran f6025edad2 Change example syntax on rhn_register module 9 years ago
Sam Doran db5076cd8a Change example syntax on rhn_subscription module 9 years ago
Sam Doran 8533529c2b Change example syntax on redhat_subscription module 9 years ago
Sam Doran 34fb8c3ec2 Change example syntax on package module 9 years ago
Sam Doran 3f224de12a Change example syntax on apt_rpm module 9 years ago
Sam Doran aa18bf8933 Change example syntax on apt_repository module 9 years ago
Sam Doran 5995bf27ba Change example syntax on apt_key module 9 years ago
Sam Doran 21f6aa076c Change example syntax on apt module 9 years ago
Sam Doran e5446db4b2 Change example syntax on group_by module 9 years ago
Sam Doran 0aeee0e7c2 Change example syntax on add_host module 9 years ago
Sam Doran b5f09cb9b0 Change example syntax on xattr module 9 years ago
Sam Doran c2db9fa414 Change example syntax on unarchive module 9 years ago
Rezart Qelibari a4cddac368 Update system/group.py module.
Add ability to add system groups with next free system gid (< 500) on macOS.
9 years ago
Ryan Brown f35be48335 Support suspending scaling processes in `ec2_asg` module (#5562)
* Add support for suspending scaling processes
Ref: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html

* Set suspend_processes version_added to 2.3
9 years ago
John R Barker d21ac8a5da Merge pull request #5604 from samdoran/examples-syntax-fix-batch1
Examples syntax change batch1
9 years ago