Code Monkey home page Code Monkey logo

ansible-yarn's Introduction

yarn

Build Status Ansible Galaxy

Set up (the latest version of) Yarn in Debian-like systems.

Requirements

  • software-properties-common (will be installed)
  • dirmngr (will be installed)

Variables

None

Dependencies

None

Recommended

  • ansible-nodejs (see)

Example

---
- hosts: all
  roles:
    - oefenweb.yarn

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

ansible-yarn's People

Contributors

aur1mas avatar tersmitten avatar verschoof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-yarn's Issues

Should the role be capitalized in the example?

The exact text in the example for this role on Ansible Galaxy is:

---
- hosts: all
  roles:
    - Oefenweb.yarn

When I use the above, I get an error: Oefenweb.yarn is not found. If I replace 'Oefenweb' with 'oefenweb' it works fine.

"Failed to update apt cache" due to yarn key issues

The debian yarn key expired and was replaced: yarnpkg/yarn#7866

If this role had been run on a box previously and is now run again, it will fail with the following error:

TASK [oefenweb.yarn : repository | install dependencies (pre)] *******************************************************
task path: /.ansible/roles/oefenweb.yarn/tasks/repository.yml:3
fatal: [FQDN]: FAILED! => changed=false 
  msg: 'Failed to update apt cache: '

install dependencies (pre) fails on ubuntu 16.04: unmet dependencies

TASK [oefenweb.yarn : repository | install dependencies (pre)] ******************************************************************************************************************************************
fatal: [bae-d8-qa-01.baesystems.com]: FAILED! => changed=false 
  cache_update_time: 1568371418
  cache_updated: false
  msg: |-
    '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"     install 'apt-transport-https'' failed: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  rc: 100
  stderr: |-
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  stderr_lines:
  - 'E: Unmet dependencies. Try ''apt-get -f install'' with no packages (or specify a solution).'
  stdout: |-
    Reading package lists...
    Building dependency tree...
    Reading state information...
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     unattended-upgrades : Depends: powermgmt-base but it is not going to be installed
  stdout_lines: <omitted>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.