Closed mvdbeek closed 8 years ago
not fixing #130
So what's not working? Same error?
So I did have the same error you reported in #130 with an IFB instance in the [aws] group (meaning proftpd_nat_masquerade: true). I have teared that one down and started a new instance with the changes in this PR, and it went fine. So I'm guessing the changes here are fine,but that in fact we need to implement the restarting mentioned in #133 (not just stopping) of supervisor for older instances.
before starting supervisor for the first time. Otherwise the supervisor process is running without the environmental variables, and if the nat_masquerade option is used (AWS needs this), the restart will fail.
@drosofff On already running instances you would need to do
service supervisor stop
before running the playbook again. I'm out for today, but in the future we can make sure to restart supervisor if there are any changes to the environmental variables.Should fix #130