Skip to content

Commit

Permalink
fix: ensure user and group is string
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed Feb 17, 2024
1 parent 8d9293e commit 337413f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: blinklabs
name: cardano
version: 0.1.3
version: 0.1.4
readme: README.md
authors:
- Aurora Gaffney <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions roles/cardano_db_sync/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down
16 changes: 8 additions & 8 deletions roles/cardano_node/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_db_dir }}'
Expand All @@ -28,8 +28,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_topology_dir }}'
Expand All @@ -39,8 +39,8 @@
template:
dest: '{{ cardano_node_topology_file }}'
src: custom-topology.json.j2
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: 0644
register: cardano_topology
when: cardano_node_manage_topology and not cardano_node_p2p_enabled
Expand All @@ -49,8 +49,8 @@
template:
dest: '{{ cardano_node_topology_file }}'
src: custom-p2p-topology.json.j2
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: 0644
register: cardano_topology_p2p
when: cardano_node_manage_topology and cardano_node_p2p_enabled
Expand Down
4 changes: 2 additions & 2 deletions roles/cardano_node_api/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down
4 changes: 2 additions & 2 deletions roles/kupo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down
4 changes: 2 additions & 2 deletions roles/ogmios/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down
4 changes: 2 additions & 2 deletions roles/snek/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down
4 changes: 2 additions & 2 deletions roles/tx_submit_api/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ansible.builtin.file:
state: directory
path: '{{ item }}'
owner: '{{ cardano_node_user }}'
group: '{{ cardano_node_group }}'
owner: '{{ cardano_node_user | string }}'
group: '{{ cardano_node_group | string }}'
mode: '0755'
loop:
- '{{ cardano_node_ipc_dir }}'
Expand Down

0 comments on commit 337413f

Please sign in to comment.