Skip to content

Commit

Permalink
v
Browse files Browse the repository at this point in the history
  • Loading branch information
yiskaneto committed Jun 13, 2024
1 parent b7e26de commit 5a8470a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ You can update an existing installation by providing the `jenkins_admin_username
## If run locally:
time ansible-playbook main.yaml -e @<path to>/jenkins_credentials.yaml --ask-vault-pass -i "$(hostname -i)", -b -K --connection=local
```

1. I a specific version of Jenkins is needed then pass the following environmental variables to the command:

```bash
-e "jenkins_package_state=present jenkins_version=<version>"
```
4 changes: 2 additions & 2 deletions main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# - localhost
jenkins_plugins_state: present # Change this to 'latest' to update plugins if newer versions are available.
jenkins_options: "" ## See: https://www.jenkins.io/doc/book/installing/initial-settings/
# jenkins_admin_username: admin
# jenkins_admin_password: admin
jenkins_admin_username: admin
jenkins_admin_password: admin
jenkins_plugins:
- credentials
- matrix-auth
Expand Down

0 comments on commit 5a8470a

Please sign in to comment.