diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-20 14:57:22 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-20 14:57:22 +0300 |
commit | 9d36cfabe1253f8b8916a200061e89aa59cb26c8 (patch) | |
tree | b5198b527f55886e22ff2dd9c1f36361d73c9069 /roles/server/tasks | |
parent | add Makefile (diff) | |
download | maintenance-9d36cfabe1253f8b8916a200061e89aa59cb26c8.tar.gz maintenance-9d36cfabe1253f8b8916a200061e89aa59cb26c8.zip |
roles/server -> roles/my-server
Diffstat (limited to 'roles/server/tasks')
-rw-r--r-- | roles/server/tasks/main.yml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml deleted file mode 100644 index 05ef180..0000000 --- a/roles/server/tasks/main.yml +++ /dev/null @@ -1,23 +0,0 @@ -- name: 'Check if {{ server_dir }}/docker-compose.yml exists' - stat: - path: '{{ server_dir }}/docker-compose.yml' - register: server_exists - -- when: server_exists.stat.exists - become: true - block: - # community.docker.docker_compose is too confusing for me to use, sorry. - - name: docker-compose pull - command: docker-compose pull --quiet - args: - chdir: '{{ server_dir }}' - - - name: docker-compose build - command: docker-compose build --pull - args: - chdir: '{{ server_dir }}' - - - name: docker-compose up - command: docker-compose up -d - args: - chdir: '{{ server_dir }}' |