aboutsummaryrefslogtreecommitdiff
path: root/roles/ssh-port-fwd-user/tasks
diff options
context:
space:
mode:
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'