diff --git a/playbooks/controller_config.yml b/playbooks/controller_config.yml index 3d1f342..06f41ec 100644 --- a/playbooks/controller_config.yml +++ b/playbooks/controller_config.yml @@ -87,6 +87,11 @@ name: infra.controller_configuration.organizations when: controller_organizations | length is not match('0') + - name: Include Notification role + ansible.builtin.include_role: + name: infra.controller_configuration.notification_templates + when: controller_notifications | length is not match('0') + - name: Include projects role ansible.builtin.include_role: name: infra.controller_configuration.projects @@ -136,11 +141,6 @@ name: infra.controller_configuration.schedules when: controller_schedules | length is not match('0') - - name: Include Notification role - ansible.builtin.include_role: - name: infra.controller_configuration.notification_templates - when: controller_notifications | length is not match('0') - - name: Include roles role ansible.builtin.include_role: name: infra.controller_configuration.roles diff --git a/playbooks/install_configure.yml b/playbooks/install_configure.yml index 03d3a6a..ca3677d 100644 --- a/playbooks/install_configure.yml +++ b/playbooks/install_configure.yml @@ -162,6 +162,11 @@ name: infra.controller_configuration.organizations when: controller_organizations | length is not match('0') + - name: Include Notification role + ansible.builtin.include_role: + name: infra.controller_configuration.notification_templates + when: controller_notifications | length is not match('0') + - name: Include projects role ansible.builtin.include_role: name: infra.controller_configuration.projects @@ -211,11 +216,6 @@ name: infra.controller_configuration.schedules when: controller_schedules | length is not match('0') - - name: Include Notification role - ansible.builtin.include_role: - name: infra.controller_configuration.notification_templates - when: controller_notifications | length is not match('0') - - name: Include roles role ansible.builtin.include_role: name: infra.controller_configuration.roles