Selaa lähdekoodia

worker base setup

master
vanhempi
commit
d35e4a5a5e
1 muutettua tiedostoa jossa 25 lisäystä ja 0 poistoa
  1. +25
    -0
      tasks/main.yaml

+ 25
- 0
tasks/main.yaml Näytä tiedosto

@@ -1 +1,26 @@
---

- name: pip3 packages for buildbot-worker
pip:
name:
- buildbot-worker
executable: pip3

- name: buildbot-worker group
group:
name: "{{ buildbot_worker_group }}"

- name: buildbot-worker user
user:
name: "{{ buildbot_worker_user }}"
group: "{{ buildbot_worker_group }}"
home: "{{ ez_directory }}"
shell: /usr/bin/fish

- name: buildbot-worker home directory
file:
path: "{{ buildbot_worker_home_directory }}"
owner: "{{ buildbot_worker_user }}"
group: "{{ buildbot_worker_group }}"
state: directory
mode: u=rwx,g=rwx,o=

Loading…
Peruuta
Tallenna