Browse Source

Change "|search" with "is search"

tags/10.0.0^2
Jérémy Lecour 9 months ago
committed by Jérémy Lecour
parent
commit
eded11f88f
9 changed files with 15 additions and 15 deletions
  1. +1
    -1
      elasticsearch/tasks/additional_scripts.yml
  2. +1
    -1
      etc-git/tasks/repository.yml
  3. +1
    -1
      evocheck/tasks/install_local.yml
  4. +1
    -1
      generate-ldif/tasks/main.yml
  5. +1
    -1
      munin/tasks/main.yml
  6. +4
    -4
      mysql-oracle/tasks/utils.yml
  7. +4
    -4
      mysql/tasks/utils.yml
  8. +1
    -1
      nagios-nrpe/tasks/main.yml
  9. +1
    -1
      webapps/evoadmin-web/tasks/user.yml

+ 1
- 1
elasticsearch/tasks/additional_scripts.yml View File

@@ -2,7 +2,7 @@

- include_role:
name: evolix/remount-usr
when: elasticsearch_additional_scripts_dir | search ("/usr")
when: elasticsearch_additional_scripts_dir is search ("/usr")

- name: "{{ elasticsearch_additional_scripts_dir }} exists"
file:


+ 1
- 1
etc-git/tasks/repository.yml View File

@@ -2,7 +2,7 @@

- include_role:
name: evolix/remount-usr
when: repository_path | search ("/usr")
when: repository_path is search ("/usr")

- name: "{{ repository_path }} is versioned with git"
command: "git init ."


+ 1
- 1
evocheck/tasks/install_local.yml View File

@@ -1,7 +1,7 @@
---
- include_role:
name: evolix/remount-usr
when: evocheck_bin_dir | search ("/usr")
when: evocheck_bin_dir is search ("/usr")
tags:
- evocheck



+ 1
- 1
generate-ldif/tasks/main.yml View File

@@ -1,7 +1,7 @@
---
- include_role:
name: evolix/remount-usr
when: general_scripts_dir | search("/usr")
when: general_scripts_dir is search("/usr")

- name: "copy generateldif.sh"
template:


+ 1
- 1
munin/tasks/main.yml View File

@@ -87,4 +87,4 @@

[swap]
user root
when: ansible_kernel | search("-grs-")
when: ansible_kernel is search("-grs-")

+ 4
- 4
mysql-oracle/tasks/utils.yml View File

@@ -2,7 +2,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Scripts directory exists
file:
@@ -95,7 +95,7 @@
name: evolix/remount-usr
tags:
- mysql
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: mysqltuner is installed
# copy:
@@ -121,7 +121,7 @@
name: evolix/remount-usr
tags:
- mysql
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: mysql-optimize.sh is installed
copy:
@@ -192,7 +192,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Install my-add.sh
copy:


+ 4
- 4
mysql/tasks/utils.yml View File

@@ -2,7 +2,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Ensure scripts directory exists
file:
@@ -62,7 +62,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Install mysqltuner
# copy:
@@ -98,7 +98,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Optimize script for MySQL
copy:
@@ -162,7 +162,7 @@

- include_role:
name: evolix/remount-usr
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
when: (mysql_scripts_dir or general_scripts_dir) is search ("/usr")

- name: Install my-add.sh
copy:


+ 1
- 1
nagios-nrpe/tasks/main.yml View File

@@ -46,7 +46,7 @@

- include_role:
name: evolix/remount-usr
when: nagios_plugins_directory | search ("/usr")
when: nagios_plugins_directory is search ("/usr")
tags:
- nagios-nrpe
- nagios-plugins


+ 1
- 1
webapps/evoadmin-web/tasks/user.yml View File

@@ -80,7 +80,7 @@

- include_role:
name: evolix/remount-usr
when: evoadmin_scripts_dir | search ("/usr")
when: evoadmin_scripts_dir is search ("/usr")

- name: "Create {{ evoadmin_scripts_dir }}"
file:


Loading…
Cancel
Save