mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 11:00:32 +08:00
Convert jenkins over to use tcp_ports vars.
This commit is contained in:
@@ -6,6 +6,7 @@ security_group: jenkins
|
||||
zone: nova
|
||||
hostbase: jenkins-master-
|
||||
public_ip: 209.132.184.153
|
||||
tcp_ports: [22, 80, 443]
|
||||
root_auth_users: pingou
|
||||
description: jenkins cloud master
|
||||
volumes: ['-d /dev/vdb vol-00000011', '-d /dev/vdc vol-0000002b']
|
||||
|
||||
@@ -39,13 +39,6 @@
|
||||
- name: mount our persistent space
|
||||
action: mount name=/var/lib/jenkins src='LABEL=jenkins' fstype=ext4 state=mounted
|
||||
|
||||
- name: poke firewall holes
|
||||
action: command lokkit {{ item }}
|
||||
with_items:
|
||||
- --service=ssh
|
||||
- --service=https
|
||||
- --service=http
|
||||
|
||||
- name: install pkgs for jenkins
|
||||
action: yum state=installed pkg={{ item }}
|
||||
with_items:
|
||||
|
||||
Reference in New Issue
Block a user