0
votes

I am having trouble configuring email notifications in AWX. I have created this one but it does not work. When making a test this is what I obtain. I have tried changing the file /etc/tower/settings.py in awx_task container and in awx_web container but the result is the same. What is missing here?

I also have a doubt regarding inventories from external sources. It seems that once they are uploaded to AWX it is not possible to select just some of those hosts, because the 'ON' button is restricted like it is shown in the picture. In my case, I have a list of nodes imported from a git repository and I want to run a playbook just in half of them, but I can't do that if I do not change previously the file in the repository, what is really a nuisance. I could create one or more directories to store inventories and playbooks under the Project Base Path and there use git pull to update them, but is there any other option?

Thank you very much in advance.

1

1 Answers

0
votes

Smart inventory is what you may want to look into. Another way may be to set template to ask for which nodes to run on ' limit ' option. If you give more examples of what you are trying to achieve, it will be easier to give a more specific answer.