~starkingdoms/starkingdoms

ref: 42c011904171e3e34895263e72fc6b6b29521e50 starkingdoms/ansible/start-stable.yaml -rw-r--r-- 311 bytes
42c01190 — core change api and game urls (this should be the final in the flurry of commits i have pushed recently) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
- name: Start stable servers
  hosts: starkingdoms_prod_servers_beta
  vars:
    compose_dir: /home/stk-deploy
  tasks:
    - name: Ensure host connectivity
      ansible.builtin.ping:
    - name: Start the server
      ansible.builtin.shell:
        cmd: docker-compose up -d
        chdir: "{{ compose_dir }}"