i tried to run ice playbook on localhost which is rhel 7.4
here is the complete stdout:
[ec2-user@ip-10-103-159-207 playbooks]$ ansible-playbook -i "localhost," -c local ice-amazon-linux.yml
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will
be removed in version 2.6. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for
dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may
explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
PLAY [Ice] *********************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************
ok: [localhost]
ERROR! vars file vars/{{ ansible_distribution }}.yml was not found
i tried to run ice playbook on localhost which is rhel 7.4
here is the complete stdout:
[ec2-user@ip-10-103-159-207 playbooks]$ ansible-playbook -i "localhost," -c local ice-amazon-linux.yml
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will
be removed in version 2.6. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for
dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may
explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
PLAY [Ice] *********************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************
ok: [localhost]
ERROR! vars file vars/{{ ansible_distribution }}.yml was not found