add conditional to config section
This commit is contained in:
parent
0d8c436e79
commit
44b46cc060
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG RELAYHOST SMTP] Config relayhost smtp"
|
||||
import_role:
|
||||
name: config-relayhost-smtp
|
||||
name: config-relayhost-smtp
|
||||
when: relay-host_enabled is defined and relay-host_enabled
|
|
@ -15,3 +15,4 @@
|
|||
- name: "[CONFIG REPO VN] Add-repos-vn"
|
||||
import_role:
|
||||
name: config-repo-vn
|
||||
when: repo-vn_enabled is defined and repo-vn_enabled
|
||||
|
|
|
@ -15,3 +15,4 @@
|
|||
- name: "[CONFIG SECURE GRUB] configure secure grub"
|
||||
import_role:
|
||||
name: config-secure-grub
|
||||
when: secure-grub_enabled is defined and secure-grub_enabled
|
||||
|
|
|
@ -15,3 +15,4 @@
|
|||
- name: "[CONFIG SERVER TYPE] Install guest side"
|
||||
import_role:
|
||||
name: config-server-type
|
||||
when: server-type_enabled is defined and server-type_enabled
|
||||
|
|
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG SUDOERS] Config sudoers"
|
||||
import_role:
|
||||
name: config-sudoers
|
||||
name: config-sudoers
|
||||
when: sudoers_enabled is defined and sudoers_enabled
|
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG TZDATA] Set timezone"
|
||||
import_role:
|
||||
name: config-tzdata
|
||||
name: config-tzdata
|
||||
when: tzdata_enabled is defined and tzdata_enabled
|
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG UPDATE] Config update"
|
||||
import_role:
|
||||
name: config-update-and-upgrade-packages
|
||||
name: config-update-and-upgrade-packages
|
||||
when: update_enabled is defined and update_enabled
|
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG VIM OPTIONS] Config vim options"
|
||||
import_role:
|
||||
name: config-vim-options
|
||||
name: config-vim-options
|
||||
when: vim-options_enabled is defined and vim-options_enabled
|
|
@ -14,4 +14,5 @@
|
|||
|
||||
- name: "[CONFIG ZABBIX AGENT] Install and configure ZABBIX AGENT"
|
||||
import_role:
|
||||
name: config-zabbix-agent
|
||||
name: config-zabbix-agent
|
||||
when: zabbix-agent_enabled is defined and zabbix-agent_enabled
|
Loading…
Reference in New Issue