xoxys.matrix/tasks/prepare.yml
Robert Kaussow ffa258fcd7
All checks were successful
continuous-integration/drone/push Build is passing
remove postgres integration
2019-10-27 15:40:17 +01:00

23 lines
570 B
YAML

---
- block:
- name: Create group '{{ matrix_group }}'
group:
name: "{{ matrix_group }}"
state: present
- name: Create user '{{ matrix_user }}'
user:
comment: matrix
name: "{{ matrix_user }}"
home: "{{ matrix_user_home }}"
group: "{{ matrix_group }}"
groups: "{{ matrix_extra_groups | join(',') }}"
- name: Install dependencies
package:
name: "{{ item }}"
state: present
loop: "{{ matrix_packages_extra + matrix_packages }}"
become: True
become_user: root