From f0386e1619ca5fe768972c2d835f998f5f6fed39 Mon Sep 17 00:00:00 2001 From: heqnx Date: Mon, 26 May 2025 09:01:56 +0300 Subject: standardized booleans --- roles/ssh-port-fwd-user/tasks/main.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/ssh-port-fwd-user/tasks') diff --git a/roles/ssh-port-fwd-user/tasks/main.yaml b/roles/ssh-port-fwd-user/tasks/main.yaml index 8975cdb..85d7a97 100644 --- a/roles/ssh-port-fwd-user/tasks/main.yaml +++ b/roles/ssh-port-fwd-user/tasks/main.yaml @@ -12,7 +12,7 @@ user: name: "{{ port_fwd_user }}" shell: "{{ port_fwd_shell }}" - create_home: yes + create_home: true password: '*' state: present @@ -42,7 +42,7 @@ copy: src: "{{ ssh_key_dir }}/id_ed25519.pub" dest: "{{ ssh_key_dir }}/authorized_keys" - remote_src: yes + remote_src: true owner: "{{ port_fwd_user }}" group: "{{ port_fwd_user }}" mode: '0600' @@ -79,5 +79,5 @@ src: "{{ ssh_key_dir }}/id_ed25519" dest: "./{{ inventory_hostname }}_{{ port_fwd_user }}_id_ed25519" flat: true - fail_on_missing: yes + fail_on_missing: true mode: '0600' -- cgit v1.2.3