Hi all,

ansible --version
ansible 2.7.7


I'm not sure if  it's a bug?

I'm creating a system user & group without home directory and 
--disabled-login but in the /etc/passwd , it's showing as home directory 
created but it doesn't exist.

Playbook:

- name: Create sonarqube group
  group:
    name: sonarqube
    system: yes
    state: present
- name: Create sonarqube user account
  user:
    name: sonarqube
    group: sonarqube
    create_home: no
    system: yes
    state: present
    password: '!'

cat /etc/passwd
sonarqube:x:998:998::/home/sonarqube:/bin/sh

cat /etc/group
sonarqube:x:998:

cat /etc/shadow
sonarqube:!:18305::::::

ls -l /home/sonarqube
ls: cannot access '/home/sonarqube': No such file or directory

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ec030af5-235c-4168-a2b9-4a4d72469665%40googlegroups.com.

Reply via email to