This commit is contained in:
@@ -33,4 +33,4 @@ jobs:
|
||||
|
||||
- name: Run Ansible Playbook
|
||||
run: |
|
||||
ansible-playbook -i inventory.yaml -e 'ANSIBLE_SUDO_PASS="${{ secrets.SUDO_PASS }}" ANSIBLE_TOKEN="${{ secrets.ANSIBLE_TOKEN }}"' traefik.yaml -vv
|
||||
ansible-playbook -i inventory.yaml -e 'ANSIBLE_SUDO_PASS="${{ secrets.SUDO_PASS }}" ANSIBLE_TOKEN="${{ secrets.ANSIBLE_TOKEN }}"' setup-traefik-domain.yaml -vv
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
- hosts: takahe
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
vars:
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
|
||||
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
|
||||
container_dir: /srv/docker
|
||||
vars_files:
|
||||
- ./vars.yaml
|
||||
|
||||
tasks:
|
||||
- name: Install Docker CE ## From: https://gist.github.com/rbq/886587980894e98b23d0eee2a1d84933, https://docs.docker.com/engine/install/
|
||||
include_tasks: docker.yaml
|
||||
include_tasks: setup-docker.yaml
|
||||
|
||||
- name: Set up containers
|
||||
include_tasks: containers.yaml
|
||||
include_tasks: setup-containers.yaml
|
||||
with_items:
|
||||
- ddclient
|
||||
- prometheus
|
||||
Reference in New Issue
Block a user