Author Archives: Roopendra - Page 11

Ansible

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…
Continue Reading
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 then we can't access through $this…
Continue Reading
Verified by MonsterInsights