File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 17
17
validate_certs : " {{ ntfy_self_check_validate_certificates }}"
18
18
register : ntfy_self_check_result
19
19
check_mode : false
20
- ignore_errors : true
21
20
delegate_to : 127.0.0.1
22
21
become : false
23
22
Original file line number Diff line number Diff line change 60
60
user add --role={{ item.admin | ternary("admin", "user") }} {{ item.username }}'
61
61
loop : " {{ ntfy_credentials }}"
62
62
when : item.username in users_to_add
63
- ignore_errors : true
64
63
no_log : true # suppress the output which includes credentials
65
64
66
65
- name : Write ntfy users passwords
76
75
user change-pass {{ item.username }}'
77
76
loop : " {{ ntfy_credentials }}"
78
77
when : item.username in existing_users
79
- ignore_errors : true
80
78
no_log : true # suppress the output which includes credentials
81
79
82
80
- name : Write ntfy users roles
92
90
with_items : " {{ ntfy_credentials }}"
93
91
loop : " {{ ntfy_credentials }}"
94
92
when : item.username in existing_users
95
- ignore_errors : true
96
93
no_log : true # suppress the output which includes credentials
97
94
98
95
- name : Identify users to delete
111
108
user del {{ item }}'
112
109
loop : " {{ users_to_delete }}"
113
110
when : users_to_delete | length > 0
114
- ignore_errors : true
You can’t perform that action at this time.
0 commit comments