Преглед изворни кода

remove worker config from this role

covid-videoplattform
Markus Katharina Brechtel пре 4 година
родитељ
комит
8bcf7799dd
3 измењених фајлова са 0 додато и 47 уклоњено
  1. +0
    -24
      files/systemd/buildbot-worker@.service
  2. +0
    -19
      tasks/worker.yaml
  3. +0
    -4
      vars/main.yaml

+ 0
- 24
files/systemd/buildbot-worker@.service Прегледај датотеку

@@ -1,24 +0,0 @@
# This template file assumes the buildbot master lives in a subdirectory of
# /var/lib/buildbot
# Usage:
# cd /var/lib/buildbot
# buildbot create-master [directory]
# systemctl enable --now buildbot@[directory].service
[Unit]
Description=Buildbot Master
After=network.target

[Service]
User=%i
Group=%i
WorkingDirectory=~
ExecStart=/usr/local/bin/buildbot --verbose start --nodaemon %I
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
#ProtectSystem=full
#ProtectHome=yes
#PrivateDevices=yes
#PrivateTmp=yes

[Install]
WantedBy=multi-user.target

+ 0
- 19
tasks/worker.yaml Прегледај датотеку

@@ -1,19 +0,0 @@
---
- 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=

+ 0
- 4
vars/main.yaml Прегледај датотеку

@@ -28,7 +28,3 @@ buildbot_nginx_vhosts:
proxy_pass http://localhost:8010;
proxy_read_timeout 6000s;
}

buildbot_worker_user: "{{ buildbot_worker_name }}"
buildbot_worker_group: "{{ buildbot_worker_name }}"
buildbot_worker_home_directory: "/home/{{ buildbot_worker_name }}"

Loading…
Откажи
Сачувај