Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure user and group is string #65

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading