From 94af2ae6a652e4d120505df43950419c8a423d26 Mon Sep 17 00:00:00 2001 From: Sergio Nemirowski Date: Wed, 20 Jul 2022 18:22:04 +0300 Subject: [PATCH] replace double quotes with single quote wherever possible Signed-off-by: Sergio Nemirowski --- defaults/main.yml | 10 +++++----- tasks/main.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index cd032bd..381f50f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,11 +1,11 @@ --- -# User and group for neo-go to run and own files -neogo__user: 'neo-go' -neogo__group: 'neo-go' - # Instance name to have multiple neo-go nodes on the same host -neogo__instance: "" +neogo__instance: '' + +# User and group for neo-go to run and own files +neogo__user: "neo-go{{ neogo__instance }}" +neogo__group: "neo-go{{ neogo__instance }}" # Directory for configuration files and wallets neogo__conf_dir: "/etc/neo-go{{ neogo__instance }}" diff --git a/tasks/main.yml b/tasks/main.yml index bff9118..9ef534d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,6 @@ --- -- ansible.builtin.include_tasks: 'user.yml' +- ansible.builtin.include_tasks: user.yml - name: Create configuration directory parent ansible.builtin.file: @@ -18,11 +18,11 @@ group: "{{ neogo__group }}" mode: '0750' -- ansible.builtin.include_tasks: 'binary.yml' +- ansible.builtin.include_tasks: binary.yml -- ansible.builtin.include_tasks: 'wallet.yml' +- ansible.builtin.include_tasks: wallet.yml -- ansible.builtin.include_tasks: 'tls.yml' +- ansible.builtin.include_tasks: tls.yml - name: Copy NeoGo config ansible.builtin.template: