refactor ansible code in to ansible-2.0 folder, and created space for ansible-2.10

This commit is contained in:
2021-12-21 10:03:39 -05:00
parent e156b183ed
commit 22ef544758
159 changed files with 59 additions and 36 deletions

View File

@@ -0,0 +1,43 @@
---
# playbook for home02
- hosts: home02
remote_user: ansible
gather_facts: yes
become: true
vars:
cleanup:
packages:
- git
cron: []
# datadog_api_key: ca0faf176c4aedd4f547ed7cf85615eb
# datadog_checks:
# system:
# init_config: []
# instances: []
# disk:
# init_config:
# instances:
# - use_mount: yes
# excluded_filesystems:
# - sysfs
# - cgroup
# - tracefs
# - debugfs
# - proc
# - securityfs
# excluded_mountpoint_re: /[media/richard|run/user].*
roles:
# - Datadog.datadog
# - ns.xai-corp.net
# - td-agent-bit
- dynamic-ip
- cleanup
post_tasks:
# - name: check service is up
# service: name={{ bind.service }} state=started