infra/roles/lb/tasks/main.yml

26 lines
456 B
YAML

---
- name: template failover script
template:
src: "{{ item }}.j2"
dest: "/usr/local/bin/{{ item }}"
owner: root
group: root
mode: 0755
with_items:
- failover.py
# - name: sshd AllowedUsers config
# template:
# src: 10-lb.conf.j2
# dest: /etc/ssh/sshd_config.d/10-lb.conf
# owner: root
# group: root
# mode: '0644'
# tags:
# - sshd
# - gitea
# notify:
# - reload ssh
# - restart ssh