As part of my Ansible playbook I down and install an RPM from an internal repository. This RPM comes packaged with a bunch of configuration. For most of my machines I don't need to change this configuration. However for a small subset, defined by an ansible group, I need to modify a few of the configuration fields.
I'm assuming I would need to do something like so: 1. Wait till my RPM is installed and "running" 2. Stop the service 3. Modify the configuration file somehow? Use a when clause to limit it to the group I want to modify. 4. Restart the service Or possibly there is a better way to achieve to do this. Can anyone out there suggest how I could achieve my general goal? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3faadec9-91b1-46a5-8c61-976c5626e687%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
