ansible/site.yml

28 lines
665 B
YAML
Raw Normal View History

2020-10-17 00:21:57 -05:00
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
2020-10-17 01:00:06 -05:00
---
2020-10-17 18:06:35 -05:00
# Preambulatory system configuration
2020-10-17 00:21:57 -05:00
- hosts: all
roles:
- role: common
2020-10-17 01:00:06 -05:00
tags: [ common ]
- role: ansible-pull
tags: [ ansible, common ]
- role: git
vars:
git_repos:
- repo: "{{ ansible_pull_repo }}"
dest: /etc/ansible
tags: [ ansible, git, common ]
# Import specific playbooks
- hosts: prod
2021-01-23 19:18:09 -06:00
vars_files:
- playbooks/vars/netdata.yml
roles:
- role: netdata
tags: [ mon ]
- import_playbook: playbooks/db.yml
- import_playbook: playbooks/web.yml
- import_playbook: playbooks/game.yml
- import_playbook: playbooks/desktop.yml