[TIDY] yaml auto-format
This commit is contained in:
parent
04686de59c
commit
e6db3ccc06
|
@ -37,6 +37,10 @@ Mandatory variable:
|
||||||
Mandatory variable:
|
Mandatory variable:
|
||||||
- `cron_email`: Sender email address used by cron
|
- `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
|
### 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.
|
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
|
name: ssh
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
|
||||||
- name: Enable telegraf
|
- name: Enable telegraf
|
||||||
service:
|
service:
|
||||||
name: telegraf
|
name: telegraf
|
||||||
|
@ -23,7 +22,6 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
|
||||||
- name: Enable caddy
|
- name: Enable caddy
|
||||||
service:
|
service:
|
||||||
name: caddy
|
name: caddy
|
||||||
|
|
|
@ -11,10 +11,12 @@ galaxy_info:
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
|
|
||||||
galaxy_tags: []
|
galaxy_tags:
|
||||||
|
[]
|
||||||
# List tags for your role here, one per line.
|
# List tags for your role here, one per line.
|
||||||
# Be sure to remove the '[]' above, if you add tags to this list.
|
# Be sure to remove the '[]' above, if you add tags to this list.
|
||||||
|
|
||||||
dependencies: []
|
dependencies:
|
||||||
|
[]
|
||||||
# List your role dependencies here, one per line.
|
# List your role dependencies here, one per line.
|
||||||
# Be sure to remove the '[]' above, if you add tags to this list.
|
# Be sure to remove the '[]' above, if you add tags to this list.
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
- "borgbackup-{{ ansible_distribution }}.yml"
|
- "borgbackup-{{ ansible_distribution }}.yml"
|
||||||
- "borgbackup-{{ ansible_os_family }}.yml"
|
- "borgbackup-{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
|
|
||||||
# copy backup script and enable cronjob
|
# copy backup script and enable cronjob
|
||||||
- name: borgbackup - Copy Borgbackup script
|
- name: borgbackup - Copy Borgbackup script
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
shell: lsb_release -is
|
shell: lsb_release -is
|
||||||
register: lsb_id
|
register: lsb_id
|
||||||
|
|
||||||
|
|
||||||
- name: caddyserver - Stop caddy
|
- name: caddyserver - Stop caddy
|
||||||
become: yes
|
become: yes
|
||||||
service:
|
service:
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
|
|
||||||
- name: caddyserver - Add standard user to www-data group
|
- name: caddyserver - Add standard user to www-data group
|
||||||
become: yes
|
become: yes
|
||||||
user:
|
user:
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
- mailutils
|
- mailutils
|
||||||
- name: cronmails - Create exim4 config folder
|
- name: cronmails - Create exim4 config folder
|
||||||
become: yes
|
become: yes
|
||||||
file: path=/etc/exim4 state=directory
|
file:
|
||||||
|
path: /etc/exim4
|
||||||
|
state: directory
|
||||||
- name: cronmails - Copy exim4 config template
|
- name: cronmails - Copy exim4 config template
|
||||||
become: yes
|
become: yes
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
- "docker-{{ ansible_distribution }}.yml"
|
- "docker-{{ ansible_distribution }}.yml"
|
||||||
- "docker-{{ ansible_os_family }}.yml"
|
- "docker-{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
|
|
||||||
# Other setup tasks
|
# Other setup tasks
|
||||||
- name: docker - Add standard user to docker group
|
- name: docker - Add standard user to docker group
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
---
|
---
|
||||||
# Server/Telegraf: Install and Setup Telegraf Monitoring
|
# 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
|
- name: telegraf - Install apt-transport-https
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
---
|
|
||||||
# vars file for server
|
|
Loading…
Reference in a new issue