[TIDY] yaml auto-format
This commit is contained in:
parent
04686de59c
commit
e6db3ccc06
|
@ -37,6 +37,10 @@ Mandatory variable:
|
|||
Mandatory variable:
|
||||
- `cron_email`: Sender email address used by cron
|
||||
|
||||
### Docker
|
||||
Optional variable:
|
||||
- `dockercompose_use_pip`: boolean to use pip instead of manual download (default: false)
|
||||
|
||||
### DynDNS
|
||||
This task and it's configuration files might be quite specific for the [davd/docker-ddns](https://github.com/dprandzioch/docker-ddns) docker container.
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
name: ssh
|
||||
state: restarted
|
||||
|
||||
|
||||
- name: Enable telegraf
|
||||
service:
|
||||
name: telegraf
|
||||
|
@ -23,7 +22,6 @@
|
|||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
|
||||
- name: Enable caddy
|
||||
service:
|
||||
name: caddy
|
||||
|
|
|
@ -7,14 +7,16 @@ galaxy_info:
|
|||
min_ansible_version: 2.4
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
|
||||
galaxy_tags: []
|
||||
galaxy_tags:
|
||||
[]
|
||||
# List tags for your role here, one per line.
|
||||
# Be sure to remove the '[]' above, if you add tags to this list.
|
||||
|
||||
dependencies: []
|
||||
dependencies:
|
||||
[]
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above, if you add tags to this list.
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
- "borgbackup-{{ ansible_distribution }}.yml"
|
||||
- "borgbackup-{{ ansible_os_family }}.yml"
|
||||
|
||||
|
||||
# copy backup script and enable cronjob
|
||||
- name: borgbackup - Copy Borgbackup script
|
||||
become: yes
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
shell: lsb_release -is
|
||||
register: lsb_id
|
||||
|
||||
|
||||
- name: caddyserver - Stop caddy
|
||||
become: yes
|
||||
service:
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
|
||||
|
||||
- name: caddyserver - Add standard user to www-data group
|
||||
become: yes
|
||||
user:
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- exim4
|
||||
- mailutils
|
||||
- exim4
|
||||
- mailutils
|
||||
- name: cronmails - Create exim4 config folder
|
||||
become: yes
|
||||
file: path=/etc/exim4 state=directory
|
||||
file:
|
||||
path: /etc/exim4
|
||||
state: directory
|
||||
- name: cronmails - Copy exim4 config template
|
||||
become: yes
|
||||
copy:
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
- "docker-{{ ansible_distribution }}.yml"
|
||||
- "docker-{{ ansible_os_family }}.yml"
|
||||
|
||||
|
||||
# Other setup tasks
|
||||
- name: docker - Add standard user to docker group
|
||||
become: yes
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
dest: "/etc/ssh/sshd_config"
|
||||
backup: yes
|
||||
notify:
|
||||
- Restart sshd
|
||||
- Restart sshd
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
# Server/Telegraf: Install and Setup Telegraf Monitoring
|
||||
# Variables:
|
||||
# - telegraf_snmp: boolean, enable SNMP monitoring for the fra80 network
|
||||
# - telegraf_docker: boolean, enable docker monitoring
|
||||
|
||||
- name: telegraf - Install apt-transport-https
|
||||
become: yes
|
||||
|
@ -33,4 +30,4 @@
|
|||
src: "{{ role_path }}/templates/telegraf.conf"
|
||||
dest: /etc/telegraf/telegraf.conf
|
||||
notify:
|
||||
- Enable and restart telegraf
|
||||
- Enable and restart telegraf
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# vars file for server
|
Loading…
Reference in a new issue