Automate Discourse Docker with Ansible

Thank you, it worked for me using rake admin:create,

Now, I am trying to add this part under RUN: in the app.yml

 - exec:rails r "u = User.create!(username: '{{ discourse_developer_username }}', email: '{{ discourse_developer_emails }}', password: ' {{ discourse_developer_password }}', admin: true)"

but it fails, even when I uncomment:

- exec: rails r "SiteSetting.notification_email='discourse@example.com'"

so how to run a rails command with out going through:

cd /var/discourse 
./launcher enter app
rails r "......." which  it works 

and one more question, how to import theme through command line.