-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Error
TASK [savoirfairelinux.nexus3-oss : Removing (potential) previously declared Groovy script update_admin_password] ***
fatal: [35.165.111.86]: FAILED! => {"changed": false, "connection": "close", "content": "", "date": "Thu, 06 Apr 2017 19:26:22 GMT", "failed": true, "msg": "Status code was not [204, 404]: HTTP Error 401: Unauthorized", "redirected": false, "server": "Nexus/3.2.1-01 (OSS)", "status": 401, "url": "http://localhost:8081/service/siesta/rest/v1/script/update_admin_password", "www_authenticate": "BASIC realm=\"Sonatype Nexus Repository Manager\"", "x_content_type_options": "nosniff", "x_frame_options": "SAMEORIGIN"}
to retry, use: --limit @/Users/suman/Documents/MDL/telkomseligi/infra/nexus/play.retry
PLAY RECAP *********************************************************************
35.165.111.86 : ok=97 changed=34 unreachable=0 failed=1
playbook.yml
---
- name: Nexus
hosts: nexus
user: ec2-user
become: yes
vars:
java_version: 8
nexus_version: '3.2.1-01'
nexus_timezone: 'UTC'
nexus_admin_password: "admin"
nexus_privileges:
- name: all-repos-read
description: 'Read & Browse access to all repos'
repository: '*'
actions:
- read
- browse
- name: company-project-deploy
description: 'Deployments to company-project'
repository: company-project
actions:
- add
- edit
nexus_roles:
- id: Developpers # maps to the LDAP group
name: developers
description: All developers
privileges:
- nx-search-read
- all-repos-read
- company-project-deploy
roles: []
nexus_local_users:
- username: jenkins # used as key to update
first_name: Jenkins
last_name: CI
email: [email protected]
password: "s3cr3t"
roles:
- Developpers # role ID here
nexus_blobstores:
- name: company-artifacts
path: /var/nexus/blobs/company-artifacts
nexus_scheduled_tasks:
- name: compact-blobstore
cron: '0 0 22 * * ?'
typeId: blobstore.compact
taskProperties:
blobstoreName: 'company-artifacts'
nexus_repos_maven_proxy:
- name: central
remote_url: 'https://repo1.maven.org/maven2/'
layout_policy: permissive
roles:
- role: williamyeh.oracle-java
- role: geerlingguy.apache
apache_create_vhosts: no
- role: savoirfairelinux.nexus3-ossRunning on
- AWS EC2 instance
t2.medium
Security group settings
- 80
- 8080
- 8081
- 443
- 22
- 4000
are open to 0.0.0.0
borsboom
Metadata
Metadata
Assignees
Labels
No labels