GithubHelp home page GithubHelp logo

luckylittle / ansible-role-create-user Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 10 KB

ansible-role-create-user

License: MIT License

ansible ansible-role create-user passwordless public-key rhel ssh sudo sudoers user

ansible-role-create-user's Introduction

ansible-role-create-user's People

Contributors

luckylittle avatar

Watchers

 avatar  avatar  avatar

ansible-role-create-user's Issues

ansible-lint and yamllint cosmetic fixes

  • ansible-lint:
yaml: wrong indentation: expected 6 but found 4 (yaml[indentation])
.travis.yml:12

yaml: no new line character at the end of file (yaml[new-line-at-end-of-file])
.travis.yml:29

role-name: Role name create-user does not match ``^[a-z][a-z0-9_]+$`` pattern.
meta/main.yml:1

schema: {'galaxy_info': {'author': 'Lucian Maly <[email protected]>', 'description': 'Add user to a brand new RHEL system for use with Ansible', 'company': 'Red Hat', 'license': 'MIT', 'min_ansible_version': '2.12.2', 'platforms': [{'name': 'Fedora', 'versions': [36]}, {'name': 'EL', 'versions': [8]}], 'galaxy_tags': []}, 'dependencies': []} is not valid under any of the given schemas (schema[meta])
meta/main.yml:1  Returned errors will not include exact line numbers, but they will mention
the schema name being used as a tag, like ``playbook-schema``,
``tasks-schema``.

This rule is not skippable and stops further processing of the file.

Schema bugs should be reported towards (https://github.com/ansible/schemas) project instead of ansible-lint.

If incorrect schema was picked, you might want to either:

* move the file to standard location, so its file is detected correctly.
* use ``kinds:`` option in linter config to help it pick correct file type.


yaml: wrong indentation: expected 4 but found 2 (yaml[indentation])
meta/main.yml:31

yaml: wrong indentation: expected 6 but found 4 (yaml[indentation])
meta/main.yml:33

yaml: wrong indentation: expected 6 but found 4 (yaml[indentation])
meta/main.yml:36

no-changed-when: Commands should not change things if nothing needs doing.
tasks/main.yml:9 Task/Handler: 2.0 | main.yml | Set user password

risky-shell-pipe: Shells that use pipes should set the pipefail option.
tasks/main.yml:9 Task/Handler: 2.0 | main.yml | Set user password
  • YAMLlint:
./.travis.yml
  12:5      error    wrong indentation: expected 6 but found 4  (indentation)
  29:61     error    no new line character at the end of file  (new-line-at-end-of-file)

./defaults/main.yml
  15:81     error    line too long (85 > 80 characters)  (line-length)

./meta/main.yml
  1:1       warning  missing document start "---"  (document-start)
  21:81     error    line too long (84 > 80 characters)  (line-length)
  25:81     error    line too long (84 > 80 characters)  (line-length)
  26:81     error    line too long (85 > 80 characters)  (line-length)
  31:3      error    wrong indentation: expected 4 but found 2  (indentation)
  33:5      error    wrong indentation: expected 6 but found 4  (indentation)
  36:5      error    wrong indentation: expected 6 but found 4  (indentation)
  45:5      warning  comment not indented like content  (comments-indentation)
  45:81     error    line too long (83 > 80 characters)  (line-length)
  46:81     error    line too long (82 > 80 characters)  (line-length)
  49:81     error    line too long (83 > 80 characters)  (line-length)
  53:3      warning  comment not indented like content  (comments-indentation)
  53:81     error    line too long (85 > 80 characters)  (line-length)

./tasks/main.yml
  10:81     error    line too long (83 > 80 characters)  (line-length)

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.