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

39086 commits

Author SHA1 Message Date
Yuwei Zhou
7314aa7298 Fixes : Virtual machine can refer existing NIC from other resource group () 2018-08-01 10:52:21 +08:00
Gustavo Muniz do Carmo
5149ab1e00 New module request: azure_rm_virtualmachine_facts ()
* New module request: azure_rm_virtualmachine_facts 

* New module request: azure_rm_virtualmachine_facts   pep8 fixes

* New module request: azure_rm_virtualmachine_facts   validate-modules fixes

* New module request: azure_rm_virtualmachine_facts   serialize_vm

* New module request: azure_rm_virtualmachine_facts   get_item

* New module request: azure_rm_virtualmachine_facts   avoid get vm twice

* New module request: azure_rm_virtualmachine_facts   some jborean93 requests

* New module request: azure_rm_virtualmachine_facts   camel_dict_to_snake_dict

* New module request: azure_rm_virtualmachine_facts   integration test

* New module request: azure_rm_virtualmachine_facts   virtual network required

* New module request: azure_rm_virtualmachine_facts   consider additional vms present

* New module request: azure_rm_virtualmachine_facts   trailing comma

* New module request: azure_rm_virtualmachine_facts   remove from smoketest

* New module request: azure_rm_virtualmachine_facts   filtering by tag fix

* New module request: azure_rm_virtualmachine_facts   virtual network issues fix

* New module request: azure_rm_virtualmachine_facts   remove trailing comma

* adding curated format for vm

* New module request: azure_rm_virtualmachine_facts   rights to zim + lint fixes

* clean up

* updates to vm facts

* commented out failing thing

* fixed mistake

* New module request: azure_rm_virtualmachine_facts 

* New module request: azure_rm_virtualmachine_facts   pep8 fixes

* New module request: azure_rm_virtualmachine_facts   validate-modules fixes

* fixed test

* fixed test problem

* New module request: azure_rm_virtualmachine_facts   serialize_vm

* New module request: azure_rm_virtualmachine_facts   get_item

* New module request: azure_rm_virtualmachine_facts   avoid get vm twice

* New module request: azure_rm_virtualmachine_facts   some jborean93 requests

* New module request: azure_rm_virtualmachine_facts   camel_dict_to_snake_dict

* New module request: azure_rm_virtualmachine_facts   integration test

* New module request: azure_rm_virtualmachine_facts   virtual network required

* New module request: azure_rm_virtualmachine_facts   consider additional vms present

* New module request: azure_rm_virtualmachine_facts   trailing comma

* New module request: azure_rm_virtualmachine_facts   remove from smoketest

* New module request: azure_rm_virtualmachine_facts   filtering by tag fix

* New module request: azure_rm_virtualmachine_facts   virtual network issues fix

* New module request: azure_rm_virtualmachine_facts   remove trailing comma

* adding curated format for vm

* New module request: azure_rm_virtualmachine_facts   rights to zim + lint fixes

* clean up

* updates to vm facts

* commented out failing thing

* fixed mistake

* fixed test

* fixed test problem

* ldap_entry 'Tuple_to_LDAPMod(): expected a byte string in the list' issue

* Revert "ldap_entry 'Tuple_to_LDAPMod(): expected a byte string in the list' issue"

This reverts commit efe316c52e5a70fc1aa9f58eff3a9d5b2599763f.

* changed return value

* fixed test

* fixed test mistake

* one space too much

* removed change made by mistake

* virtual machine description

* remove example

* fixed yaml
2018-08-01 10:23:50 +08:00
Matt Davis
f24054121a
add RMs to current roadmaps () 2018-07-31 14:52:41 -07:00
Jiri Tyr
c93f24b45b Fix for creation and removal of swap record in fstab (fixes , and ) () 2018-07-31 17:09:38 -04:00
Matt Martz
fd839d7a67
Catch exceptions when importing plugins, and display an appropriate warning. Fixes () 2018-07-31 16:00:04 -05:00
Matt Martz
5f98a5a736
Only cache task.loop when delegated_host was templated. Fixes () 2018-07-31 15:58:53 -05:00
Felix Fontein
e7e63ec1e8 Improving syntax highlighting in HTML docs ()
* Adding improved YAML lexer for HTML docs.

* Fixing (some of) the warnings.

* Fixing more warnings.

* Removing ansible- prefix from lexer names.

* Rename extensions -> _extensions.

* Removing superfluous module search path extension.
2018-07-31 15:28:16 -05:00
Matt Martz
01c0446cb5
Add AnsibleModule signature schema, and fix associated issues () 2018-07-31 15:04:22 -05:00
Sloane Hertel
25218e6843 Fix dualstack without s3_url () 2018-07-31 15:50:15 -04:00
Joren Vrancken
9896853d1f Fix typo of makedirs 2018-07-31 15:41:38 -04:00
John R Barker
321081c3b4 atom & yamllint ()
* atom & yamllint
2018-07-31 14:22:38 -05:00
Joren Vrancken
b954917761 Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
Joren Vrancken
9e310558ee Enable PEP8 testing of E305 2018-07-31 12:06:56 -07:00
Sloane Hertel
4b3e5998bf Allow AWS endpoints and dualstack () 2018-07-31 15:04:21 -04:00
Lindsay Hill
2e873be9b5 Networking Docs - Added platform guides for EXOS and SLX-OS ()
* Added platform guides for EXOS and SLX-OS

* Fixed RST formatting
2018-07-31 14:43:15 -04:00
Matt Martz
dc908f4cb5 Prefer name of include_role. Fixes 2018-07-31 13:25:47 -04:00
Joren Vrancken
d5bec06150 Fix typo of stderr 2018-07-31 13:23:05 -04:00
Brian Coca
222c907ffb
actually check we can run scm command for roles ()
* actually check we can run scm command for roles
* a better error message than file not found
* more narrow exception hanlding
* refactor common functions for more extended use and further 'basic.py' separation
2018-07-31 13:04:05 -04:00
joren485
b3c054c55e Use dbus.exceptions of non-existent dbus.Exceptions () 2018-07-31 21:56:44 +05:30
Adam Miller
09eac6bab9 Revert "dnf: Call dnf.Base.close() before exit to cleanup. ()"
This reverts commit 32436ea9a5.
2018-07-31 09:17:40 -07:00
Alex
29a62038b7 module_utils_service: Fix glob path of rc.d ()
Some distribtuions like SUSE has the rc%.d directories under /etc/init.d

Quote of /etc/rc.d.README on SLES11.

"Some people expect the system startup scripts in /etc/rc.d/.
We use a slightly different structure for better LSB compliance."
2018-07-31 11:56:11 -04:00
Seuf
af55b8e992 Grafana dashboard grafana 5 compatible ()
* Grafana dashboard module compatible with grafana 5+

* Use url_argument_spec to init modules arguments

* Add changelog fragment
2018-07-31 11:55:18 -04:00
Matt Martz
a7f45c0660 Add basedir to ansible_search_path before running loops. Fixes () 2018-07-31 11:51:32 -04:00
Andreas Olsson
726c6eb889 Support Amazon S3 Dual-Stack Endpoints in aws_module ()
* Use https:// for docs.aws.amazon.com in aws_s3 module

* Support Amazon S3 Dual-Stack Endpoints in aws_module

The default S3 endpoint only resolves to IPv4 addresses. By enabling
the dual-stack endpoint IPv6 too get added as an option.
2018-07-31 11:35:33 -04:00
Jordan Borean
ccb2e9d32f Updated release and maintenance page () 2018-07-31 09:43:24 -05:00
Alex Dukhno
dd28be3aab Update pagerduty modules to rest v2 ()
* refactored from procedural to OOP

* updated ongoing maintenance windows to PagerDuty REST API v2

* update create maintenance windows to PagerDuty REST API v2

* update absent maintenance windows to PagerDuty REST API v2

* update pager alert module to PagerDuty REST API v2

* removed basic HTTP authorization
updated parameter description and examples

* fix failed sanity checks

* revised documentation according to review

* make obsolete service key parameter an alias to a new integration key parameter
2018-07-31 10:39:29 -04:00
Abhijeet Kasurde
122780abce Fix args schema regression in k8s module
Add back comma for required_one_of argument as it's
supposed to be an iterable of iterables.

PR  by @Akasurde
Fixes: 

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-07-31 14:44:29 +01:00
joren485
5af1d84842 [github] Replace second 'module' with 'feature' in PR template comment () 2018-07-31 09:22:43 -04:00
Abhijeet Kasurde
c44b05e167
VMware: update documentation and example ()
This fix updates the documenation of vmware_guest_custom_attribute_defs module.

Fixes: 

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-07-31 16:11:16 +05:30
Ganesh Nalawade
857200fa7f
Update cliconf get_config api ()
*  Change `filter` parameter to `flag` to be in sync
   with original naming convention
2018-07-31 02:53:29 -07:00
Zim Kalinowski
c8fcbdef71
fix for special case of last element of url ()
* fix for special case of last element of url

* improved version

* fixed mistake

* adding appropriate test

* fix problem

* just fixed task name
2018-07-31 16:31:08 +08:00
curry9999
c344a94846 version_added 2.6 -> 2.7 () 2018-07-31 10:43:32 +05:30
Ganesh Nalawade
ea6ef3fae8
Enable setting options for cliconf and other implementation plugins (if set to configurable) ()
* Enable setting setting cliconf plugin options

Fixes 

* Add support to set configuration options for implementation plugins (eg: cliconf)
  from `ansible-connection`

* Fix CI failure
2018-07-30 21:53:44 -07:00
joren485
d03b9eddf6 Remove unused imports from /bin and lib/ansible/cli ()
* Remove unused imports from lib/ansible/cli

* Remove unused imports from bin/
2018-07-30 18:55:42 -07:00
Alan Rominger
fa45c44026 Update openstack inventory script to keep basic functionality ()
re-applies commit 6667ec4474 which
fixed the plugin to the script so that it will work with current
ansible-inventory.

Also redirect stdout before dumping the ouptput, because not doing
so will cause JSON parse errors in some cases.
2018-07-30 16:38:05 -07:00
Alicia Cozine
84faa52b26 updates docs maintainers list () 2018-07-30 16:03:50 -07:00
Jordan Borean
d115794bf7 PrivilegeUtil: use native methods to get pointer offset () 2018-07-30 18:33:49 -04:00
joren485
240b65ddda Fix an unreachable else statement () 2018-07-31 08:27:13 +10:00
curry9999
486a43829c change aws_kms example () 2018-07-31 08:16:17 +10:00
Jordan Borean
9259f31fee Add Ansible.ModuleUtils.PrivilegeUtil and converted code to use it ()
* Add Ansible.ModuleUtils.PrivilegeUtil and converted code to use it

* Changed namespace and class to be a better standard and fixed some typos

* Changes from review

* changes to avoid out of bound mem of server 2008

* changes to detect failure when setting a privileged not allowed
2018-07-30 14:48:54 -07:00
Ajay Chenampara
d79027b77f Update with Emacs info ()
* Update other_tools_and_programs with Emacs info
2018-07-30 16:23:33 -05:00
Alicia Cozine
5fa8747af3 fixes broken link () 2018-07-30 14:12:36 -07:00
Matt Martz
77d2008150
Don't perform string to bool conversion in set_fact when jinja2 native types is enabled ()
* Don't perform string to bool conversion in set_fact when jinja2 native types is enabled. Fixes 

* Add tests for boolean conversions in set_fact
2018-07-30 15:44:38 -05:00
Ryan Brown
43c508b3c3
[AWS] iam_role->AnsibleAWSModule and support IAM permission boundaries ()
* Convert to AnsibleAWSModule and support IAM permission boundaries

* Handle adding boundary to existing role that lacks one

* Properly clean up role boundary associations on delete

* Handle case when policy boundary is `""` but does not exist
2018-07-30 15:06:23 -04:00
Abhijeet Kasurde
e2e3bf4073 VMware: documentation update ()
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-07-30 13:12:08 -05:00
Felix Fontein
d4c16f51be New acme_* integration test using ACME test docker container ()
* Using ACME test container for acme_account integration test.

* Removing dependency on setup_openssl. Waiting for controller and Pebble.

* More tinkering.

* Reducing number of tries.

* One more try.

* Another try.

* Added acme_certificate tests.

* Removed double key.

* Added tests for acme_certificate_revoke.

* Making task names more meaningful (during certificate generation).

* Using newer test container which integrates . Adding test for revoking certificate by its private key.

* Using new version of Pebble which limits the random auth delay.

* Simplifying certificates for revocation tests.

* Reworking acme_certificate tests (there are now more, but they are faster).

* Test whether account_key_content works.

* Preparing TLS-ALPN-01 support.

* Using official Ansible image of testing container on quay.io.

* Bumping version.

* Bumping version of test container to 1.1.0.

* Adjusting to new CI group names.

* Pass ACME simulator IP as playbook variable.

* Let test plugin wait for controller and CA endpoints to become active.

* Refactor common setup parts of tests to setup_acme.

* _ -> dummy

* Moving common obtain-cert.yml to setup_acme.
2018-07-30 11:10:17 -07:00
Brian Coca
c809500c79 document rescue vars () 2018-07-30 13:05:16 -05:00
Abhijeet Kasurde
9e221da44a VMware: vmware_guest_find scenario guide ()
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-07-30 12:53:33 -05:00
Ganesh Nalawade
89676c801f Update troubleshooting doc for command timeout ()
* Update troubleshooting doc for command timeout

* Update timeout document to reflect the new way to set
  command timeout per task basis for network_cli and netconf
  connection type as per PR 

* Fix CI failure

* Fix review comment

* Fix typo in doc
2018-07-30 13:29:35 -04:00
Abhijeet Kasurde
80369cf034 VMware: provide appropriate error if NICs missing ()
While creating/reconfiguring vSwitch without NICs check if nics details
are gathered or not.

Fixes: 

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-07-30 12:55:19 -04:00