whitespaces

This commit is contained in:
Jérémy Lecour 2017-05-21 19:32:25 +02:00
parent 579c32828f
commit 1b24815491
4 changed files with 6 additions and 10 deletions

View File

@ -3,12 +3,10 @@
stat:
path: /etc/nginx/nginx.conf
check_mode: no
register: stn
- name: Determine Apache presence
stat:
path: /etc/apache2/apache2.conf
check_mode: no
register: sta

View File

@ -2,8 +2,9 @@
- name: restart nmbd
service:
name: nmbd
state: restarted
- name: restart smbd
state: restarted
- name: restart smbd
service:
name: smbd
state: restarted

View File

@ -4,7 +4,6 @@
stat:
path: /etc/log2mail/config/
check_mode: no
register: log2mail_config
- block:

View File

@ -1,23 +1,21 @@
---
- name: Check tomcat_instance_name
debug:
debug:
msg: "{{ tomcat_instance_name }}"
- name: Check use of gid
shell: id -ng "{{ tomcat_instance_port }}"
register: check_port_gid
changed_when: false
failed_when:
failed_when:
- check_port_gid|success
- check_port_gid.stdout != "{{ tomcat_instance_name }}"
- name: Check use of uid
shell: id -nu "{{ tomcat_instance_port }}"
register: check_port_uid
changed_when: false
failed_when:
failed_when:
- check_port_uid|success
- check_port_uid.stdout != "{{ tomcat_instance_name }}"