aboutsummaryrefslogtreecommitdiff
path: root/roles/ssh-port-fwd-user/tasks
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
committerheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
commitf0386e1619ca5fe768972c2d835f998f5f6fed39 (patch)
tree39b1b1e207c3c9c51ba826224b8b74f7ebcbdb9d /roles/ssh-port-fwd-user/tasks
parenta529d1f47572e240118c453d87f06ddde1232e65 (diff)
downloadansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.tar.gz
ansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.zip
standardized booleans
Diffstat (limited to 'roles/ssh-port-fwd-user/tasks')
-rw-r--r--roles/ssh-port-fwd-user/tasks/main.yaml6
1 files changed, 3 insertions, 3 deletions
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'