env: MAG_NPROD
www_root: /var/www/html
# The variables file used by the playbooks in the ci-server group.
# These don't have to be explicitly imported by vars_files: they are autopopulated.

# Optional method of pinning a specific version of Jenkins and/or overriding the
# default Jenkins packaging URL.
jenkins_pkg_url: "http://DNS.URL/pub/repo/yum/MCCF"
jenkins_update_url: "http://DNS.URL/pub/repo/jenkins"
jenkins_update_center: ""

#The system hostname; usually localhost works fine. 
#This will be used during setup to communicate with the running Jenkins instance via HTTP requests.
jenkins_hostname: DNS.URL

#The Jenkins home directory which, amongst others, is being used for storing artifacts, workspaces and plugins. 
#This variable allows you to override the default /var/lib/jenkins location.
jenkins_process_user: jenkins
jenkins_home: "/home/{{ jenkins_process_user }}"
jenkins_process_group: "{{ jenkins_process_user }}"

#The location at which the jenkins-cli.jar jarfile will be kept. This is used for communicating with Jenkins via the CLI.
jenkins_jar_location: /opt/jenkins-cli.jar

#The HTTP port for Jenkins' web interface.
jenkins_http_port: 8080
jenkins_https_port: 8443

#Jenkins plugins to be installed automatically during provisioning 
jenkins_plugins: []
jenkins_sync_jobs: true
skip_jobs:
  - MCCF_TAS/jobs/bitbucket_hook_test
  - MCCF_TAS/jobs/branch_deploy_MCCF_TAS_Core
  - MCCF_TAS/jobs/MCCF_TAS_CORE_branch_build
  - MaintenanceTasks/jobs/MCCF_CF_TRM_Compare_task
  - MaintenanceTasks/jobs/scm_sync_test
  - MaintenanceTasks/jobs/jenkins_test_access

#Used for setting a URL prefix for your Jenkins installation. 
#The option is added as --prefix={{ jenkins_url_prefix }} to the Jenkins initialization java invocation, 
#so you can access the installation at a path like http://www.example.com{{ jenkins_url_prefix }}. 
#Make sure you start the prefix with a / (e.g. /jenkins).
jenkins_url_prefix: ""

#Default admin account credentials which will be created the first time Jenkins is installed.
jenkins_admin_username: jenkins_admin
jenkins_admin_password: "{{ jenkins_admin_pwd }}"
jenkins_admin_email: "{{ jenkins_process_user }}@{{ jenkins_hostname }}"

#Mailer Reply-To Address: Address to include in the Reply-To header. 
jenkins_donotreply_email: "PII                   "

#comma separated list  To CC or BCC someone instead of putting them in the To list, 
#add cc: or bcc: before the email address (e.g., cc:someone@example.com, bcc:bob@example.com).
#You may use the $DEFAULT_RECIPIENTS token in projects to include this default list
jenkins_default_recipient_email: "cc: PII               "

#A comma separated list of e-mail addresses to use in the Reply-To header of the email. 
#This value will be available as $DEFAULT_REPLYTO in the project configuration.
jenkins_default_reply_email: "PII               "

jenkins_excluded_plugins: 'hipchat.*,scm-sync-configuration.*'
maven_proxies: []

#set java packages to use different version than the 
# default (OpenJDK 1.8)
java_packages: 
  - java-1.8.0-openjdk-devel

jenkins_default_users:
    jenkins_build:
      email: "PII               "
      perm: [Jenkins.READ]
      fullname: "Jenkins Builduser"
    clach:
      email: "PII               "
      perm: [Jenkins.ADMINISTER]
      fullname: "Cheryl Lach"
    mcordi:
      email: "PII                 "
      perm: [Jenkins.READ,item.READ]
      fullname: "Mike Cordi"
    thoward:
      email: "PII               "
      perm: [Jenkins.READ]
      fullname: "Tony Howard"
    vthompson:
      email: "PII                    "
      perm: [Jenkins.READ,item.READ]
      fullname: "Vernita Thompson"
    vhaactasfpcdnsrtc:
      email: "PII               "
      perm: [Jenkins.READ,item.READ,item.BUILD,item.WORKSPACE,run.REPLAY,view.READ,scm.TAG]
      fullname: "RTC Build Service Account"

jenkins_remove_users:
    - lbenhart
    - dmcallister

jenkins_global_vars:
    - name: NPM_REGISTRY
      value: "{{ npm_registry }}"

    - name: MCCF_PUB_REPO_URL
      value: "{{ mccf_pub_url }}/repo"

    - name: VAULTPASS_PATH
      value: "~/.vault_pass"

    - name: ENV
      value: "{{ env }}"

jenkins_access_keys:
    - {src: 'jenkins-nprod-pri-key' , dest: 'id_rsa', mode: '0600', decrypt: yes }
    - {src: 'jenkins-nprod-pub-key' , dest: 'id_rsa.pub', mode: '0444', decrypt: no }

nodejs_npm_global_packages:
#  # Install a specific version of a package.
#  - name: jslint
#    version: 0.9.3
#  # Install the latest stable release of a package.
#  - name: node-sass
  - name: check-dependencies
    version: '1.1.0'

  - name: selenium-standalone
    version: '6.0.1'

  - name: protractor
    version: '5.1.1'

  - name: grunt
    version: '1.0.1'

  - name: typescript
    version: '2.1.6' 

tas_staging_root: "{{ www_root }}/rtc/tas"
