theforeman.foreman.user – Manage Users
This plugin is part of the theforeman.foreman collection (version 2.2.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install theforeman.foreman.
To use it in a playbook, specify:
New in version 1.0.0: of theforeman.foreman
- name: Create a user theforeman.foreman.user: name: test firstname: Test lastname: Userson mail: [email protected] description: Dr. Test Userson admin: no user_password: s3cret default_location: Test Location default_organization: Test Organization auth_source: Internal timezone: Stockholm locale: sv_SE roles: - Manager locations: - Test Location organizations: - Test Organization state: present - name: Update a user theforeman.foreman.user: name: test firstname: Tester state: present - name: Change password theforeman.foreman.user: name: test user_password: [email protected]