claranet / ansible-role-users Goto Github PK
View Code? Open in Web Editor NEWConfigure system's users
License: Mozilla Public License 2.0
Configure system's users
License: Mozilla Public License 2.0
It seems to be that the bashrc configuration isn't working
Ex:
vars:
users:
root:
bashrc:
- "alias myalias='mycmd'"
Tasks doesn't seems to be skipped :
TASK [claranet.users : configure_bash | ~root/.bashrc] ******************************************************************************************************************************************************************************[60/1011]
Tuesday 28 September 2021 08:46:00 +0000 (0:00:00.067) 0:00:05.651 *****
ok: [centos]
[root@c9531f5a57bb ~]# grep myalias .bashrc
[root@c9531f5a57bb ~]#
[root@c9531f5a57bb ~]# grep myalias .bashrc
[root@c9531f5a57bb ~]# alias myalias='mycmd'
We can't remove a user
State is not taken into account
Add
state: '{{ state|default("present") }}'
Delete a user that was created with ansible-roles-users
Hi,
We should be able to pass update_password option to avoid changes at every runs
Choices:
"always" ← (default)
"on_create"
Regards
It seems to be that we must set up the following vars :
home: /root
ssh_keys: {}
authorized_keys:
If these vars are empty, we should not have to defined them ?
If home var is required, maybe we should define it to /root for the root user and /home/$user by default for others users ?
Hello,
Here is an issue to talk about users hardening.
I think that we should add this in profile :
shopt -s histappend
readonly PROMPT_COMMAND=”history -a”
readonly HISTFILESIZE
readonly HISTSIZE
readonly HISTCMD
readonly HISTCONTROL
readonly HISTIGNORE
Do you have other suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.