1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-22 04:47:53 +00:00

Change some task names

This commit is contained in:
Sam Al-Sapti 2023-04-18 15:34:11 +02:00
parent 4e9832408a
commit f08f7a3940
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,6 +1,6 @@
# vim: ft=yaml.ansible
---
- name: Set up MPC players
- name: Provision MPC players
hosts: all
gather_facts: true
become: true
@ -8,7 +8,8 @@
- name: Create user {{ username }}
ansible.builtin.user:
name: "{{ username }}"
password: "{{ secrets.user_password | password_hash('sha512') }}"
password: "{{ secrets.user_password | ansible.builtin.password_hash('sha512') }}"
update_password: on_create
groups:
- sudo
state: present
@ -19,7 +20,7 @@
key: "{{ ssh_key }}"
exclusive: true
- name: Run role mp_spdz
- name: Import role mp_spdz
ansible.builtin.import_role:
name: mp_spdz
become_user: "{{ username }}"