ansible/site.yml

23 lines
459 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 ]
2020-10-17 18:06:35 -05:00
# 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 ]