mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-22 12:57:56 +00:00
Change some task names
This commit is contained in:
parent
4e9832408a
commit
f08f7a3940
|
@ -1,6 +1,6 @@
|
||||||
# vim: ft=yaml.ansible
|
# vim: ft=yaml.ansible
|
||||||
---
|
---
|
||||||
- name: Set up MPC players
|
- name: Provision MPC players
|
||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,8 @@
|
||||||
- name: Create user {{ username }}
|
- name: Create user {{ username }}
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ username }}"
|
name: "{{ username }}"
|
||||||
password: "{{ secrets.user_password | password_hash('sha512') }}"
|
password: "{{ secrets.user_password | ansible.builtin.password_hash('sha512') }}"
|
||||||
|
update_password: on_create
|
||||||
groups:
|
groups:
|
||||||
- sudo
|
- sudo
|
||||||
state: present
|
state: present
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
key: "{{ ssh_key }}"
|
key: "{{ ssh_key }}"
|
||||||
exclusive: true
|
exclusive: true
|
||||||
|
|
||||||
- name: Run role mp_spdz
|
- name: Import role mp_spdz
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: mp_spdz
|
name: mp_spdz
|
||||||
become_user: "{{ username }}"
|
become_user: "{{ username }}"
|
||||||
|
|
Loading…
Reference in a new issue