OpenWISP

[ansible-openwisp2] Show admin password warning only when superuser is first created

The message added in #35 now is always shown, also on subsequent upgrades.

It would be better to show this message only when the superuser is created, we have a variable we can use for this.

so it would be just a matter of adding something like the following change to the debug msg (and testing it to ensure is really is displayed only on first install):

when: '"created" in load_initial_data_result.stdout'

We have a github issue for this task too: https://github.com/openwisp/ansible-openwisp2/issues/42

Task tags

  • yaml
  • ansible
  • git

Students who completed this task

Aarnav Bos

Task type

  • code Code
  • done_all Quality Assurance
close

2017