Tyler Schwend
7a41833e59
feat: support datadog_monitor composite type ( #2958 )
...
* feat: support datadog_monitor composite type
* docs: note support for composite types
* lint
* lint: line lengths
* doc: changelog frag
2021-07-10 19:24:09 +02:00
Felix Fontein
fafabed9e6
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters ( #2877 )
...
* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.
* Also adjust tests.
2021-06-26 23:59:11 +02:00
Anas
c9cf641188
datadog_event : Adding api_host as an optional parameter ( #2775 )
...
* 2774 Module datadog_event _ Adding api_host as an optional parameter
* Update changelogs/fragments/2774-datadog_event_api_parameter.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update datadog_event.py
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Amin Vakil <info@aminvakil.com>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Amin Vakil <info@aminvakil.com>
Co-authored-by: Anas Hamadeh <anas.hamadeh@klarna.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Amin Vakil <info@aminvakil.com>
2021-06-17 19:05:35 +02:00
Felix Fontein
49d9a257ef
More false-positives (not flagged by sanity tests yet). ( #2010 )
2021-03-13 13:24:26 +01:00
Felix Fontein
36daa7c48e
Remove deprecated features scheduled for removal in 3.0.0 ( #1926 )
...
* Remove deprecated features.
* Remove ignore.txt entries.
* Update changelogs/fragments/remove-deprecated-features.yml
Co-authored-by: Joe Adams <adams10301@gmail.com>
Co-authored-by: Joe Adams <adams10301@gmail.com>
2021-03-09 21:23:20 +01:00
Alexei Znamensky
76d9fe4ec6
Tidy up sanity checks (2021/Batch 3 - who's counting) ( #1885 )
...
* fixed validation-modules for plugins/modules/packaging/language/pip_package_info.py
* fixed validation-modules for plugins/modules/packaging/language/maven_artifact.py
* fixed validation-modules for plugins/modules/packaging/language/bundler.py
* fixed validation-modules for plugins/modules/notification/pushbullet.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_handler.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_check.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_client.py
* fixed validation-modules for plugins/modules/monitoring/icinga2_host.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_monitor.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_event.py
* fixed validation-modules for plugins/modules/clustering/znode.py
* fixed validation-modules for plugins/modules/clustering/etcd3.py
* fixed validation-modules for plugins/modules/clustering/consul/consul_session.py
* fixed validation-modules for plugins/modules/clustering/consul/consul_kv.py
* fixed validation-modules for plugins/modules/clustering/consul/consul.py
* fixed validation-modules for plugins/modules/cloud/profitbricks/profitbricks.py
* fixed validation-modules for plugins/modules/cloud/profitbricks/profitbricks_volume.py
* fixed validation-modules for plugins/modules/cloud/packet/packet_sshkey.py
* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_server.py
* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_private_network.py
* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py
* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_load_balancer.py
* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_firewall_policy.py
* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_app.py
* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_db.py
* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_domain.py
* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_mailbox.py
* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_site.py
* fixed validation-modules for plugins/modules/remote_management/lxca/lxca_cmms.py
* fixed validation-modules for plugins/modules/remote_management/lxca/lxca_nodes.py
* missed one "elements" in sensu_handler
* Tidy up batch of sanity checks ignore lines
* missed lines in ignore-2.9.txt
* fixed validation-modules for plugins/modules/clustering/consul/consul_acl.py
* Update ignore-2.9.txt
Removed consul_acl.py from ignore-2.9.txt
* Apply suggestions from code review
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/modules/notification/pushbullet.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* added changelog fragment
* Update plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py
* Update changelogs/fragments/1885-sanity-check-fixes-batch3.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2021-02-26 11:37:23 +01:00
Rick Sherman
f509f2c896
datadog_monitor: Add missing monitor types query alert, trace-analytics alert, rum alert ( #1723 )
...
* Add missing Datadog monitor types
This commit adds the following monitor types: query alert, trace-analytics alert, rum alert
* changelog PR1723 datadog_monitor types
* datadog_monitor 1723 Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-02-05 07:22:49 +01:00
Hippolyte HENRY
19a5975181
Add downtime module ( #1437 )
...
* Add downtime module
* review + tests
* importorskip + review
* py36
* make py3.6+ dep explicit
2020-12-15 19:50:42 +01:00
Albert Vaca Cintora
e73451f09e
Datadog: Mark notification_message as no_log ( #1338 )
...
* Datadog: Mark notification_message as no_log
This message field is often used to page people or teams inside
an organization when a monitor goes off, by using `@` mentions.
If Ansible is configured to use Datadog's callback plugin [1], an
unwanted interaction would happen:
When a monitor fails to create, the callback sends an error event
to Datadog which contains all the task's loggable fields in it.
If the message field contains `@` mentions, this event would page
the people on them.
[1] https://github.com/DataDog/ansible-datadog-callback
* Add changelog fragment
* Update changelogs/fragments/1338-datadog-mark-notification_message-no_log.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-11-25 07:25:00 +01:00
Alexei Znamensky
ce5fc7764a
Tidy up validate-modules ignores for monitoring modules ( #1350 )
...
* fixed validation-modules for plugins/modules/monitoring/bigpanda.py
* fixed validation-modules for plugins/modules/monitoring/circonus_annotation.py
* fixed validation-modules for plugins/modules/monitoring/honeybadger_deployment.py
* fixed validation-modules for plugins/modules/monitoring/icinga2_feature.py
* fixed validation-modules for plugins/modules/monitoring/icinga2_host.py
* fixed validation-modules for plugins/modules/monitoring/librato_annotation.py
* fixed validation-modules for plugins/modules/monitoring/logentries.py
* fixed validation-modules for plugins/modules/monitoring/logstash_plugin.py
* fixed validation-modules for plugins/modules/monitoring/newrelic_deployment.py
* fixed validation-modules for plugins/modules/monitoring/pagerduty_alert.py
* fixed validation-modules for plugins/modules/monitoring/pagerduty.py
* fixed validation-modules for plugins/modules/monitoring/pingdom.py
* fixed validation-modules for plugins/modules/monitoring/rollbar_deployment.py
* fixed validation-modules for plugins/modules/monitoring/spectrum_device.py
* fixed validation-modules for plugins/modules/monitoring/stackdriver.py
* fixed validation-modules for plugins/modules/monitoring/statusio_maintenance.py
* fixed validation-modules for plugins/modules/monitoring/uptimerobot.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_event.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_monitor.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_check.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_client.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_handler.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_silence.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_subscription.py
* fixed trailing space
* Enabling validation-modules for monitoring modules
* Added line for 2.9
* Update plugins/modules/monitoring/icinga2_host.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Suggestion from PR
* oops, missed the 2.11 ignore file
* Update plugins/modules/monitoring/icinga2_host.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-11-23 22:07:03 +01:00
Ty Martin
307c54750f
Add include_tags to datadog_monitor ( #409 )
...
* Add include_tags to datadog_monitor
* Incorporate PR feedback
* Add changelog fragment
* Update changelogs/fragments/409-datadog-monitor-include-tags.yaml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/modules/monitoring/datadog/datadog_monitor.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-10-23 07:12:22 +02:00
Andrew Klychkov
41cfdda6a3
modules: fix examples to use FQCN ( #644 )
...
* modules: fix examples to use FQCN
* fix
* fix
* fix
2020-07-13 21:50:31 +02:00
Amin Vakil
650ae65f24
collection: Change default='no's and 'yes's to default=False and default=True ( #556 )
...
* Change default={'no','yes'} to default={False,True}
* Add changelog
* Remove changelog
2020-06-22 15:56:35 +02:00
Felix Fontein
f16a93f976
Adjust removal versions ( #521 )
...
* Adjust 2.11 and later Ansible versions to collection versions.
* Remove unnecessary changelog.
* Adjust Ansible 2.10 to community.general 0.2.0 (first 'proper' release).
* Caught some non-properly prefixed versions.
* Update plugins/modules/database/mysql/mysql_replication.py
2020-06-16 21:24:42 +02:00
Felix Fontein
b54ddaa28c
Clean up deprecations ( #504 )
...
* Adjust deprecation versions.
* Remove redirects that are already made in ansible/ansible's ansible_builtin_runtime.yml
* Remove modules that were moved to the google.cloud collection according to ansible/ansible's ansible_builtin_runtime.yml.
* The _info module is in google.cloud.
* The gcp doc_fragment is a copy of the one in google.cloud and is only used by one lookup. Mark as deprecated/internal.
* Remove entries of modules that no longer exist.
* Update ignore.txt.
* Try to fix test.
* Remove debug output.
2020-06-16 13:15:19 +02:00
Felix Fontein
f9589d78a8
Add version_added for all new features ( #214 )
...
* Add version_added: 1.0.0 for all new features added before pre-ansible-base.
* Add version_added: 1.0.0 for all new features.
* Next release will be 0.2.0
* Fix error.
* Remove unnecessary warnings.
2020-06-13 15:01:19 +02:00
Charles C
694546d784
datadog_monitor: kwargs for _update_monitor used message vs notification_message ( #389 )
...
* kwargs for _update_monitor wasn't corrected to new notification_message param
* forgot to bump a changelog fragment
* Update changelogs/fragments/389-datadog_monitor-corrects-deprecated-message-param.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-28 23:04:19 +01:00
Andrew Klychkov
983d937b7b
Fix Ansible documentation in part of example formatting ( #334 )
2020-05-15 13:12:41 +03:00
Andrew Klychkov
5d226f86b6
Remove ANSIBLE_METADATA ( #339 )
...
* Remove ANSIBLE_METADATA
* remove from other modules
* remove from plugins and scripts
2020-05-14 14:03:42 +01:00
Charles C
3599b8afdc
datadog_monitor: adds missing 'log alert' type to supported types ( #277 )
...
* adds missing 'log alert' type to supported types
* added changelog fragment
* Update changelogs/fragments/277-datadog_monitor-adds-missing-log-alert-type.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-05-06 08:15:37 +03:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00