forked from evolix/ansible-roles
whitespaces
This commit is contained in:
parent
579c32828f
commit
1b24815491
|
@ -3,12 +3,10 @@
|
||||||
stat:
|
stat:
|
||||||
path: /etc/nginx/nginx.conf
|
path: /etc/nginx/nginx.conf
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
register: stn
|
register: stn
|
||||||
|
|
||||||
- name: Determine Apache presence
|
- name: Determine Apache presence
|
||||||
stat:
|
stat:
|
||||||
path: /etc/apache2/apache2.conf
|
path: /etc/apache2/apache2.conf
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
register: sta
|
register: sta
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
service:
|
service:
|
||||||
name: nmbd
|
name: nmbd
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: restart smbd
|
- name: restart smbd
|
||||||
service:
|
service:
|
||||||
name: smbd
|
name: smbd
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
stat:
|
stat:
|
||||||
path: /etc/log2mail/config/
|
path: /etc/log2mail/config/
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
||||||
register: log2mail_config
|
register: log2mail_config
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
shell: id -ng "{{ tomcat_instance_port }}"
|
shell: id -ng "{{ tomcat_instance_port }}"
|
||||||
register: check_port_gid
|
register: check_port_gid
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
failed_when:
|
failed_when:
|
||||||
- check_port_gid|success
|
- check_port_gid|success
|
||||||
- check_port_gid.stdout != "{{ tomcat_instance_name }}"
|
- check_port_gid.stdout != "{{ tomcat_instance_name }}"
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
- name: Check use of uid
|
- name: Check use of uid
|
||||||
shell: id -nu "{{ tomcat_instance_port }}"
|
shell: id -nu "{{ tomcat_instance_port }}"
|
||||||
register: check_port_uid
|
register: check_port_uid
|
||||||
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when:
|
failed_when:
|
||||||
- check_port_uid|success
|
- check_port_uid|success
|
||||||
|
|
Loading…
Reference in a new issue