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

10701 commits

Author SHA1 Message Date
Ahti Kitsik
1caf9be109 Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF.
Looks like #6881 is also affected by this bug.

Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
2014-06-09 19:58:45 +03:00
James Cammarata
aaa16acdf1 Adding the new azure module to the CHANGELOG list 2014-06-06 22:00:02 -05:00
James Cammarata
5637426f51 Merge branch 'devel' of https://github.com/ansible/ansible into devel 2014-06-06 21:56:32 -05:00
James Cammarata
5f92989012 Merge branch 'jwhitbeck-devel' into devel 2014-06-06 21:56:08 -05:00
James Cammarata
5bd8cd6e00 Cleaning up azure module
* Fixed error messages to be more descriptive
* Removed direct use of subprocess module and replaced it with calls
  to module.run_command
* Changed AZURE_MANAGEMENT_CERT_PATH to be just AZURE_CERT_PATH, which
  matches what is expected by the inventory script
2014-06-06 15:58:28 -05:00
James Cammarata
e083168773 Merge branch 'devel' of https://github.com/jwhitbeck/ansible into jwhitbeck-devel 2014-06-06 11:19:43 -05:00
James Cammarata
bd5cf57e76 Merge pull request #7653 from evanccopengeo/devel
ec2_group: Fix for 500 error when creating new security groups
2014-06-06 10:34:42 -05:00
Michael DeHaan
2e9cfaaba3 Update README.md 2014-06-06 09:24:33 -04:00
James Cammarata
9cb05a0845 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7505
2014-06-05 19:40:21 -05:00
James Cammarata
a760299170 Catch failed connection due to a bad region in ec2_scaling_policy
Fixes #7506
2014-06-05 16:44:55 -05:00
Kevin Bell
e0a4c389f3 Fixed asg instance count polling 2014-06-05 16:18:31 -05:00
Kevin Bell
426a827b46 Fix default availability zone list 2014-06-05 16:18:31 -05:00
Kevin Bell
73c1ccf53e Added an integration test for the ec2_asg module 2014-06-05 16:18:31 -05:00
James Cammarata
26aaa7bcdd Fix typo in nova_keypair import of exceptions from novaclient
Fixes #7640
2014-06-05 15:42:38 -05:00
James Cammarata
4c5a765986 Merge pull request #7678 from hacosta/devel
Show friendlier error message if nova.ini is not found.
2014-06-05 13:50:49 -05:00
Hector Acosta
a080873e7c Show friendlier error message if nova.ini is not found.
Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
2014-06-05 13:07:38 -05:00
James Cammarata
ab956e8e4a Merge pull request #7676 from jimi-c/fix_symlinks
Fix issue with symlink path detection
2014-06-05 12:47:42 -05:00
James Cammarata
05e227eda5 Merge pull request #7675 from eludom/patch-1
Update developing_modules.rst
2014-06-05 12:47:00 -05:00
eludom
b1b17ce15a Update developing_modules.rst 2014-06-05 13:00:05 -04:00
James Cammarata
11b72df27b Merge pull request #7667 from alexclear/devel
ansible-pull should respect inventory file settings because, say, Python...
2014-06-04 23:41:14 -05:00
James Cammarata
43f96a636b Fix issue with symlink path detection
Fixes #7627
Fixes #7664
2014-06-04 23:31:59 -05:00
James Cammarata
7483acde5d Fix linking issue to directories in file module
The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
2014-06-04 22:48:08 -05:00
Alex Chistyakov
bb1941a906 ansible-pull should respect inventory file settings because, say, Python interpreter path can be non-default on a host 2014-06-05 01:37:41 +04:00
James Cammarata
ad97c618cf Add support for relative paths in the file lookup plugin for roles
Fixes #7628
2014-06-04 15:20:59 -05:00
James Cammarata
b3bbca03d5 Add additional params to get_target_from_rule method in ec2_group
Fixes #7592
2014-06-04 13:52:44 -05:00
James Cammarata
9f0d496d67 Fixing version_added strings for new features in ec2_elb_lb
Fixes #7631
2014-06-04 13:37:04 -05:00
James Cammarata
6708ea887a Merge pull request #7662 from billcarlson/devel
Clarified, remote_user config item does override ansible current user
2014-06-04 13:30:46 -05:00
Bill Carlson
974ccc3486 Clarified, remote_user config item does override ansible current user if defined. 2014-06-04 13:26:16 -05:00
James Cammarata
82a784931e Fix error passing play vars to an included playbook with empty vars
Fixes #7658
2014-06-04 13:22:50 -05:00
James Cammarata
8ff0c0f253 Tweaking make_su_cmd test
Fixes #7652
2014-06-04 13:03:50 -05:00
James Cammarata
f0ebfc623c Merge pull request #7656 from tsemerad/patch-1
made nested lists diff lengths - caused confusion
2014-06-04 11:56:34 -05:00
James Cammarata
74d018da15 Merge branch 'sivel-rax-meta' into devel 2014-06-04 11:10:58 -05:00
James Cammarata
09d9832715 Adding the new rax_meta module to the CHANGELOG 2014-06-04 11:05:01 -05:00
James Cammarata
609fd2e993 Merge branch 'rax-meta' of https://github.com/sivel/ansible into sivel-rax-meta 2014-06-04 11:02:35 -05:00
James Cammarata
d9df607972 Fix order of merging variables for the combined cache
Fixes #7598
2014-06-04 10:50:41 -05:00
tsemerad
d0241f5640 made nested lists diff lengths - caused confusion
As a relatively-new user to Ansible, the Nested Loop example made me think it was looping through both lists together (`alice` would go with `clientdb`, `bob` with `employeedb`) and not actually nested. I realize now I was just being stupid, but I feel making the example lists different lengths would prevent such confusion in the future.
2014-06-03 17:45:03 -07:00
James Cammarata
74f20ebf79 Removing cruft leftover from the deprecation of include+with_items
Also cleaning up integration tests that had checks for the empty item
attribute in certain results.

Fixes #7535
2014-06-03 13:33:26 -05:00
evanccopengeo
fac9a64d23 fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly) 2014-06-03 14:25:48 -04:00
James Cammarata
2f7e720b90 Merge branch 'kilburn-fix-7596' into devel 2014-06-03 11:27:32 -05:00
James Cammarata
0fa5100a2c Merge branch 'fix-7596' of https://github.com/kilburn/ansible into kilburn-fix-7596 2014-06-03 10:26:25 -05:00
James Cammarata
1b5f2d47bb Merge pull request #7638 from yanc0/primary_group_doc_user_example
Add primary group in the first user module doc example
2014-06-03 10:10:55 -05:00
James Cammarata
f1afc107b2 Merge pull request #7635 from josef-spak/mysql-replication-typo
Fix typo in CHANGE MASTER TO syntax
2014-06-03 10:10:04 -05:00
James Cammarata
832d6c2f3b Merge pull request #7632 from cdwertmann/patch-2
Don't use deprecated BaseException.message in keystone_user
2014-06-03 10:08:15 -05:00
James Cammarata
849b0f87ce Fix error when using os.getlogin() without a tty 2014-06-03 09:36:19 -05:00
Yann Coleu
b5ea9e0655 Add primary group in the first user module doc example 2014-06-02 14:32:52 +02:00
Josef Špak
2d402ab5ca Fix typo in CHANGE MASTER TO syntax 2014-06-02 13:42:55 +02:00
Christoph Dwertmann
5cab159bda Don't use deprecated BaseException.message in keystone_user
fixes error "failed to parse: <attribute 'message' of 'exceptions.BaseException' objects>
TypeError: <attribute 'message' of 'exceptions.BaseException' objects> is not JSON serializable"
2014-06-02 15:11:53 +10:00
Matt Martz
84b1f21617 Add rax_meta module
Also update rax to mirror meta value normalization from rax_meta
2014-06-01 14:31:26 -05:00
Michael DeHaan
6bc056e012 Merge pull request #6863 from sivel/rax-untouched
rax module: Return untouhced servers with exact_count
2014-06-01 15:27:45 -04:00
Michael DeHaan
6cb6f4fa31 Merge pull request #7610 from CorbanR/devel
updating ec2_group example, to be more consistent with parameter names
2014-05-30 22:25:17 -04:00