What are the advantages and disadvantages of Ansible?

Hi guys, today we will discuss the advantages and disadvantages of Ansible. Here we will cover the all the components and factor which lead to advantages and disadvantages of Ansible. The Ansible is a free software that provide, formation running, and request based tool that let to arrangement as code. It mechanism on many UNIX systems, and can position both Unix-like systems as well as Microsoft Windows.

What is Ansible?

The Ansible could be a free software system that give, formation running, and request based mostly tool that allow to arrangement as code. It mechanism on several OS systems, and may position each Unix-like systems in addition as Microsoft Windows. It covers its own warm language to label system configuration. The Ansible was written by Michael DeHaan and settled by Red Hat in 2015. The Ansible is agentless, provisionally linking unclearly via SSH or in Windows distant regulative to try to its retailers.

What is the importance of Ansible?

The Ansible is incredibly valued and you’d exaggerate it with the instance once there ar four or 5 net servers to be organized and connected, and once there are over four file servers to be organized and connected. There ar submissions within the net servers and it relates the information servers at the rear. Currently the old-hat state pressures that you just undoubtedly tack these servers and grip them.

Motionless, these servers can have several application notifies. Although the system management likewise as by developers UN agency are developing the applications. Simply to assume, the opposite servers that the cluster has like DNS, NTP, AD, Email, etc.

How Ansible works?

Before we tend to begin understanding Ansible’s operating we must always initial get familiar with the language employed in Ansible.

  • Controller Machine: – The Machine wherever Ansible is connected.
  • Ansible Tasks: – The thanks to be performed by Ansible.
  • Ansible Inventory: – the info of servers to be achieved.
  • Ansible Play: – The Mapping of teams of hosts within the list and tasks to try to to.
  • Ansible Playbook: – The State is distinct, you wish the system to possess. It contains of all plays to be performed of inventory.
  • Ansible Roles: – It helps you to mechanically load connected files, tasks, and Ansible artefacts supported a better-known file structure. Once you cluster your content into roles, it gets simple to share and reusable.
  • Module: – The Predefined commands performed straight on distant hosts

The Ansible is written in python. It will the complete issue by linking distant hosts as expressed within the record file. It takes a thrust device to link to the host and shove out the little programs called Ansible modules that works the plays and tasks clear within the customer’s playbook on top of SSH.

The bulge on that Ansible is connected is that the restrictive node, additionally called the Ansible running node that panels the complete playbooks’ implementation. Once the affiliation, it eliminates modules employed in it.

What are the Advantages and Disadvantages of Ansible?


With such a lot of simplifications, Ansible will sure enough gift several benefits. Allow us to have a better look!

Simple to find out

The foremost mention among benefits of Ansible refers to its simplicity. The simplicity isn’t solely meant for professionals however additionally for beginners. It’s simple to find out, and so, users may learn to use Ansible quickly together with higher productivity. Ansible receives the support of comprehensive and simply explicable documentation.

Therefore, you’ll be able to learn the logic of Ansible operations and therefore the work flow in a very restricted amount. The shortage of a dependency system may imply that Ansible tasks execute consecutive and stop once characteristic a slip-up. As a result, troubleshooting becomes heaps easier, even within the initial stages of learning regarding Ansible.

Easily perceivable Python Language

One of the outstanding benefits of Ansible additionally refers to the language during which it’s written. Python could be a human-readable language and is the idea for Ansible. It provides higher facilities for obtaining up Ansible and running it because of the presence of Python libraries on the bulk of UNIX system distributions by default.

Python could be a extremely ideal various for administration and scripting tasks implying higher quality among engineers and system directors. Another fascinating facet of Ansible is that the facility of Ansible modules which will improve its practicality. The Ansible modules is written in any language. However, the necessary concern, during this case, is that the module ought to come knowledge in JSON format.

No Dependency on Agents

The next necessary addition among the advantages of Ansible refers to its agentless nature. Ansible manages all the master-agent communications through customary SSH or Paradiso module. The Paradiso module could be a Python implementation of SSH2 and is crucial for managing nodes. Therefore, Ansible doesn’t need any sort of agents put in on remote systems for making certain management. As a result, maintenance overheads and performance degradations cut back significantly by large margins with Ansible.

Playbooks square measure written in YAML

The use of Playbooks in Ansible is additionally one more reason for the key benefits of Ansible. Playbooks square measure Ansible configuration files, and therefore the language for writing them is YAML. The fascinating issue, during this case, is that YAML could be a higher various for configuration management and automation.

The superiority of YAML over different formats like JSON makes Ansible higher configuration management and automation tool. Ansible makes it simple to scan and supports comments. Most vital of all, it additionally includes the employment of anchors to reference different things.

Ansible Galaxy

Another notable entry within the Ansible best practices refers to the Ansible Galaxy. Ansible Galaxy could be a portal that acts because the central repository for locating, reusing, and sharing Ansible-related content. the simplest advantage of Ansible Galaxy is within the example of downloading reusable Roles for putting in application or server configuration. The downloads square measure ideal to be used in a very specific user’s playbooks and might contribute well to a rise in preparation speed.


After a transparent reflection on completely different benefits of Ansible, allow us to specialise in the setbacks you’ll be able to encounter with it.

Insufficient programme

The first entry within the disadvantages of Ansible is that the crude programme. Ansible was at the start a command-line solely tool. The primary effort of Ansible at creating a programme was with AWX graphical programme. The opposite part within the UI was the remainder end point that’s meant for easier infrastructure management.

Subsequently, the AWX became the Ansible Tower that may be an internet management UI. Ansible Tower offers visual management options and a team-based work flow instrument. However, the Ansible Tower needs sizeable enhancements. As an example, virtually eighty fifth of tasks that would be completed through the program line may be achieved through the UI.

You could conjointly stumble upon another mention of Ansible disadvantages arising from its UI. The failure of synchronization between the GUI and also the program line will result in conflicting question results. On a general basis, Ansible Tower continues to be within the development stages and will not do everything sort of a command-line interface.

Lack of any Notion of State

Another distinguished mention among the disadvantages of Ansible is that the lack of any notion of state. Ansible doesn’t have any notion of state like alternative automation tools like Puppet. Ansible doesn’t track dependencies and easily executes serial tasks and stops once tasks end, fail, or any error comes.

These traits aren’t ideal for users UN agency need the automation tool to keep up a close catalog for ordering. The catalo will facilitate in reaching a selected state with none influence of changes in environmental conditions. However, Ansible lacks it and presents a formidable disadvantage.

Limited Windows Support

The next distinguished mention among Ansible disadvantages is that the half-built Windows support. Ansible version one.7 supports Windows yet as Linux/Unix nodes. Within the case of Windows, Ansible employs a native PowerShell remoting instead of SSH. As a result, a Linux management machine is obligatory for the management of Windows hosts. The restricted support for Windows in Ansible presents one amongst the formidable setbacks with the configuration management and automation tool.

Ansible doesn’t have expertise

The lack of enterprise support expertise conjointly attracts down the charm of Ansible. Ansible doesn’t have a full-fledged operating expertise with giant enterprises like its competitors, like Puppet and cook (Read: cook vs Puppet). Although Ansible claims the power of enterprise-grade extended support choices, restricted sensible expertise reduces the irresponsibleness of Ansible.

Ansible is unaccustomed the Market

Finally, you’ll be able to note one amongst the foremost common entries in Ansible benefits and drawbacks as a distinguished reversal of Ansible. Ansible is unaccustomed the market, in contrast to its notable competitors. As a result, it doesn’t have an oversized developer or user community. What is more, the new presence of Ansible on the market implies the chances of undiscovered bugs, package problems, and edge eventualities.


On a final note, we will conclude that Ansible provides an easy and powerful package for configuration management and automation. However, Ansible is unaccustomed the market currently and should trot out competition from noted sources. The restricted quantity of documentation associated with Ansible will produce formidable setbacks for learning Ansible.

On the opposite hand, the growing interest in Ansible because of the adoption of Ansible by noted agencies like National Aeronautics and Space Administration may also flip the tables. The various functionalities of Ansible, like provisioning, orchestration, application readying, and security and compliance, show its potential. These capabilities of Ansible will translate effectively into a comprehensive DevOps tool. The long run course for Ansible would rely upon strengthening the benefits of Ansible whereas acting on the setbacks.

Thank you.

Tagged : / / / / / / / / / /

Introduction to Laravel

What is Laravel?

Laravel is a web framework built on PHP. That is, the code that has been done has been coded in PHP. You can use it to create High-End Web Applications, you can create the very best web application using Laravel in it. Laravel follows the architectural pattern of MVC (Model View Controller). Laravel was created by Taylor Otwell.

Advantages of Laravel?

  • Open Source
  • Collection of tools
  • Save Time
  • Improve Productiity
  • Robust and Easy
  • Security of the Application
  • Authentication
  • Routing
  • Templating

Requirements for Learning Laravel

Do You Know

  • HTML
  • CSS
  • JavaScript
  • SQL
  • MVC
  • Composer

Laravel Requirements

  • PHP 7.2.0 or Higher
  • XAMPP (Apache + MariaDB + PHP + Perl)
  • Composer
  • Text/Code Editor- Notepad++, VS Code, ATOM, Brackets
  • Web Browser- Google Chrome, Mozilla Firefox, Edge
Tagged : / / / / /

Advantages and Disadvantages of JavaScript

Advantage of JavaScript

  • Client Side Execution
  • Validation on Browser
  • Easy Language

Disadvantage of JavaScript

  • Less Secure
  • No Hardware Access
  • JavaScript Enable Browsers
Tagged : / / /

What is the importance of HTML in a Website?

Website design process to create a website for planning and updating. Website design includes information architecture, user interface, website structure, website layout, navigation ergonomics, contrast, colors, fonts and more. Design of icons along with imaging.

HTML is one of the most important aspects in website design that should be taken into consideration. HTML coding commands are very simple. In addition, various Internet browsers are designed to make HTML easy to read. Designing a website is not a very difficult task if one follows a systematic process. If the procedures are not followed, it may be more difficult than rocket science.

HTML is for hypertext markup language and is a primary building block for building a website. HTML to create Web pages. HTML elements are represented by the tags. HTML tags identify content elements such as “title”, “title”, “paragraph”, “table”, and so on. The browser does not display the HTML tags, but use them to display the contents of the page.

HTML Tags:

In HTML are tags of three main types; Opening tag, closing tags, and content tags. Each tag has its own individual working methods. All these tags help us to run our programs and documents correctly and without any errors.

The HTML program is started using the tag. This tag indicates that the HTML code or text that is displayed in the browser.

The second tag in any HTML document is the tag. It represents the title tag webpage.

The most important tags; Body tag; Indicates all visible content on the web. It represents all sub-tags to tag web pages.

<P>- This represents the paragraph tag webpage.
<Article>- Indicating that tag, it is an article on the webpage.

<H1> – This tag represents the title; <H2>
represents the subtitles and so proceed.

<B> – defines the bold text.

<I> – Defines the italic text.

<U> – to underline the text on the webpage.

<Table>To create Excel-like tables on the website.

Advantages of using HTML:

  1. helps us show our documents and files to an HTML website.
  2. HTML is a very easy language, so anyone can learn it and do the job.
  3. HTML is an easy language to program. It helps programmers to write code to your website without error and without any mistake.
  4. Free to use HTML and easy to learn.
  5. All browsers support HTML language.
  6. Easy to edit HTML documents.
  7. HTML is light and it is the root of all programming languages.
Tagged : / / /

Static vs dynamic code analysis: Advantages and Disadvantages


What are the advantages and limitations of static and dynamic software code analysis? Maj. Michael Kleffman of the Air Force’s Application Software Assurance Center of Excellence spelled it out.

Static code analysis advantages:

  1. It can find weaknesses in the code at the exact location.
  2. It can be conducted by trained software assurance developers who fully understand the code.
  3. It allows a quicker turn around for fixes.
  4. It is relatively fast if automated tools are used.
  5. Automated tools can scan the entire code base.
  6. Automated tools can provide mitigation recommendations, reducing the research time.
  7. It permits weaknesses to be found earlier in the development life cycle, reducing the cost to fix.

Static code analysis limitations:

  1. It is time consuming if conducted manually.
  2. Automated tools do not support all programming languages.
  3. Automated tools produce false positives and false negatives.
  4. There are not enough trained personnel to thoroughly conduct static code analysis.
  5. Automated tools can provide a false sense of security that everything is being addressed.
  6. Automated tools only as good as the rules they are using to scan with.
  7. It does not find vulnerabilities introduced in the runtime environment.

Dynamic code analysis advantages:

  1. It identifies vulnerabilities in a runtime environment.
  2. Automated tools provide flexibility on what to scan for.
  3. It allows for analysis of applications in which you do not have access to the actual code.
  4. It identifies vulnerabilities that might have been false negatives in the static code analysis.
  5. It permits you to validate static code analysis findings.
  6. It can be conducted against any application.

Dynamic code analysis limitations:

  1. Automated tools provide a false sense of security that everything is being addressed.
  2. Automated tools produce false positives and false negatives.
  3. Automated tools are only as good as the rules they are using to scan with.
  4. There are not enough trained personnel to thoroughly conduct dynamic code analysis [as with static analysis].
  5. It is more difficult to trace the vulnerability back to the exact location in the code, taking longer to fix the problem.
Tagged : / / / / / / / / / / / / / / /

Comparison Between UCC, CLOC, POWERSOFTWARE,EZ-Metrics and Metrixware


Unified CodeCount (UCC) CLOC POWERSOFTWARE EZ-Metrics Metrixware
C/C++, C#, Java, SQL, Ada, Perl, ASP, ASP.NET, JSP, CSS, HTML, JavaScript, VB, and VbScript YES – All ADA, Assembly, ASP, C#, C/C++, CSS, Fortran, IDL, HTML, Java, JavaScript, JSP, Perl, PHP, PL/SQL, PowerBuilder, Python, Ruby, ShellScript, Textfiles, VB6 / VB.NET / VBScript, VHDL, Windows Batch and XML YES ALL
Windows & Linux Linux 2.6.9, Unix, Mac OS X, Windows 9x/Me/XP/Vista, Solaris BOTH Windows, Linux planned but no date Both
Baselines comparison
How the tool manages folder hierarchy changes? The tool tries to match files between two baselines using filenames. As such, two files having the same name in different folder structures can be matched. The tool also detects to match and compare files if the folder is changed while filenames of the files contained in the folder are kept the same. NA No information NA
How the tool manages files which are renamed? Currently, the tool does not handle files renamed. However, if the file is renamed but its content does not change, the tool considers it as a duplicate. NA No information NA
How the tool manages files or block swapping? We have not handled swapping blocks of code yet. If the code is copied from one place to another, it is considered as deleted and added. If files are swapped and its filename does not change, the tool can match and compare them. Available No information Available
What is the algorithm used for line change detection? For comparing between lines, we detect the number of common characters between them and determine whether they are modified or deleted using a threshold. This threshold can be specified through a parameter named –t. For detecting bulk of changed or added code, we implemented our own algorithm for detecting longest common sequences. I am sorry, it is quite complex to be described in this email. We are documenting it in detail, and if you are interested I can send you a copy after it is completed. SLOC, PERL Mod No information NA
GUI & CLI CLI CLI Both but separate products GUI
Provide Qualitative metrics? No. The tool is focused on software size metrics. NO yes but separate product YES
Price Open Source Open Source KEPM (which includes EPM) costs 1,995 USD for a single license or 4,995 for a 5-user license Commericial
Frequency of the releases No information in net Regular One minor/Major release per month or 2 months.
Date of last release December,2009 Apr-10 16-Mar-10
Press on the net Not many reviews available in net Nope
Integration with quality platform Provides different language source for the integration. Nope
Recommend NO Yes No No
Algorithm confidence The total sizing of analyzed source code files in terms the SLOC count contains the highest degree of confidence. However, the sizing information pertaining to the sub classifications (compiler directives, data lines, executable lines) has a somewhat lower level of confidence associated with them.

Misclassifications of the sub classifications of SLOC may occur due to:

(1) user modifications to the UCC tool,
(2) syntax and semantic enhancements to the parsed programming language,
(3) exotic usage of the parsed programming language, and
(4) integrity of the host platform execution environment.

SLOC algorithm with perl string handling features and SPAN mdoules NA
Advantages / Drawbacks / Comments Output not according to our need.
Limited Output Format
Delta is not useful
Low Processing speed
Output according to our need.
Output in many form(CSV, XML, TXT and Mysql)
Delta is useful according to our needs
Fast processing
I tried 30 days trial version. They given web based account/dashboard to add src file and generate output. Which was not functional and could not test it functionality in details. Basic functionality is not working.
Tagged : / / / / / / / / / / / / / / / /

SLOC Tools Comparison | SLOC Tools Differences | SLOC Tools Comparison Table


Tool Open Source – Commercial URL
CAST Commercial www.castsoftware.com
Sonar Open Source www.sonarsource.org
SLOC Open Source -> Commercial http://www.dwheeler.com/sloccount/
RSM Commercial www.msquaredtechnologies.com
LocMetrics Commercial www.locmetrics.com
EZ-Metrics Commercial http://www.jamesheiresconsulting.com/Products.htm
Metrixware Commercial www.metrixware.com
Parasoft (Jtest) Commercial www.parasoft.com/
Squale Open Source www.squale.org/
KODERS Commercial www.koders.com
PRACTILINE www.practiline.com
POWERSOFTWARE Commercial http://www.powersoftware.com/
CLOC Open Source http://cloc.sourceforge.net/
Unified CodeCount (UCC) Open Source http://sunset.usc.edu/research/CODECOUNT/
Tagged : / / / / / / / / / / / / / / /

What is Code Coverage and Why Code Coverage?


What is Code Coverage
Code Coverage is an important measurement in Software Quality Engineering. While Software testing ensures correctness of the applications, a metric is required to track the What is Code Coverage Code Coverage is an important measurement in Software Quality Engineering. While Software testing ensures correctness of the applications, a metric is required to track the completeness and effectiveness of the testing undertaken. Code Coverage helps achieve reliable quality through identifying untested areas of the application.

Why Code Coverage
Software testing is a challenging function. The testers need to ensure complete functional and non-functional correctness of the product. Considering the complex workflows and use cases of modern day applications, the number of unique cases that the software can be used often run into millions, which is not feasible to be covered under testing exercise. The testers thus need to
– While Planning Tests
o Ensure covering all workflows in terms of decision trees in the code
o Ensure covering all data values – by identifying patterns rather covering millions of values
– While testing
o Ensuring the testing is completely exercising the whole application with planned and exploratory tests.

At the end of testing, the decision to stop testing and release the product still remains subjective, based on the presence or absence of bugs, inflow of new bugs, success rate of each test cycle, confidence rating of the testers or users, etc. Whereas the definitive metric of quantifying how much of the application was really tested, is missed.

Code Coverage is measured as quantification of application code exercised by the testing activities. Code Coverage can be measured at various levels – in terms of programming language constructs – Packages, Classes, Methods, Branches or in terms of physical artifacts – Folders, Files and Lines. For Eg. A Line Coverage metric of 67% means the testing exercised 67% of all executable statements of the application. A Code Coverage metric usually is accompanied by Code Coverage Analysis Report – which helps identify the un-tested part of the application code, thereby giving the testers early inputs for complete testing.

Benefits of Code Coverage

  • Objective Indicator of Test Coverage of application code
  • Pointers to uncovered Packages / Classes / Methods / Branches
  • Pointers to uncovered Folders / Files / Lines
  • Drill down to untested part of source code and devise new tests
  • Early Indicator for Testing Quality and Fixing it by adding new tests.
  • Remove redundancy in testing
  • Increased Confidence for Releases

Test Your Test

Typical Emotional Storyboard

  • Write Some code! Happy!
  • Does it work? Sad!
  • Write some test! Happy!
  • Do they really test the code? Sad!
  • Measure the Code Coverage! Happy!

Coverage Measurement

  1. Shows Which line of code are executed
  2. How much of your code is covered by your tests?
  3. Your tests test your product
  4. Coverage testing tests your tests


  • 100%
  • Coverage Ideal
  • Not Always possible
  • Can be expensive to achieve
  • Design for testability

Good: Write more tests
Only way to truly increase code coverage

Excluding Code to boost Coverage

Types of Coverage

  1. Statement Coverage
  2. Branch Coverage
  3. Path Coverage
  4. Loop Path Coverage
  5. Data – driven Code
  6. Complex Conditionals
  7. Hidden Branches

How; – Coverage Tools

  1. Clover
  2. Cobertura
  3. Emma
Tagged : / / / / / / / / / / / / /

Benefits of CVSNT, What are the advantages of CVSNT over CVS ?


Advantages of CVSNT over CVS

Supports authentication via Microsoft Active Directory or SSH (windows only) YES NO
Set enforced protocols allow server to lock out clients connecting over insecure protocols or using insecure/inefficient options. YES NO
Easily remove protocols (without recompile) YES NO
Branch ACLs can be used to restrict access YES NO
LockServer provides file level locking YES NO
More sophisticated / extra triggers available e.g. postcommit. Triggers also available via COM/DLL/.so interfaces YES NO
Supports Unicode files with additional keyword expansion switches YES NO
Efficient storage of binary files using binary deltas YES NO
Extended modules functionality using the modules2 file YES NO
Advanced Reserved Edits and checked commits (supercedes exclusive locking concept) YES NO
Server-side default options (cvsrc) YES NO
CVSROOT/config scripts etc. YES YES
Repository browsing via cvs ls command YES YES
Pluggable server-side diff programs YES NO
Supports Unicode files with additional keyword expansion switches YES NO
Server-side default options (cvsrc) YES NO
UTF-8 (Unicode) Server. YES NO
Multi Lingual filenames suport. YES NO
Rendevous Support YES NO
Binary availability for Windows, Mac OS X, Linux, Solaris, HPUX YES YES
Client support for IBM iSeries (AS/400) OS/400 YES NO
Windows Server
Supports encrypted authentication via SSL (all platforms) YES NO
Configurable with Windows Control Panel YES NO
Compatible with NTFS ACL’s for using permissions based on Windows username or group. YES NO
Triggers also available via COM and DLL interfaces YES NO
Cshdump handler YES NO
Native file access YES NO
Native MSI Installer YES NO
Smart Merge using MergePoint YES NO
Supports Unicode files with additional keyword expansion switches YES NO
“Import-and-go” by optionally turning freshly imported trees into a new sandbox automatically. No more need to purge and do a fresh checkout first YES NO
Version OSX resource fork extensions keyword expansion switches YES NO

Source: Related Website & http://www.cvsnt.org

Tagged : / / / / / / / / / / / / / /