(item=init_parameters) => {"ansible_loop_var": "item", "changed": false, "item": "init_parameters", "skip_reason": "Conditional result was False"}
am getting above error when running playbook
$ ansible-playbook test8.yml
PLAY [database-servers] **
TASK [Gathering Facts] ***
ok: [hostname]
TASK [Set parameters] ****
[DEPRECATION WARNING]: evaluating set_init as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
skipping: [hostname] => (item=init_parameters)
(item=init_parameters) => {"ansible_loop_var": "item", "changed": false, "item": "init_parameters", "skip_reason": "Conditional result was False"} am getting above error when running playbook $ ansible-playbook test8.yml PLAY [database-servers] **
TASK [Gathering Facts] *** ok: [hostname]
TASK [Set parameters] **** [DEPRECATION WARNING]: evaluating set_init as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. skipping: [hostname] => (item=init_parameters)
PLAY RECAP *** hostname : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
test8.yml -> as security reason i have changed the username,password and hostname =======
hosts: database-servers user: osusername vars: oracle_home: /u01/ORACLE/baseDB/product/12.1.0.2/db_1 hostname: hostname service_name: servicename set_init_mode: sysdba set_init_user: sys user: dbuser password: password oracle_env: ORACLE_HOME: "{{ oracle_home }}" LD_LIBRARY_PATH: "{{ oracle_home }}/lib"
set_init: False restart_db: False init_parameters: