Changeset - 9281920d0c23
[Not reviewed]
0 16 0
Branko Majic (branko) - 7 years ago 2018-11-04 21:20:56
branko@majic.rs
MAR-135: Switch to using run_handlers instead of handlers as variable:

- Updated all roles to now depend on run_handlers being set to True in
order to force execution of handlers.
16 files changed with 16 insertions and 16 deletions:
0 comments (0 inline, 0 general)
roles/backup/tasks/main.yml
Show inline comments
 
@@ -9,9 +9,9 @@
 
    mode: 0600
 
  notify:
 
    - Assemble Duply include patterns
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/backup_client/tasks/main.yml
Show inline comments
 
@@ -135,9 +135,9 @@
 
    group: root
 
    owner: root
 
    mode: 0600
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/backup_server/tasks/main.yml
Show inline comments
 
@@ -163,9 +163,9 @@
 
    mode: 0640
 
  notify:
 
    - Restart ferm
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/bootstrap/tasks/main.yml
Show inline comments
 
@@ -35,9 +35,9 @@
 
    user: root
 
    key: "{{ ansible_key }}"
 
    state: absent
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/common/tasks/main.yml
Show inline comments
 
@@ -448,9 +448,9 @@
 
  when: ntp_servers
 
  notify:
 
    - Restart NTP server
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/database/tasks/main.yml
Show inline comments
 
@@ -15,9 +15,9 @@
 
- name: Enable backup
 
  include: backup.yml
 
  when: enable_backup
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/database_server/tasks/main.yml
Show inline comments
 
@@ -81,9 +81,9 @@
 
    #   subsequent tasks that create databases will end-up with correct (UTF-8)
 
    #   encoding. Otherwise they will be created using default latin1.
 
    - skip_ansible_lint
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/ldap_client/tasks/main.yml
Show inline comments
 
@@ -12,9 +12,9 @@
 
    owner: root
 
    group: root
 
    mode: 0644
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/ldap_server/tasks/main.yml
Show inline comments
 
@@ -321,9 +321,9 @@
 
- name: Enable backup
 
  include: backup.yml
 
  when: enable_backup
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/mail_forwarder/tasks/main.yml
Show inline comments
 
@@ -78,9 +78,9 @@
 
  apt:
 
    name: swaks
 
    state: present
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/mail_server/tasks/main.yml
Show inline comments
 
@@ -304,9 +304,9 @@
 
    mode: 0640
 
  notify:
 
    - Restart ferm
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/php_website/tasks/main.yml
Show inline comments
 
@@ -127,9 +127,9 @@
 
    state: link
 
  notify:
 
    - Restart nginx
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/preseed/tasks/main.yml
Show inline comments
 
@@ -13,9 +13,9 @@
 
    mode: 0640
 
  when: item != "localhost"
 
  with_items: "{{ groups['all'] }}"
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/web_server/tasks/main.yml
Show inline comments
 
@@ -205,9 +205,9 @@
 
    - "{{ php_base_config_dir }}/fpm/conf.d/"
 
  notify:
 
    - Restart PHP-FPM
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/wsgi_website/tasks/main.yml
Show inline comments
 
@@ -323,9 +323,9 @@
 
    #   This specific task is used in order to work around inability of Ansible
 
    #   to provide properly parametrised handlers for reusable roles.
 
    - skip_ansible_lint
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
roles/xmpp_server/tasks/main.yml
Show inline comments
 
@@ -112,9 +112,9 @@
 
    mode: 0640
 
  notify:
 
    - Restart ferm
 

	
 
- name: Explicitly run all handlers
 
  include: ../handlers/main.yml
 
  when: "handlers | default(False) | bool() == True"
 
  when: "run_handlers | default(False) | bool() == True"
 
  tags:
 
    - handlers
0 comments (0 inline, 0 general)