Ansible Playbook validations

Ansible Playbook validations : While writing ansible playbook sometime we need to validate extra vars parameter or tasks. So that we can run ansible playbook without any fatal error or warning. These are few condition you might validate If specific extra vars parameter are passed then execute some task. extra…

$this vs self in php

$this vs self in php: $this refers to the current object of the class and self refers to the current class itself. $this can not be used inside static function whereas self can be used inside static function. When we need to access static function and reference static member variable…

Merge array recursively in PHP

If you want merge array recursively in php then you can use array_merge_recursive function. It will merge all the array elements having same string keys and it returns the resulting array. Syntax: array array_merge ( array $array1 ) Note :- Values in the input array with numeric keys will be…

New features in PHP 5.6

New features in PHP 1) Variadic functions via ... 2) Argument unpacking via ... 3) Changes in File uploads 4) Importing namespace functions 5) Exponentiation Operator in PHP (**)   1) Variadic functions via ... Currently variadic functions are implemented by fetching the function arguments using func_get_args() . If we…

What’s new in ansible 1.6

Below are the list of new changes , Modules in Ansible Major features/changes: The deprecated legacy variable templating system has been finally removed. Use {{ foo }} always not $foo or ${foo}. Any data file can also be JSON. Use sparingly -- with great power comes great responsibility. Starting file…
TechieRoopSolution for DevOps & Open Source Technology2019