opening buildslave port on taskotron-dev and taskotron-dev-clients
This commit is contained in:
parent
5eee03b50c
commit
a68eab1ee0
3 changed files with 7 additions and 13 deletions
|
@ -16,16 +16,3 @@
|
|||
|
||||
- name: add the buildslave user
|
||||
user: name=buildslave
|
||||
|
||||
- name: add ports for buildslaves (fedora)
|
||||
command: firewall-cmd --permanent {{ item }}
|
||||
when: is_fedora
|
||||
with_items:
|
||||
- --add-port={{ buildslave_port }}/tcp
|
||||
|
||||
- name: add ports for buildslaves (rhel)
|
||||
command: lokkit -p '{{ item }}:tcp'
|
||||
when: is_rhel
|
||||
with_items:
|
||||
- "{{ buildslave_port }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue