forked from evolix/ansible-roles
[Cleanup] multiple small role cleaning
Mostly whitespace and comparison with empty strings
This commit is contained in:
parent
440bec2feb
commit
5cf81335e6
|
@ -13,7 +13,7 @@
|
||||||
changed_when: False
|
changed_when: False
|
||||||
check_mode: no
|
check_mode: no
|
||||||
register: kvm_libvirt_images_current_real_path_test
|
register: kvm_libvirt_images_current_real_path_test
|
||||||
when: kvm_custom_libvirt_images_path != ''
|
when: kvm_custom_libvirt_images_path
|
||||||
|
|
||||||
- name: Images directory is moved to custom path
|
- name: Images directory is moved to custom path
|
||||||
block:
|
block:
|
||||||
|
@ -35,6 +35,6 @@
|
||||||
dest: '/var/lib/libvirt/images'
|
dest: '/var/lib/libvirt/images'
|
||||||
state: link
|
state: link
|
||||||
when:
|
when:
|
||||||
- kvm_custom_libvirt_images_path != ''
|
- kvm_custom_libvirt_images_path
|
||||||
- kvm_custom_libvirt_images_path != kvm_libvirt_images_current_real_path_test.stdout
|
- kvm_custom_libvirt_images_path != kvm_libvirt_images_current_real_path_test.stdout
|
||||||
- not kvm_custom_libvirt_images_path_test.stat.exists
|
- not kvm_custom_libvirt_images_path_test.stat.exists
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
failed_when: False
|
failed_when: False
|
||||||
changed_when: False
|
changed_when: False
|
||||||
register: is_cron_installed
|
register: is_cron_installed
|
||||||
|
|
||||||
- name: "log rotation script"
|
- name: "log rotation script"
|
||||||
template:
|
template:
|
||||||
src: rotate_logstash_logs.j2
|
src: rotate_logstash_logs.j2
|
||||||
|
|
|
@ -28,4 +28,4 @@
|
||||||
- restart logstash
|
- restart logstash
|
||||||
tags:
|
tags:
|
||||||
- logstash
|
- logstash
|
||||||
when: (logstash_custom_tmpdir != '' and logstash_custom_tmpdir != None) or fstab_tmp_noexec.rc == 0
|
when: (logstash_custom_tmpdir and logstash_custom_tmpdir != None) or fstab_tmp_noexec.rc == 0
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
msg: Please configure var lxc_php_version
|
msg: Please configure var lxc_php_version
|
||||||
when: lxc_php_version is none
|
when: lxc_php_version is none
|
||||||
|
|
||||||
- name: "Update APT cache in container {{lxc_php_version}}"
|
- name: "Update APT cache in container {{ lxc_php_version }}"
|
||||||
lxc_container:
|
lxc_container:
|
||||||
name: "{{ lxc_php_version }}"
|
name: "{{ lxc_php_version }}"
|
||||||
container_command: "apt-get update"
|
container_command: "apt-get update"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Evolix
|
author: Evolix
|
||||||
description: Creation of LXC Containers
|
description: Creation of LXC Containers
|
||||||
|
|
||||||
issue_tracker_url: https://gitea.evolix.org/evolix/ansible-roles/issues
|
issue_tracker_url: https://gitea.evolix.org/evolix/ansible-roles/issues
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue