[TIDY] yaml auto-format

This commit is contained in:
Jannik Beyerstedt 2019-11-12 21:34:35 +01:00
parent 04686de59c
commit e6db3ccc06
11 changed files with 18 additions and 21 deletions

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -6,7 +6,6 @@
shell: lsb_release -is
register: lsb_id
- name: caddyserver - Stop caddy
become: yes
service:

View File

@ -37,7 +37,6 @@
group: root
mode: 0644
- name: caddyserver - Add standard user to www-data group
become: yes
user:

View File

@ -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:

View File

@ -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

View File

@ -9,4 +9,4 @@
dest: "/etc/ssh/sshd_config"
backup: yes
notify:
- Restart sshd
- Restart sshd

View File

@ -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

View File

@ -1,2 +0,0 @@
---
# vars file for server