From 22f71726d10820d90377b3dbd18d3305d3c1d730 Mon Sep 17 00:00:00 2001 From: Alan Iwi Date: Tue, 6 Aug 2019 10:23:48 +0100 Subject: [PATCH] remove config_type bit fields (set but not used - apparently a legacy from bash scripts) --- group_vars/all.yml | 5 ----- roles/base/tasks/properties.yml | 4 ---- roles/base/templates/config_type.j2 | 5 ----- 3 files changed, 14 deletions(-) delete mode 100644 roles/base/templates/config_type.j2 diff --git a/group_vars/all.yml b/group_vars/all.yml index 4359ece7..6d5e4014 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -113,11 +113,6 @@ security: url: "{{ assets.security }}/esgf_security-{{ versions.security_db }}-py2.7.egg" script: "esgf_security_initialize" -type_bits: - data: 4 - index: 8 - idp: 16 - grid_security: dir: /etc/grid-security cert_dir: /etc/grid-security/certificates diff --git a/roles/base/tasks/properties.yml b/roles/base/tasks/properties.yml index 12df3a19..056ef4b9 100644 --- a/roles/base/tasks/properties.yml +++ b/roles/base/tasks/properties.yml @@ -18,7 +18,3 @@ src: base.properties.j2 dest: "{{ esg.config.dir }}/esgf.properties" -- name: Install config_type - template: - src: config_type.j2 - dest: "{{ esg.config.dir }}/config_type" \ No newline at end of file diff --git a/roles/base/templates/config_type.j2 b/roles/base/templates/config_type.j2 deleted file mode 100644 index 373ccbb9..00000000 --- a/roles/base/templates/config_type.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{{ - (groups['idp'][0]==ansible_nodename)|int * type_bits.idp + - (groups['data'][0]==ansible_nodename)|int * type_bits.data + - (groups['index'][0]==ansible_nodename)|int * type_bits.index -}} \ No newline at end of file