aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2018-10-04 15:51:04 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2018-10-04 15:51:04 +0200
commit23c0fc8abaca221b2773f1c2677cbcee471a03df (patch)
tree5915cbef95da5da530bff767dbe5c4191cb9a646 /tasks
parentec83672c5e269ba349f74829406aeed87ecd414b (diff)
downloadansible-clever-23c0fc8abaca221b2773f1c2677cbcee471a03df.tar.gz
ansible-clever-23c0fc8abaca221b2773f1c2677cbcee471a03df.tar.zst
ansible-clever-23c0fc8abaca221b2773f1c2677cbcee471a03df.zip
vars: add a clever_syslog_server variable replacing syslog_server
All variables "namespaced" with the role name is helpful to read "client" configurations
Diffstat (limited to 'tasks')
-rw-r--r--tasks/deploy.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/deploy.yml b/tasks/deploy.yml
index 205eb2b..400a79d 100644
--- a/tasks/deploy.yml
+++ b/tasks/deploy.yml
@@ -1,8 +1,8 @@
1- name: Configure Drain 1- name: Configure Drain
2 when: syslog_server is defined 2 when: syslog_server is defined or clever_syslog_server is defined
3 command: clever-set-drain.sh 3 command: clever-set-drain.sh
4 environment: 4 environment:
5 SYSLOG_UDP_SERVER: "{{ syslog_server }}" 5 SYSLOG_UDP_SERVER: "{{ clever_syslog_server | default(syslog_server) }}"
6 CONFIGURATION_FILE: "{{ clever_login_file }}" 6 CONFIGURATION_FILE: "{{ clever_login_file }}"
7 7
8- name: Configure Domain 8- name: Configure Domain