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

The role not working on Ubuntu 18.04 #6

Open
demon101 opened this issue Jul 1, 2018 · 1 comment
Open

The role not working on Ubuntu 18.04 #6

demon101 opened this issue Jul 1, 2018 · 1 comment

Comments

@demon101
Copy link

demon101 commented Jul 1, 2018

On ubuntu 18.04 mktemp command exist by defaulf.

TASK [martin-v.letsencryptsh : Install required packages]

(item=mktemp) => {"changed": false, "failed": true, "item": "mktemp", "msg": "No package matching 'mktemp' is available"}

@fnord235
Copy link

You could just change the name from mktemp to coreutils (as it is also mentioned in the defaults/main.yml file: Change this when the ones in the target OS are named differently). Hope this helps, as the error still pops up with Ubuntu 20.04, too.

I simply rewrote the tasks/packages.yml file like this:

  • name: Install required packages
    apt:
    pkg:
    • bash
    • curl
    • git
    • grep
    • coreutils
    • openssl
    • sed

(plus deletion of the section under defaults/main.yml)

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

2 participants