From d34ade44938c41c8c815ff03519e3498a54d06f6 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 4 Dec 2017 13:50:21 +0100 Subject: [PATCH] whitespaces --- proftpd/tasks/account.yml | 16 ++++++++-------- proftpd/tasks/main.yml | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/proftpd/tasks/account.yml b/proftpd/tasks/account.yml index c64ddc2e..7f3cbe58 100644 --- a/proftpd/tasks/account.yml +++ b/proftpd/tasks/account.yml @@ -6,7 +6,7 @@ changed_when: check_ftp_account.rc != 0 register: check_ftp_account tags: - - proftpd + - proftpd - name: Generate FTP password command: apg -n1 @@ -14,14 +14,14 @@ check_mode: no when: check_ftp_account.rc != 0 tags: - - proftpd + - proftpd - name: Print generated password debug: msg: "{{ ftp_password.stdout }}" when: check_ftp_account.rc != 0 tags: - - proftpd + - proftpd - name: Hash generated FTP password set_fact: @@ -29,7 +29,7 @@ check_mode: no when: check_ftp_account.rc != 0 tags: - - proftpd + - proftpd - name: Get current FTP password shell: grep "^{{ proftpd_name }}:" /etc/proftpd/vpasswd | cut -d':' -f2 @@ -38,7 +38,7 @@ when: check_ftp_account.rc == 0 changed_when: false tags: - - proftpd + - proftpd - name: Get current FTP password set_fact: @@ -47,7 +47,7 @@ when: check_ftp_account.rc == 0 changed_when: false tags: - - proftpd + - proftpd - name: Create FTP account lineinfile: @@ -58,7 +58,7 @@ line: "{{ proftpd_name }}:{{ proftpd_password }}:{{ proftpd_uid }}:{{ proftpd_gid }}::{{ proftpd_home }}:/bin/false" notify: restart proftpd tags: - - proftpd + - proftpd - name: Allow FTP account lineinfile: @@ -68,4 +68,4 @@ insertbefore: "DenyAll" notify: restart proftpd tags: - - proftpd + - proftpd diff --git a/proftpd/tasks/main.yml b/proftpd/tasks/main.yml index a0c5fbb2..a48c9836 100644 --- a/proftpd/tasks/main.yml +++ b/proftpd/tasks/main.yml @@ -4,8 +4,8 @@ name: proftpd-basic state: present tags: - - proftpd - - packages + - proftpd + - packages - name: ftpusers groupe exists group: @@ -13,7 +13,7 @@ state: present notify: restart proftpd tags: - - proftpd + - proftpd - name: local jail is installed template: @@ -23,7 +23,7 @@ force: no notify: restart proftpd tags: - - proftpd + - proftpd - name: mod_tls_memcache is disabled replace: @@ -32,7 +32,7 @@ replace: '#LoadModule mod_tls_memcache.c' notify: restart proftpd tags: - - proftpd + - proftpd - name: Put empty vpasswd file if missing copy: @@ -41,7 +41,7 @@ force: no notify: restart proftpd tags: - - proftpd + - proftpd # Why 440? Because should be edited with ftpasswd. # So, readonly when opened with vim. @@ -54,4 +54,4 @@ group: root notify: restart proftpd tags: - - proftpd + - proftpd