pfsensible / core

Core modules for managing pfSense firewalls with ansible
GNU General Public License v3.0
200 stars 49 forks source link

Cant renew admin password #33

Closed stefanfluit closed 2 years ago

stefanfluit commented 2 years ago

Hi, is it possible to use this role to edit the default password?

I'm trying to do so:

- name: Change password for admin user
  pfsensible.core.pfsense_user:
    name: "admin"
    descr: "Admin"
    password: "{{ 'PasSw0rd123' | password_hash('bcrypt') }}"
    scope: "user"
    groups: [ 'admins' ]
    priv: [ 'page-all', 'user-shell-access' ]
  when: netgate_configuration

But it doesn't affect the password..

opoplawski commented 2 years ago

You want scope: system for admin.