add nightly run
This commit is contained in:
parent
ca1aa3dc5e
commit
45bcc63b43
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: ansible
|
||||
|
||||
steps:
|
||||
- name: check ansible syntax
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
playbook: nightly.yaml
|
||||
galaxy: requirements.yaml
|
||||
inventory: inventory.yaml
|
||||
syntax_check: true
|
||||
|
||||
- name: run playbook in check mode
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
playbook: nightly.yaml
|
||||
galaxy: requirements.yaml
|
||||
inventory: inventory.yaml
|
||||
check: true
|
||||
|
||||
- name: ansible nightly run
|
||||
image: plugins/ansible:3
|
||||
settings:
|
||||
playbook: nightly.yaml
|
||||
galaxy: requirements.yaml
|
||||
inventory: inventory.yaml
|
@ -21,6 +21,7 @@ all:
|
||||
nextcloud:
|
||||
backup:
|
||||
dockerwebhosts:
|
||||
hosts:
|
||||
matrix:
|
||||
drone:
|
||||
swagger:
|
||||
@ -29,4 +30,13 @@ all:
|
||||
nexus:
|
||||
nextcloud:
|
||||
neko:
|
||||
nightlydocker:
|
||||
hosts:
|
||||
matrix:
|
||||
swagger:
|
||||
guacamole:
|
||||
bitwarden:
|
||||
nexus:
|
||||
nextcloud:
|
||||
neko:
|
||||
...
|
||||
|
35
nightly.yaml
Normal file
35
nightly.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
- name: "Deploy basic webhost with Docker"
|
||||
hosts: nightlydocker
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- docker
|
||||
- webserver
|
||||
- internalsmtp
|
||||
|
||||
- name: "Setup neko"
|
||||
hosts: neko
|
||||
roles:
|
||||
- common
|
||||
- docker
|
||||
- neko
|
||||
- customfirewall
|
||||
- internalsmtp
|
||||
|
||||
- name: "Deploy smtpgateway to smtp.intra.tormakris.dev"
|
||||
hosts: smtp
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- smtpgateway
|
||||
|
||||
- name: "Deploy backup server"
|
||||
hosts: backup
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
- internalsmtp
|
||||
- backupscript
|
||||
- backuphost
|
||||
...
|
Loading…
Reference in New Issue
Block a user