Add some basic roles
NYI
This commit is contained in:
parent
300c4ddb94
commit
a7f32f7c48
13
site.yml
13
site.yml
@ -1,9 +1,22 @@
|
|||||||
#!/usr/bin/env ansible-playbook
|
#!/usr/bin/env ansible-playbook
|
||||||
# vim:ft=ansible:
|
# vim:ft=ansible:
|
||||||
---
|
---
|
||||||
|
# Preambulatory system configuration
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- role: common
|
- role: common
|
||||||
tags: [ common ]
|
tags: [ common ]
|
||||||
- role: ansible-pull
|
- role: ansible-pull
|
||||||
tags: [ ansible, common ]
|
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 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user