-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNN IdP in group_vars #350
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# institute metadata | ||
site_name: UNN IdP | ||
host_institute: | ||
name: University of Nigeria | ||
url: http://www.unn.edu.ng | ||
|
||
# LDAP variables | ||
server_country: NG | ||
server_state: | ||
server_location: Nsukka | ||
server_organization: NGREN | ||
server_organization_unit: UNN | ||
ldap_server: ldap.grid.unn.edu.ng | ||
root_password_clear: HiPIC#17 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move this variable (and all others) to passwords-{{ site_name }}.yml (e.g. passwords-unn.yml). This is pulled in dynamically by the playbook. You should encrypt those passwords with ansible-vault, or leave them out of the repo entirely. |
||
sgw_admin: [email protected] | ||
|
||
# institute metadata | ||
host_institute: | ||
name: University of Nigeria Nsukka | ||
url: http://www.unn.edu.ng | ||
|
||
organisation: | ||
name: UNN | ||
logo: unnlogo.jpg | ||
|
||
mail_contact: [email protected] | ||
# IDP variables. these are specifically related to the IdPOpen Web front end. | ||
idp: | ||
name: UNN IdP | ||
admin_user: Collins Udanor | ||
admin_email: [email protected] | ||
metadata_url: https://{{ hostvars[groups['shibboleth-idps'][0]]['ansible_fqdn']}}/idp/shibboleth | ||
mail_server: | ||
header_logo: Logo.jpg |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
slack: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Revert the changes in this file - they are incorrect. |
||
domain: africa-arabia-roc.slack.com | ||
token: 6EJfIMngdMiwrmnScAA4znB5 | ||
msg: "Starting site playbook on {{ site_name }} ( including {{ inventory_hostname }})" | ||
msg: "Starting site playbook on {{ University of Nigeria}} ( including {{ Identity Provider }})" | ||
channel: "#devopssite" | ||
username: "Ansible on site {{ site_name }}" | ||
#icon_url: "http://www.example.com/some-image-file.png" | ||
username: "Ansible on site {{ hipic-idp}}" | ||
icon_url: "http://www.unn.edu.ng/wp-content/uploads/2015/10/logo_name.png" | ||
link_names: 0 | ||
parse: 'none' | ||
|
||
|
@@ -36,7 +36,7 @@ | |
vars_files: | ||
- roles/common/vars/distros/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml | ||
- roles/common/vars/middleware/IGTF.yml | ||
- group_vars/passwords-{{ site_name }}.yml | ||
- group_vars/passwords-{{ hipic2016 }}.yml | ||
|
||
- name: Deploy site-bdiis | ||
hosts: site-bdiis | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name should not have spaces. Also, it should refer to the site (UNN), not a specific service (IdP). I would change this to lower-case :
site_name: unn