Skip to content
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

Minor issue in tutorial 14 - geerlingguy.java is not installed #32

Open
jgorostegui opened this issue Mar 29, 2020 · 0 comments
Open

Minor issue in tutorial 14 - geerlingguy.java is not installed #32

jgorostegui opened this issue Mar 29, 2020 · 0 comments

Comments

@jgorostegui
Copy link

On tutorial 14) Using roles from Ansible Galaxy - Install a Jenkins server geerlingguy.java I've found that role installation is missing.

Executed commands, as shown in the tutorial:

ansible-galaxy install geerlingguy.jenkins
cat hosts
cat jenkins.yaml
ansible-playbook -i hosts jenkins.yaml

Where the last command shows the following error:

ERROR! the role 'geerlingguy.java' was not found in /root/workspace/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/root/workspace

The error appears to have been in '/root/workspace/jenkins.yaml': line 5, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
    - role: geerlingguy.java
      ^ here

One solution could be, changing the role installation step to:

ansible-galaxy install geerlingguy.jenkins geerlingguy.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant