[ansible-project] Re: Ansible Roles - Concept

2022-11-28 Thread samuel....@gmail.com
Hi RG, Here is a solution for that problem which I have used for a long time, maybe before ansible tags were available. tasks/main.yml: - name: include client import_tasks: client.yml when: run_nfs_client is defined - name: include server import_tasks: server.yml when: run_nfs_server

[ansible-project] ansible templating error

2022-11-24 Thread samuel....@gmail.com
Hi, I just encountered a funny problem deploying an ansible role. One of the templates didn't render, and the message was: AnsibleError: template error while templating string: tag name expected. String: Then it showed the *entire template *as the string. This seems to be less than