mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
3ca6e8525e
* initial development of homectl module
* botmeta
* fix some linting
* Update .github/BOTMETA.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* use array form of run_command
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* added mofifying user record and cleaned up based on comments
* added updating records/multiple changes regarding options, examples doc, return doc
* add integration tests and more overall improvements
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* removed modify handle within present
* adding more options and better checking of user records when updating
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/system/homectl.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add code review changes
- remove unsafe_shell with run_command.
- use dict.pop() in user_metadata dict.
- consistent quoting to single quotes.
- change logic to determine check mode better
- fix integration tests and added check_mode tests
* Fix handling of mount opts
When a user is created without mountopts homed will use nodev and nosuid
by default, however the user record metadata will not contain these
values. This commit takes extra care that correct value is being set to
true or false. So if a user gives mountopts with just nodev we need to
make sure the nosuid and noexec gets set to false, etc. If mountopts are
same as currently in user record make sure nothing would be changed and
outputs correctly.
Also fixed some tests.
* change fmethod modify_user to prepare_modify_user_command
* Code review fixes and add existing user pw checking
- Added methods to check existing users password is correct by comparing
the hash stored in homed user record and the hash of given password
- Updated integration tests for above case
- Added aliases file so CI can run
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit
|
||
---|---|---|
.. | ||
aix_devices.py | ||
aix_filesystem.py | ||
aix_inittab.py | ||
aix_lvg.py | ||
aix_lvol.py | ||
alternatives.py | ||
awall.py | ||
beadm.py | ||
capabilities.py | ||
cronvar.py | ||
crypttab.py | ||
dconf.py | ||
dpkg_divert.py | ||
facter.py | ||
filesystem.py | ||
gconftool2.py | ||
homectl.py | ||
interfaces_file.py | ||
iptables_state.py | ||
java_cert.py | ||
java_keystore.py | ||
kernel_blacklist.py | ||
launchd.py | ||
lbu.py | ||
listen_ports_facts.py | ||
locale_gen.py | ||
lvg.py | ||
lvol.py | ||
make.py | ||
mksysb.py | ||
modprobe.py | ||
nosh.py | ||
ohai.py | ||
open_iscsi.py | ||
openwrt_init.py | ||
osx_defaults.py | ||
pam_limits.py | ||
pamd.py | ||
parted.py | ||
pids.py | ||
puppet.py | ||
python_requirements_info.py | ||
runit.py | ||
sap_task_list_execute.py | ||
sefcontext.py | ||
selinux_permissive.py | ||
selogin.py | ||
seport.py | ||
shutdown.py | ||
solaris_zone.py | ||
ssh_config.py | ||
sudoers.py | ||
svc.py | ||
syspatch.py | ||
sysrc.py | ||
sysupgrade.py | ||
timezone.py | ||
ufw.py | ||
vdo.py | ||
xfconf.py | ||
xfconf_info.py | ||
xfs_quota.py |