diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-11 11:25:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-11 11:29:23 +0100 |
| commit | 2082acd93778bb9dbdd09448ea2e40b10be4ee9f (patch) | |
| tree | d73285c6897931bdd7a50b7fa8b1d4d56712c043 /ansible/roles/mox | |
| parent | e929b24228c20ac8f983418109da4e116f0eebd3 (diff) | |
ansible sets mox account passwords
Diffstat (limited to 'ansible/roles/mox')
| -rw-r--r-- | ansible/roles/mox/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/mox/tasks/main.yml b/ansible/roles/mox/tasks/main.yml index e975f5a..8f9a9c5 100644 --- a/ansible/roles/mox/tasks/main.yml +++ b/ansible/roles/mox/tasks/main.yml @@ -172,3 +172,11 @@ name: mox enabled: true state: started + +- name: Set account passwords + loop: "{{ mox_accounts }}" + no_log: true + ansible.builtin.command: + cmd: mox setaccountpassword {{ item.name }} + stdin: "{{ item.password }}" + chdir: ~mox |
