set hostname during update_hosts.yml playbook
This commit is contained in:
@@ -27,43 +27,43 @@
|
||||
become: true
|
||||
- role: rsyslog
|
||||
become: true
|
||||
- role: datadog.datadog
|
||||
become: true
|
||||
when: ansible_architecture != 'armv7l'
|
||||
datadog_checks:
|
||||
reboot_required:
|
||||
init_config:
|
||||
instances:
|
||||
-
|
||||
oom_kill:
|
||||
init_config:
|
||||
instances:
|
||||
-
|
||||
systemd:
|
||||
- unit_names:
|
||||
- cron.service
|
||||
- k3s.service
|
||||
- named.service
|
||||
- ssh.servce
|
||||
- apt-daily-upgrade.timer
|
||||
# - role: datadog.datadog
|
||||
# become: true
|
||||
# when: ansible_architecture != 'armv7l'
|
||||
# datadog_checks:
|
||||
# reboot_required:
|
||||
# init_config:
|
||||
# instances:
|
||||
# -
|
||||
# oom_kill:
|
||||
# init_config:
|
||||
# instances:
|
||||
# -
|
||||
# systemd:
|
||||
# - unit_names:
|
||||
# - cron.service
|
||||
# - k3s.service
|
||||
# - named.service
|
||||
# - ssh.servce
|
||||
# - apt-daily-upgrade.timer
|
||||
#
|
||||
# bind9:
|
||||
# init_config:
|
||||
# instances:
|
||||
# - url: "http://ns01:8053/"
|
||||
# - url: "http://ns02:8053/"
|
||||
#
|
||||
# datadog_integration:
|
||||
# datadog-reboot_required:
|
||||
# action: install
|
||||
# version: 1.0.0
|
||||
# third_party: true
|
||||
# datadog-bind9:
|
||||
# action: install
|
||||
# version: 1.0.0
|
||||
# third_party: true
|
||||
|
||||
bind9:
|
||||
init_config:
|
||||
instances:
|
||||
- url: "http://ns01:8053/"
|
||||
- url: "http://ns02:8053/"
|
||||
|
||||
datadog_integration:
|
||||
datadog-reboot_required:
|
||||
action: install
|
||||
version: 1.0.0
|
||||
third_party: true
|
||||
datadog-bind9:
|
||||
action: install
|
||||
version: 1.0.0
|
||||
third_party: true
|
||||
|
||||
- role: datadog.datadog
|
||||
become: true
|
||||
datadog_agent_flavor: datadog-iot-agent
|
||||
when: ansible_architecture == 'armv7l'
|
||||
# - role: datadog.datadog
|
||||
# become: true
|
||||
# datadog_agent_flavor: datadog-iot-agent
|
||||
# when: ansible_architecture == 'armv7l'
|
||||
|
||||
Reference in New Issue
Block a user