diff --git a/evolinux-users/tasks/user.yml b/evolinux-users/tasks/user.yml index 9859db2f..96c70e31 100644 --- a/evolinux-users/tasks/user.yml +++ b/evolinux-users/tasks/user.yml @@ -18,25 +18,25 @@ - name: "Unix account for '{{ user.name }}' is present (with uid '{{ user.uid }}')" user: - state: present - uid: '{{ user.uid }}' - name: '{{ user.name }}' - comment: '{{ user.fullname }}' - shell: /bin/bash - password: '{{ user.password_hash }}' - update_password: on_create + state: present + uid: '{{ user.uid }}' + name: '{{ user.name }}' + comment: '{{ user.fullname }}' + shell: /bin/bash + password: '{{ user.password_hash }}' + update_password: on_create when: - loginisbusy.rc != 0 - uidisbusy.rc != 0 - name: "Unix account for '{{ user.name }}' is present (with random uid)" user: - state: present - name: '{{ user.name }}' - comment: '{{ user.fullname }}' - shell: /bin/bash - password: '{{ user.password_hash }}' - update_password: on_create + state: present + name: '{{ user.name }}' + comment: '{{ user.fullname }}' + shell: /bin/bash + password: '{{ user.password_hash }}' + update_password: on_create when: - loginisbusy.rc != 0 - uidisbusy.rc == 0 @@ -118,9 +118,9 @@ - name: "Home directory for '{{ user.name }}' is not accessible by group and other users" file: - name: '/home/{{ user.name }}' - mode: "0700" - state: directory + name: '/home/{{ user.name }}' + mode: "0700" + state: directory # Evomaintenance diff --git a/evomaintenance/tasks/minifirewall.yml b/evomaintenance/tasks/minifirewall.yml index 524ab90b..fc6ed0a5 100644 --- a/evomaintenance/tasks/minifirewall.yml +++ b/evomaintenance/tasks/minifirewall.yml @@ -28,9 +28,9 @@ tags: - evomaintenance -- name: Force restart minifirewall - command: /bin/true - notify: restart minifirewall - when: minifirewall_restart_force - tags: - - evomaintenance +- name: Force restart minifirewall + command: /bin/true + notify: restart minifirewall + when: minifirewall_restart_force + tags: + - evomaintenance diff --git a/minifirewall/tasks/main.yml b/minifirewall/tasks/main.yml index 691d3842..d45183ac 100644 --- a/minifirewall/tasks/main.yml +++ b/minifirewall/tasks/main.yml @@ -14,7 +14,7 @@ - include: tail.yml when: minifirewall_tail_included -- name: Force restart minifirewall - command: /bin/true - notify: restart minifirewall - when: minifirewall_restart_force +- name: Force restart minifirewall + command: /bin/true + notify: restart minifirewall + when: minifirewall_restart_force diff --git a/postgresql/tasks/pgdg-repo.yml b/postgresql/tasks/pgdg-repo.yml index 489f8068..dcc63d6f 100644 --- a/postgresql/tasks/pgdg-repo.yml +++ b/postgresql/tasks/pgdg-repo.yml @@ -16,7 +16,7 @@ - name: Add GPG key for PGDG repository apt_key: #url: http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc - data: "{{ lookup('file', 'ACCC4CF8.asc') }}" + data: "{{ lookup('file', 'ACCC4CF8.asc') }}" - name: Add APT preference file template: diff --git a/tomcat-instance/tasks/user.yml b/tomcat-instance/tasks/user.yml index 2c9a634d..f60a05ac 100644 --- a/tomcat-instance/tasks/user.yml +++ b/tomcat-instance/tasks/user.yml @@ -1,8 +1,8 @@ --- - name: Create group instance group: - name: "{{ tomcat_instance_name }}" - gid: "{{ tomcat_instance_port }}" + name: "{{ tomcat_instance_name }}" + gid: "{{ tomcat_instance_port }}" - name: Create user instance user: diff --git a/unbound/handlers/main.yml b/unbound/handlers/main.yml index 346edf1a..05a3ff40 100644 --- a/unbound/handlers/main.yml +++ b/unbound/handlers/main.yml @@ -1,5 +1,5 @@ --- - name: reload unbound service: - name: unbound - state: reloaded + name: unbound + state: reloaded diff --git a/webapps/roundcube/tasks/main.yml b/webapps/roundcube/tasks/main.yml index 9efd6b6a..ba65b1f8 100644 --- a/webapps/roundcube/tasks/main.yml +++ b/webapps/roundcube/tasks/main.yml @@ -6,24 +6,24 @@ value: "{{ item.value }}" vtype: "{{ item.type }}" with_items: - - { key: 'roundcube/database-type', type: 'select', value: 'sqlite3' } - - { key: 'roundcube/db/basepath', type: 'string', value: '/var/lib/roundcube/' } + - { key: 'roundcube/database-type', type: 'select', value: 'sqlite3' } + - { key: 'roundcube/db/basepath', type: 'string', value: '/var/lib/roundcube/' } tags: - - roundcube + - roundcube - name: install Roundcube apt: name: "{{ item }}" state: present with_items: - - imapproxy - - roundcube - - roundcube-sqlite3 - - roundcube-plugins - - php-net-sieve - - php-zip + - imapproxy + - roundcube + - roundcube-sqlite3 + - roundcube-plugins + - php-net-sieve + - php-zip tags: - - roundcube + - roundcube - name: configure imapproxy imap host lineinfile: @@ -32,7 +32,7 @@ line: "server_hostname {{ roundcube_imap_host }}" notify: restart imapproxy tags: - - roundcube + - roundcube - name: configure imapproxy imap port lineinfile: @@ -41,7 +41,7 @@ line: "server_port {{ roundcube_imap_port }}" notify: reload imapproxy tags: - - roundcube + - roundcube - name: enable and start imapproxy service: @@ -49,24 +49,24 @@ state: started enabled: True tags: - - roundcube + - roundcube - name: configure roundcube imap host lineinfile: - dest: /etc/roundcube/config.inc.php - regexp: "\\$config\\['default_host'\\]" - line: "$config['default_host'] = array('127.0.0.1');" + dest: /etc/roundcube/config.inc.php + regexp: "\\$config\\['default_host'\\]" + line: "$config['default_host'] = array('127.0.0.1');" tags: - - roundcube + - roundcube - name: configure roudcube imap port lineinfile: - dest: /etc/roundcube/config.inc.php - regexp: "\\$config\\['default_port'\\]" - insertafter: "\\$config\\['default_host'\\]" - line: "$config['default_port'] = 1143;" + dest: /etc/roundcube/config.inc.php + regexp: "\\$config\\['default_port'\\]" + insertafter: "\\$config\\['default_host'\\]" + line: "$config['default_port'] = 1143;" tags: - - roundcube + - roundcube - name: configure managesieve plugin copy: @@ -75,7 +75,7 @@ mode: "0644" remote_src: True tags: - - roundcube + - roundcube - name: enable default plugins replace: @@ -83,7 +83,7 @@ regexp: "^\\$config\\['plugins'\\] = array\\($" replace: "$config['plugins'] = array('zipdownload','managesieve'" tags: - - roundcube + - roundcube - name: deploy apache roundcube vhost template: @@ -93,7 +93,7 @@ notify: reload apache2 when: roundcube_webserver == "apache" tags: - - roundcube + - roundcube - name: enable apache roundcube vhost file: @@ -103,7 +103,7 @@ notify: reload apache2 when: roundcube_webserver == "apache" tags: - - roundcube + - roundcube - name: deploy Nginx roundcube vhost template: @@ -128,4 +128,4 @@ line: '
  • Webmail
  • ' insertbefore: "" tags: - - roundcube + - roundcube