whitespaces

This commit is contained in:
Jérémy Lecour 2019-05-14 13:57:31 +02:00 committed by Jérémy Lecour
parent 7cc1777cf5
commit bd8644ae60
7 changed files with 58 additions and 58 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,5 @@
---
- name: reload unbound
service:
name: unbound
state: reloaded
name: unbound
state: reloaded

View file

@ -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: ' <li><a href="https://{{ roundcube_host }}">Webmail</a></li>'
insertbefore: "</ul>"
tags:
- roundcube
- roundcube