Giter VIP home page Giter VIP logo

ansible-role-fule's People

Contributors

spreadcat avatar

Watchers

 avatar

ansible-role-fule's Issues

[BUG] Not creating structure in existing directory

Description

Given is an empty Git repository, only containing one file:

$ ls -la
.
..
.gitignore
.git

If fule is configured to create an Ansible role in this directory, it will not do it since it is checking for the
existence of the directory, not of any files inside of it.

Appending the ansible-galaxy command with the parameter --force has the effect of eradicating the Git repository,
but creating the file structure instead.

Resolution

  1. Check for the existence of anything other than just the main directory. /tasks/main.yml is required by every role
    and could be a candidate.
  2. Create the role somewhere else and copy the files into the filesystem, possibly without overwriting existing files?

[FEA] Add gitlab-ci.yml

Description

It should be possible to define and add a gitlab-ci.yml CICD file from the start.

Warnings for jinja2 in when and loop variables

Description

When running the fole there appear at least two warnings:

  • [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ fule_role_name | regex_search('^[a-z]+[a-z0-9]?\.[a-z]+[a-z0-9_]?$', ignorecase=True) is not none } for
    Requirements | Verify the role name is syntactially correct]
  • [WARNING]: TASK: spreadcat.fule : Main | Include variable files: The loop variable 'item' is already in use. You should set the loop_varvalue in theloop_control option for the task to something else to avoid variable collisions and unexpected behavior. in Main | Include variable files]

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.