add VM and docker compose for concourse
This commit is contained in:
parent
4c35512e62
commit
e5a0727375
9 changed files with 107 additions and 11 deletions
15
ansible/roles/concourse/tasks/main.yml
Normal file
15
ansible/roles/concourse/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: Create working directory
|
||||
file:
|
||||
path: /srv/concourse
|
||||
state: directory
|
||||
|
||||
- name: Copy Docker compose
|
||||
template:
|
||||
src: "{{ role_path }}/docker-compose.yml.j2"
|
||||
dest: /srv/concourse/docker-compose.yml
|
||||
|
||||
- name: Start the Docker Compose
|
||||
docker_compose:
|
||||
project_src: /srv/concourse
|
||||
pull: true
|
||||
remove_orphans: true
|
Reference in a new issue