WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 16 files changed +212
-4
lines changed
Expand file tree Collapse file tree 16 files changed +212
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - hosts : localhost
3+ name : Make all the hosts jenkins slaves with CVMFS
4+ sudo : true
5+ roles :
6+ - jenkins-slave
7+ - cvmfs
8+ # vars_files:
9+ # - group_vars/passwords-{{ site_name }}.yml
10+ pre_tasks :
11+ - name : Announce the play via Slack
12+ action :
13+ module : slack
14+ domain : africa-arabia-roc.slack.com
15+ token : " {{ slack_token }}"
16+ msg : " Running code-rade build slave :worried: "
17+ channel : " #coderade"
18+ username : " Ansible on {{ inventory_hostname }}"
19+ link_names : 1
20+ parse : ' full'
21+ post_tasks :
22+ - name : Announce via Slack
23+ action :
24+ module : slack
25+ domain : africa-arabia-roc.slack.com
26+ token : " {{ slack_token }}"
27+ msg : " {{ playbook }} on {{ inventory_hostname }} at {{ site_name }} has finished :smile: O/"
28+ channel : " #coderade"
29+ username : " Ansible on {{ inventory_hostname }}"
30+ link_names : 1
31+ parse : ' full'
Original file line number Diff line number Diff line change 1+ ---
2+ # institute metadata
3+ site_name : SSA
4+ host_institute :
5+ name : SSA
6+ url : http://www.ssa.se
7+
8+ # LDAP variables
9+ server_country : SE
10+ server_state : none
11+ server_location : Stockholm
12+ server_organization : TTA
13+ server_organization_unit : SSA
14+ # ldap_server: ldap.se.ampr.org
15+ ldap_server : vm03.ct.infn.it
16+ 17+
18+ # institute metadata
19+ host_institute :
20+ name : SSA
21+ url : http://www.ssa.se
22+
23+ organisation :
24+ name : SSA
25+ logo : dit.jpg
26+
27+ 28+ # IDP variables. these are specifically related to the IdPOpen Web front end.
29+ idp :
30+ name : SSA IdP
31+ admin_user : qasim
32+ 33+ metadata_url : https://{{ hostvars[groups['shibboleth-idps'][0]]['ansible_fqdn']}}/idp/shibboleth
34+ mail_server : smtp.mailgun.org
35+ header_logo : Logo.jpg
36+ cert_CA_certificates :
37+ - COMODORSADomainValidationSecureServerCA.crt
38+ - AddTrustExternalCARoot.crt
39+ - COMODORSAAddTrustCA.crt
Original file line number Diff line number Diff line change 1+ $ANSIBLE_VAULT;1.1;AES256
2+ 61356335623565353265653237623963376231323263356335633838623836343234363039623363
3+ 3330373765623639363934633162656266343965386332660a303439306664393565323233393431
4+ 36376463363361313739656262643538636436386562643963633030356564656538613438623233
5+ 6531613537383739370a396337393662363230626339376231653763336530653562366365646136
6+ 65346565633030623930663036623533336236623530343630343734626364353333376230383936
7+ 62666264343438616130376364383234333038383864623531393936623463356330316532623937
8+ 61313565336661363032323330616232306339373166303832643262346432366538323732613938
9+ 39663564613036376461323631643866656130613264393531396535383038383161383634633239
10+ 38346437303434373631346235363438306136303531393332653831623265663265316461323861
11+ 37643838383564663434633266366538643762313536303535353833626336666136623836396161
12+ 35303932616563333134393135613636383139353034373031353863663662623333346533396437
13+ 38376639623261343862393436656562396262306165613130623764316533366230303064663930
14+ 3339
Original file line number Diff line number Diff line change 11[ldap-servers]
22idp.se.ampr.org needs_certificate=true
3+ #vm03.ct.infn.it needs_certificate=true ansible_ssh_port=4422
34
45[shibboleth-idps]
56idp.se.ampr.org needs_certificate=true min_jvm_size=1024m
6-
7- [identity-all :children]
7+ #vm03.ct.infn.it needs_certificate=true min_jvm_size=1024m ansible_ssh_port=4422
8+ [identity-ssa :children]
89ldap-servers
910shibboleth-idps
1011
1112[Debian-servers:children]
12- identity-all
13+ identity-ssa
1314############################ END #########################
Original file line number Diff line number Diff line change 3434 yum : name='http://mirror.ufs.ac.za/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm' state=present
3535 sudo : yes
3636 sudo_user : root
37+ when : ansible_os_family == 'RedHat'
3738 - name : Ensure that system is up to date (EL)
3839 yum : name=* state=latest
3940 when : ansible_os_family == 'RedHat'
Original file line number Diff line number Diff line change 11---
22- name : ensure that the ROOT directory exists
3+ sudo : true
34 file :
45 path : " {{ tomcat6_webapps}}/ROOT"
56 state : directory
Original file line number Diff line number Diff line change 1+ Role Name
2+ =========
3+
4+ A role to deliver a minimal jenkins slave for the CODE-RADE project
5+
6+ Requirements
7+ ------------
8+
9+ None
10+
11+ Role Variables
12+ --------------
13+
14+ None
15+
16+ Dependencies
17+ ------------
18+
19+ None
20+
21+ Example Playbook
22+ ----------------
23+ - hosts: servers
24+ roles:
25+ - brucellino.jenkins-slave
26+
27+ License
28+ -------
29+
30+ Apache 2.0
31+
32+ Author Information
33+ ------------------
34+
35+ See https://github.com/AAROC/DevOps
Original file line number Diff line number Diff line change 1+ ---
2+ # defaults file for roles/jenkins-slave
Original file line number Diff line number Diff line change 1+ ---
2+ # handlers file for roles/jenkins-slave
Original file line number Diff line number Diff line change 1+ ---
2+ galaxy_info :
3+ author : Bruce Becker
4+ description : A role to deliver a minimal jenkins slave
5+ company : CSIR Meraka Institute
6+ license : Apache-2.0
7+ min_ansible_version : 2.0
8+ platforms :
9+ - name : EL
10+ versions :
11+ - 6
12+ - 7
13+ - name : Ubuntu
14+ versions :
15+ - trusty
16+ - utopic
17+ categories :
18+ - development
19+ - continuousintegration
20+ dependencies : []
You can’t perform that action at this time.
0 commit comments