ansible/site.yml
2020-10-17 18:06:35 -05:00

23 lines
459 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
# Preambulatory system configuration
- hosts: all
roles:
- role: common
tags: [ common ]
- role: ansible-pull
tags: [ ansible, common ]
# Database servers
- hosts: db1.test.desu.ltd
roles:
- role: postgresql
tags: [ db, psql ]
# Webservers
- hosts: web1.test.desu.ltd
roles:
- role: apache
tags: [ web, apache ]
- role: php
tags: [ web, php ]