refactoring #1

Merged
xoxys merged 10 commits from refactoring into master 2020-06-22 21:29:31 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit fa18029fdf - Show all commits

View File

@ -10,6 +10,6 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_droneci_compose_file(host):
f = host.file('/var/lib/docker/services/droneci/droneci.yml')
f = host.file('/var/lib/docker/services/droneci/docker-compose.yml')
assert f.exists

View File

@ -13,7 +13,7 @@
- name: Deploy compose file to '{{ droneci_service_directory }}'
template:
src: "services/droneci_compose.yml.j2"
dest: "{{ droneci_service_directory }}/droneci.yml"
dest: "{{ droneci_service_directory }}/docker-compose.yml"
owner: root
group: root
mode: 0640
@ -29,8 +29,6 @@
- name: Ensure Drone is up and running
docker_compose:
project_src: "{{ droneci_service_directory }}"
files:
- droneci.yml
pull: yes
remove_orphans: yes
stopped: "{{ droneci_service_stopped }}"