---
- name: Set root password
  user:
    name: root
    shell: "{{ root__shell }}"
    password: "{{ root__password }}"

- name: Setup bashrc for root
  template:
    src: bashrc.j2
    dest: /root/.bashrc
    owner: root
    group: root
    mode: u=r,g=,o=
...